Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blvckbytes/bukkittestrunner
An ultra simplistic test runner to be used within the bukkit environment.
https://github.com/blvckbytes/bukkittestrunner
Last synced: 21 days ago
JSON representation
An ultra simplistic test runner to be used within the bukkit environment.
- Host: GitHub
- URL: https://github.com/blvckbytes/bukkittestrunner
- Owner: BlvckBytes
- License: mit
- Created: 2023-01-16T03:04:37.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-16T03:06:45.000Z (almost 2 years ago)
- Last Synced: 2023-03-04T10:46:07.933Z (almost 2 years ago)
- Language: Java
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README-X.md
- License: LICENSE
Awesome Lists containing this project
README
# BukkitTestRunner
An ultra simplistic test runner to be used within the bukkit environment.
## Installation
Install this project into your local maven repository and put the jar file in your
server's plugin folder. Then, include this project as a *provided* dependency to the
project you're looking to run tests on.```xml
me.blvckbytes
BukkitTestRunner
0.1
provided
```
## Implementation
Implement the class `ITestable` on the class you're extending `JavaPlugin` (the main plugin class).
## Execution
This plugin will wait for all plugins to load. Once loaded, they're iterated and checked for the implementation
of the `ITestable` interface. If the plugin implements it, it's tests get ran and a report is being generated
at `BukkitTestRunner/reports/.txt`. After this process, the server is shut down immediately, in order
to tell the server orchestrating software (if applicable) that the tests are fully executed and done.