Date post: | 02-Jul-2015 |
Category: |
Technology |
Upload: | vytautas-butkus |
View: | 420 times |
Download: | 0 times |
● What is unit testing?● Approaches● Why is it needed?● Downside of unit testing● Testing reasons● How do we do testing?
● Unit○
● Testing○
● What is unit testing?● Approaches● Why is it needed?● Downside of unit testing● Testing reasons● How do we do testing?
Test Driven Development (TDD)Code CoverageTest Driven Bug Fixing
● What is unit testing?● Approaches● Why is it needed?● Downside of unit testing● Testing reasons● How do we do testing?
● Code design (When doing TDD)○
○
● Maintainability○
○
● Provides documentation○
● Allows to “share” development (with less fear)○
○
● What is unit testing?● Approaches● Why is it needed?● Downside of unit testing● Testing reasons● How do we do testing?
● Increased development time● Maintain and fix unit tests● Increased development costs● Steep learning curve
What else?..
● What is unit testing?● Approaches● Why is it needed?● Downside of unit testing● Testing reasons● How do we do testing?
● If code has to do something…○
● If it is difficult to understand how it works…○
● If I allow others to modify my code base…○
● If I find a bug…○
● If I want to have better code quality…○
● What is unit testing?● Approaches● Why is it needed?● Downside of unit testing● Testing reasons● How do we do testing?
● Testing library○
● Additional plugins○
○○
● Automation tools○
○
● Continuous integration○
...to add some test