3 ms·
Use a programmer testing framework (e.g. JUnit) even if this is an integration test, even if you're going to "ignore" it later. If you feel the need to create a
by yawz 12y ago
Use a programmer testing framework (e.g. JUnit) even if this is an integration test, even if you're going to "ignore" it later. If you feel the need to create a main() method just to test your code, IMHO, it is a type of code smell and I think this should belong with your programmer tests.