Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.