Classpath is displayed with the following in expected order:
- build/classes/test
- build/resources/test
- build/classes/main
- build/resources/main.
Output of test is:
Test run read: FROM TEST RESOURCES
Same as above.
Classpath sent on java command to execute tests has following in incorrect order:
- build/classes/test
- build/classes/main
- build/resources/main
- build/resources/test
Therefore output is:
Test run read: FROM MAIN RESOURCES