binkley / modern-java-practices

Modern Java/JVM Build Practices
Other
933 stars 69 forks source link

Validate integration tests and their documentation #452

Open binkley opened 4 months ago

binkley commented 4 months ago

Validate the configuration for Gradle and Maven for integration tests (calling "main" as a program, and validating the console output). Research unit vs IT tests, and clarify the tests and the documentation.

ApplicationTest.java is in the "integrationTest" directory tree, and ApplicationIT.java is in the "test" tree. Either this is backwards, or they need consolidating.

Note the remark in the wiki page:

Caution: This project duplicates ApplicationIT.java and ApplicationTest.java reflecting the split in philosophy between Gradle and Maven for integration tests. Clearly in a production project, you would have only one of these.

In any case, the naming feels backwards, or needs explaining.