10.automated Testing Vs Manual Testing
10.automated Testing Vs Manual Testing
1 10 10 10
2 10 0 20
3 10 0 30
4 10 0 40
5 10 0 50
1. Manual Tests take more Effort and Cost more than Autom
ated Test to write and run
2. Manual Testing is boring
3. Automated Tests are reusable
4. Manual Tests provide limited Visibility and have to be Rep
eated by all Stakeholders
5. Automated Tests can have varying scopes and can test si
ngle units of code by Mocking the dependencies
6. Automated tests may require less complex setup and tear
down
• Solution
Spend time during First Release to freeze / design / implement -
• A Code Repository structure that incorporates Unit Tests and Function
al Tests
• A CI Server integrated with the release
• Unit Testing Framework (any xUnit framework)
• Functional Testing Tools (Sahi / Watir / Selenium / QTP etc)
• Code Coverage Tools (Clover)
• Testing guidelines and principles
Designate Responsibility
• Each developer MUST write Unit tests for multiple use cases per unit
• Designate a specific Developer to write Functional Tests
• The developer who writes the tests is also responsible for organizing t
hem, committing them and linking them in CI
• Don’t give up
If you come across a hurdle, pair
Make sure you complete your testing responsibility
• Check Code Coverage
Use code coverage tools while coding and post-coding to check pa
rts of your code that are covered by tests
• Unit Tests
Ideally do not cross class boundaries
Definitely do not cross process-boundaries
Write a unit test with multiple cases
• Functional Tests
UI Tests using specific tools (Watir / Selenium / QTP / White etc)
Tests one layer below the UI (Using APIs)