The document discusses strategies for increasing test automation, noting that 100% walkaway automation is not achievable. It recommends evaluating current test coverage, identifying weaknesses, and setting SMART goals. Specific areas to focus on include unit tests, feature tests, system tests, build automation, and deployment automation. Manual testing should focus on presentation while automation handles repetition. The overall goal is to increase testability, reliability and reduce manual intervention and defects over time.
3. 100% walkaway automation
Walkaway
Runs unattended
Doesnt need maintained
Doesnt break
Fails fast when it does
You know exactly what went wrong
Its easy to fix
5. 100% walkaway automation
It aint gonna happen.
100% walkaway automation is an ideal
How do you work towards a goal thats not achievable?
Thats not S.M.A.R.T.
Dont let the perfect be the enemy of the good
Dont use it as an excuse to procrastinate
6. 100% walkaway automation
What can I do now?
Evaluate where you are
Identify weak points
Pick low hanging fruit
Make a plan
Set S.M.A.R.T. goals
Short , medium, long term
7. 100% walkaway automation
Where are you now?
Unit tests
Integration tests
System tests
Builds
Deployments
Requirements coverage
10. 100% walkaway automation
Step away from the GUI
Its brittle
Its too high level
Isolate the system
Use fakes
Test features at the feature level
11. 100% walkaway automation
Apps are like Ogres
Big, green, and smelly
No, layers
Isolate concerns
What is your testing perspective?
12. 100% walkaway automation
UI tests are fragile
The UI changes frequently
Layers of abstraction
Too much maintenance
Feedback is not instant
13. 100% walkaway automation
What should you
automate?
Repetitive
Slow
Error-prone
Automate if it is faster than doing it manually
14. 100% walkaway automation
Unit Tests
Code coverage
Are they really unit tests?
Mock dependencies
Design for testability
Architecture
Components
15. 100% walkaway automation
Feature Tests
Test the feature
Isolate the system
Use fakes
Describe the feature
Tests as documentation
16. 100% walkaway automation
System Tests
Stable environment
Stable tests
Real (or nearly real) data
For testing the whole system
Not end-to-end unit tests
20. 100% walkaway automation
Build Automation
Works for me
Anyone should be able to checkout and run
It should build on GO agents
It should be clear why it fails
Know your dependencies
tools , scripts, environment variables, data
23. 100% walkaway automation
Lets put the D
back in TDD
Test Driven Development
Write the tests first
Anyone should be able to test
It doesnt have to be 100% automated yet
24. 100% walkaway automation
Lets put the D
back in BDD
Behavior Driven Design
Product should own acceptance criteria
Business can help write tests
Tests should express a users needs
25. 100% walkaway automation
User Stories
Are about the user
Tell a story
Have a plot
with conflict and resolution
Not just Gherkin unit tests
26. 100% walkaway automation
Test Harnesses
Make developers write the code
Define the requirement
What are your inputs?
How do you check expected results?
27. 100% walkaway automation
Who you gonna call?
SETs
Evaluate your test certification goals
Write test harnesses & tools
Embed on your team
Short term
Help make code testable
Teach test automation practices
Editor's Notes
What do I mean by 100% walkaway automation?
100% Automation
100% walkaway
100% of the time
Anyone can run it
Anyone can maintain it
Anyone can add to it
100% walkaway automation is an ideal.
How do you work towards a goal thats not achievable?
Thats not S.M.A.R.T.
Dont let the perfect be the enemy of the good.
Dont use it as an excuse to procrastinate.