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.