Professional Documents
Culture Documents
Testing Like A Pro
Testing Like A Pro
Software Testing
• Whitebox
• Used to test code behaviour
• Executed by testrunner
• Scope is very small
• For fine-grained technical testing
• Should be part of developer workflow
Recap: Triple A
// Arrange - Setup the code to be used
Dep department = new Dep();
• Graybox
• Used to test behaviour of components working
together
• Executed by testrunner
• Brittle by nature
• Could be part of developer workflow
Integration test example
• Black box
• Automated user (or system behavior) testing
• On the entire system (end to end)
• Executed by testrunner
• Brittle by nature
• Could be part of developer workflow
System test tooling
• Cypress
• Selenium (grid)
Tools: Acceptance testing
• Blackbox
• Used to define functional tests
• Executed by a human tester
• Time-consuming
• For end-to-end user-interaction scenario’s
• Could be part of Sprint Demo
Important tests not yet discussed:
• Test strategy:
– Why you test
– What you test
– How you test
• User acceptance tests
Teacher demos: