Presentation is loading. Please wait.

Presentation is loading. Please wait.

Testing by Duncan Butler Sara Stephens. Too much to cover.

Similar presentations


Presentation on theme: "Testing by Duncan Butler Sara Stephens. Too much to cover."— Presentation transcript:

1 Testing by Duncan Butler Sara Stephens

2 Too much to cover

3 Bugs Cost!

4 Types of Testing Regression Tests Integration Tests Unit Tests

5 Regression Tests Used By QA Project Managers Team Leads Developers Can be Written by all the above!

6 Manual Test practices

7 Manual Test DEMO

8 Manual Test

9 Automated Test DEMO

10 WebAii Free Framework Development Canvas Tests ASPX, Java-script and Silverlight applications Available At: http://www.artoftest.com

11 Automated Test DEMO

12 WebAii Its just code! Can be run from Visual Studio, the command prompt and a build script

13 WebAii Design Canvas Makes writing tests easier Simply record the actions the user carried out in the browser

14 Design Canvas Test DEMO

15 TDD The ‘T’ word, that can change the way you think about code.

16 Test Driven Design You are not allowed to write any more test code than is sufficient to fail, and not compiling is failing. You are not allowed to write any production code unless it is to make a failing test pass You are not allowed to write any more production code than is sufficient to pass the one failing unit test.

17

18 Calculator Kata Calculator given an empty string returns zero Calculator given a single number returns that number Calculator given two numbers separated by a ‘,’ returns the sum Calculator given multiple numbers separated by ‘,’ returns the sum Calculator takes a new line as a separator Calculator takes a new separator denoted by a starting “//” followed by a new line

19 TDD Demo DEMO

20


Download ppt "Testing by Duncan Butler Sara Stephens. Too much to cover."

Similar presentations


Ads by Google