Releases: planetlevel/jot
Releases · planetlevel/jot
JOT can now fail test cases when a sensor fires
The big new feature is that you can now use JOT to fail a test case if a sensor fires. This means you can use JOT to enforce development policies in a very developer-friendly way. For example, to fail any tests that cause a native process to be started, you can use a banned-methods JOT like this...
- name: "banned-methods"
description: "Fails any JUnit tests that cause banned methods to be invoked"
methods:- "java.lang.ProcessBuilder."
- ....
scopes: - "org.junit.platform.commons.util.ReflectionUtils.invokeMethod"
exception: "Banned methods are prohibited by Security Directive 27B/6"
We also updated the open source libraries used by JOT.
Initial public release - feedback requested
Initial public release of JOT. All major functionality works. Outstanding items include:
- test cases
- support for OSGI
- separate logging vs System.out
- a system for handling many JOTs