Closed bhusareakshay closed 4 years ago
This is great. In order to specify profile, users need to use the "-P" option. For example, I just ran:
mvn test -P integration-test
Strangely, it seems that when I run explicitly in terminal, e.g.
mvn test -P integration-test
it runs a little slower than running the same tests using IDEA as the test runner. Any ideas how we can pick a particular profile for IDEA to use? OK, I've figured it out. You need a profiles.xml file. I will post one here.
I've added the profiles.xml file but now I'm not so sure that it works the way I thought. Anyway, I think we need one.
…nit and integration tests as per the profile specified while running maven commands. By default "dev" profile is considered which runs only unit tests. Also added my processor speed.