How Do I Run JUnit Tests From the Command Line?

Profile Picture

Henrique Sa

OP
Admin
@riquelds.bsky.social
3 days ago

I have JUnit tests in src/test/java, but running mvn test doesn’t detect them. Do I need a plugin or a naming convention for test classes?

java oop error-handling