Session -Better Unit Testing by Example
Jan 10 04-04:55 PM
Add to Calendar01/10/2018 04:00 PM01/10/2018 04:55 PMUS/EasternAutomationGuild: Mike TalksBetter unit testing by examplehttps://guildconferences.com/sessions/aguild-2018-live/GuildConferences|TestTalks[email protected]falseMM/DD/YYYYaGacryWmNznTjfYhLmeK29175
Everyone has heard of the test automation pyramid – you should have lots of unit test automation, and less user interface tests at the top. But a lot of places are still struggling with this. Typically in reality we have more UI tests than unit ones – the “ice cream cone” reality.In this session we’ll examine a couple of scenarios, and work to build a better unit test framework. We’ll take code which has unit testing in it which isn’t that great, and apply some principles to make it better.The key take homes will be:* Unit testing is fast* Everything starts with the design – we’ll look at how the code is written can aid or hamper testing* Unit testing ideally should be simple, not elaborate, ideally testing only one thing per test.