1 May 2019
This talk will cover the full gamut of automated testing from pure unit tests to full end to end testing. I will explain why testing is important, the various kinds of test and how they fit into the test pyramid. You will see practical examples of unit testing in C# using one of the more popular assertion libraries and mocking frameworks. I'll show a similar kind of unit test in Angular and explain why unit testing in angular is more complex and can in some instances be considered integration testing. I'll explain about code metrics and how to use code coverage tools to ensure your that riskiest areas of code are tested. Finally, I will show full end to end tests in both Angular and C# and describe some of the most common pitfalls.