Description
In this course, you will learn:-
- Use the NUnit framework to write simple unit tests in C#.
Syllabus:-
- What is a Unit Test?
- Unit-Testing Frameworks
- First Unit Test
- Running and Debugging Tests in Visual Studio
- Benefits of Unit Testing
- Who should write unit tests and When?
- Programmer's Oath
- Exercise: Degree Converter
- Solution: Degree Converter
- Conclusion
- Outline
- Assert. Introduction
- Assert. Demo
- Arrange-Act-Assert (AAA)
- Running a Test from the Console
- SetUp and TearDown
- SetUp and TearDown on Higher Levels
- Parameterized Tests
- Grouping and Ignoring
- Code Coverage