I want to test files, for this I have a Java program with different packages.
- "checkFileSize"
- "checkFileLocation"
- and so on
the tests return only true and false (the tests are main classes in the package)
the individual packages are different stages in a gitlab pipe. for example:
- "checkFileSize"
- "checkFileLocation"
the stages run one by one, i.e. if the first "test" fails the runner aborts. otherwise the next stage should run, etc.
is this a good concept? are there already sample programmes for this?
Thanks a lot