A Checkstyle configuration is provided in the root folder. Use this configuration whenever possible. Moreover the contained Eclipse project's auto formatter is adapted to fit this configuration. Use this, too.
To execute checkstyle you can use ant checkstyle
.
The general coding guidelines are:
for (foo)
).ant doc
to verify that the comments are valid.
// CHECKSTYLE:OFF why this is not an issue
LINES LINES LINES
// CHECKSTYLE:ON
The new BonSAI-core has a lot of more unit tests than the old one. The unit
tests can be executed with ant test
. Please write unit tests
whenever possible. If Cobertura
is installed at your system, you can also use ant coverage
to run
the unit tests and generate a code coverage report. The report will be located
under reports
.