You know what I see quite a lot. Really long-winded test maturity models.
You know what I love to see? Really fast, meaningful ways to build a picture of your teams current state and provoke a conversation about improvement. The excellent test improvement card game by Huib Schoots and Joep Schuurkes is a great example. I also really like 'The Joel Test' by Joel Spolsky, a number of questions you can answer yes or no to to gain insight into their effectiveness as a software development team.
I thought something like this for testability might an interesting experiment, so here goes:
- If you ask the team to change their codebase do they react positively?
- Does each member of the team have access to the system source control?
- Does the team know which parts of the codebase are subject to the most change?
- Does the team collaborate regularly with teams that maintain their dependencies?
- Does the team have regular contact with the users of the system?
- Can you set your system into a given state to repeat a test?
- Is each member of the team able to create a disposable test environment?
- Is each member of the team able to run automated unit tests?
- Can the team test both the synchronous and asynchronous parts of their system?
- Does each member of the team have a method of consuming the application logs from Production?
- Does the team know what value the 95th percentile of response times is for their system?
- Does the team curate a living knowledge base about the system it maintains?
Where each yes is worth one point:
- 12 - You are the masters of observation, control and understanding. Change embraced openly. Way to be.
- 11 - Danny Dainton's Testability Focused Team at NewVoiceMedia - Wednesday 2nd August 2017
- 8-10 - You are doing pretty good. You can change stuff with a reasonable degree of confidence. Could be better.
- Less than 8 - Uh oh. You are missing some big stuff and harbouring serious unseen, unknowable risk. Must do better.
What would you add or take away from this list? If you try it, or a variant of it let me know, I'd be fascinated to hear!
Notes On Each Question
- If everyone actively recoils from change to all or a specific part of the system and there's always a reason not to tackle this. It's a no.
- Everybody should be able to see the code. More importantly a lot of collaboration occurs here. Access for all is part of closeness as a team.
- A codebase generally has hotspots of change. Knowing this can inform what to test, how to test and where observation and control points are.
- Teams have both internal and external dependencies. The testability of dependencies effects your testability. Close collaboration such as attending their sprint planning helps.
- To test a system effectively one must have deep empathy with those who use it. For example if you have internal users you invite them to demo's, for external customers your team is exposed to customer contacts, or dare I say it, even respond to contacts.
- Some tests need data and configuration to be set. Can you reliably set the state of these assets to repeat a test again?
- Sometimes programmers have environments (I hope) to make their changes in something representative of the world. Your testers and operations focused people should have this too to encourage early testing, reduce dependency on centralised environments and setup time of tests.
- If you don't have unit tests, you probably haven't even tried to guess what a unit of your code is. Immediate no. If you do each member should be able to run these tests when they need them.
- Systems often have scheduled tasks which lifts and shifts or replicates data and other operations which occur on demand. Can you test both?
- Its important that all teams members can see below the application, so we aren't fooled by what we see. If you don't have an organised logging library which describes system events you should get one, plus eventually some form of centralisation and aggregation. Or just use syslog.
- If you don't know this you either haven't been able to performance test, gather data for analysis, or realised that you can analyse your performance data without outliers. Either way you probably know little about what your code does under load or where to start with tuning.
- Documentation. I know you are agile and you thought it was part of your waterfall past. To be fair, this is anything that describes your system, a wiki, auto generated docs, anything. If someone wants to know what something does, where do you go? Only the source code alone is a no for this one. Your team has many members, not that many Product Owners can read code.
The post is absolutely perfectly explaining the need of improvison of tests and teams need to ensure to qualify the test and produce some good quality results to be considered.
ReplyDeleteIf some one wishes expert view concerning running a blog after that i advise him/her to pay a quick visit this web site, Keep up the pleasant job.
ReplyDelete바카라사이트
성인야설
립카페
횟수 무제한 출장
타이마사지
DJ Cracked with Keygen /download360.net/dj-music-mixer-pro-crack/full download has the power to arrange your track collection and group them easily during a DJ-friendly way
ReplyDelete