130 likes | 143 Views
http://flic.kr/p/ edctkJ. System Testing. So you ’ re doing test-driven development – is it enough?. From the news!. So you ’ re doing test-driven development – is it enough?. Probably not. For one, TDD emphasizes unit tests, but what happens when you stick the units together?.
E N D
http://flic.kr/p/edctkJ System Testing
So you’re doing test-driven development –is it enough? Probably not. For one, TDD emphasizes unit tests, but what happens when you stick the units together?
System Testing • Hook everything together • Test it “end to end” • Treat system like a black box • Use real-world scenarios • Focus on functionality • What the customer asked for!
Developer Testing • Developers know too much • Can’t put themselves in the users shoes • Especially never system test your own code • It’s your baby
Tester Testing • Dedicated testers bring fresh perspective • More motivated to find bugs
System Testing + Iterative Development • Two parallel iterations • Bugs found by testers logged, scheduled in future iterations • Moving target makes testing a challenge • Communication key!
Principle: The key to most problems you’ll run into in software development is COMMUNICATION.When in doubt, TALK to your team, other teams, and your customer.
Other possible ways to coordinate testing Test iteration at the end Alternate dev/testing iterations What are pros/cons of these?
Tips for Effective Testing • Document tests • Do tests the same each time • Establish success criteria • When can system go live? • Automate where possible • Involve the customer • Users always find problems the best testers miss
What’s next? • Next class: Exam 2!