lundi 25 juillet 2016

Jamine "explicit" unit test

In the Nunit testing framework for C# there exists the option to mark a unit-test with the annotation [Explicit]. With this option the unit-test is not executed when all unit tests are executed instead this particular unit-test has to be executed manually. The advantage of this as I have experienced it is that you can write heavy performance tests that you will not execute all the time because they might take too long.

My question is whether there exists a similar option for Jasmine 2 in JavaScript. Ideally such that this is recognized by the ide (WebStorm and Visual Studio with resharper).

Because of the C# annotation name "Explicit" I have also used this term in my search but was not successful. I assume there is another term for this kind of unit-test and I would be happy to learn about it.

Aucun commentaire:

Enregistrer un commentaire