lundi 31 août 2015

Is it possible to only run one test class (that leverages PowerMock and Mockito)?

I am currently working on a project (with IntelliJ) with unit tests powered by PowerMock (for mocking final classes), and includes mocks using Mockito. The test suite takes a bit of time to run (via mvn test).

Is it possible to only run one test class (the one I'm working on)? It is a maven project, but I'm happy with any runner.

(If it helps with analogies/examples, I'm coming from a C#/NUnit background).

Aucun commentaire:

Enregistrer un commentaire