nengo-1.4
nengo-1.4 copied to clipboard
Migrate to JUnit4
Right now all our tests are using old-style JUnit syntax. We should upgrade to JUnit4 and start writing tests with the simplified JUnit4 syntax.
It's not necessary to upgrade all our old tests to the new syntax, but it wouldn't take too long.
Another advantage of JUnit4 is the ability to run unit tests in parallel. Could speed up the build process a bit.
All of the old tests have been converted to the new annotation-based syntax in this changeset.
See pull request #365 for the fix.
My next step will be to remove the slower unit tests from typical testing, and include them as part of an integration test package. Can your CI server be altered to include the execution of integration tests? I find the easiest way to do this is either to specify an "integration-test" goal specifically, or to introduce another property that can be detected in the POM which turns on more tests.
Yes, we can modify Jenkins to do this! Using @Categories
or some such, I would think.