dimanche 20 août 2017

What is the NUnit framework lifecycle execution order?

Recently, I added a test project in my ASP.NET MVC project which is based on NUnit Framework (Version 3.7.1.0). I know that there are some attributes in NUnit as well as the other frameworks that we can add them to our class and methods in order to write better Tests cases.

Here are the attributes which introduced by the NUnit documentation:

  • SetUp
  • TearDown
  • TestFixtureSetUp
  • TestFixtureTearDown

I'd like to know the execution order and performance consideration behind the scenes for implementing that.

Aucun commentaire:

Enregistrer un commentaire