Running Unit Tests
...
The plan going forward includes increasing the size of the unit test suite as well as including more automated functional testing; it is also being considered how to adopt a microservices approach, which may split functionality out into separate projects - along with related tests.
Running a Single Unit Test FIXME
Running just a single unit test is typically accomplished through the IDE. Please consult IDE instructions on how to accomplish that.
Of course, you can run single unit tests through Maven as well:
Code Block |
---|
cd kfs-coremodule mvn test -e -Dtest=PreCommitSuite |
...
Please run the PreCommitSuite unit test within the kfs-core module before submitting a pull request to verify that your code changes do not break standards in the KFS project. The PreCommitSuite has been specifically chosen to represent tests which enforce KFS Financials standards and which run relatively quickly.
...