Closed pehala closed 4 years ago
Do you think about Unit Tests in JAVA kicked of via Maven or something which involves calling the programs via s bash script or similar?
JUnit5 in Java with Maven, so it is run automatically. Core for doing this will be mocking out all the GUI parts since they cannot be properly run on CI and being pain to test. Since the startup code is separated form the GUI part this should be doable
I will try to create some PoC for the tests soon so we can take a look.
Closed via #50.
We should have at least few smoke tests for the functionality we can actually test to make sure the jars will at least run (and won't end with exception due to a missing icon for example). We could also test CLI options as those are pretty easy to test.
Since we probably will internally rewrite a lot of stuff, tests could help us ensure we didn't introduced some kind of regression into the system.