Now, here the confusion starts. I was creating some test cases using Selenium WebDriver with C# and thought of using a testing framework.
My task is to create functional test cases which can later be used for Regression testing of the application; only for the +ve flows, like if a new build come, I will execute that test suite and will see major functionalities like 'creating a user with valid values' is working or not?. So, this is the main purpose of automated test cases to capture +ve flows which can be re-run N number of times.
I started using NUnit + Selenium WebDriver for the same and created few test cases for my first presentation/demo. In the meantime, I contacted a developer who told me he is creating his unit test cases in NUnit. So, I went back to NUnit site whose very first line states that
What Is NUnit?
NUnit is a unit-testing framework for all .Net languages.
Then, I got this blog link over some web search and it confused me totally, as may be asked some questions in presentation. I know it may depend upon how we use this framework but still have queries to clear.
Questions:
- Is NUnit only a Unit testing framework? If Yes, then it means I am creating unit test cases which a developer is already doing. So, my work is not adding any value.
- Can NUnit be used for Functional/Regression testing? If Yes, then
- How it can be used? and
- Why NUnit says it is a unit testing framework?
I may be asked these questions, so need to prepare for the same.