1 / 20

Testing

Testing. by Duncan Butler Sara Stephens. Too much to cover. Bugs Cost!. Types of Testing. Regression Tests Integration Tests Unit Tests. Regression Tests . Used By QA Project Managers Team Leads Developers Can be Written by all the above!. Manual Test. Manual Test. DEMO.

isleen
Télécharger la présentation

Testing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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

  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. 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

  18. TDD Demo DEMO

More Related