vendredi 1 février 2019

Setting up run configurations to run a specific test class with specific tags

I'm trying to run a specific test class in Intellij. Once I setup my configuration to run the test class I would like to limit which tags in that class it runs. Is there a way to run tagged tests from only one class through intellij's run configurations?

I want to have tags "integration" and "production" and only run the integration tagged tests in that class through intellij.

I've tried running the class and adding the tags. I've tried running test kind "tags" and setting it up to point to the specific class but get errors or it doesn't find just that class.

I expect to run tests from a single class with the tags I tell it to run.

Aucun commentaire:

Enregistrer un commentaire