testing by duncan butler sara stephens. too much to cover
Post on 19-Dec-2015
213 Views
Preview:
TRANSCRIPT
Regression Tests
• Used By QA• Project Managers• Team Leads• Developers• Can be Written by all the above!
WebAii
• Free Framework• Development Canvas• Tests ASPX, Java-script and Silverlight applications
Available At: http://www.artoftest.com
WebAii
Design Canvas
• Makes writing tests easier
• Simply record the actions the user carried out in the browser
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.
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
top related