View
74
Download
0
Embed Size (px)
Citation preview
Dump unit tests, rapidly “idiot-proof” code
T Ashok Founder & CEO, STAG Software
linkedin.com/in/ashokstag
© 2018, STAG Software, www.stagsoftware.com
2
…that quality of early stage code is not good enough, causing unnecessary rework and time slippage.
Do you agree?
I have observed…
3
… been to enhance rigour on “unit testing”, which more often is challenging to implement.
Then what?
The common action has
4
…unit testing as a burden, as extra work.
They claim that they have done it, but the outcome in terms of quality or effort/time is not very visible.
So, what do we do?
The dev folks see..
5
… really less testing.
It is about “idiot-proofing” the code (new or modified) ensuring that certain type of basic issues are not there in the first place.
WHAT IS REQUIRED IS…
Smart checklists can help here
6
Duh! You don’t need to unit test to find this, right?
7
SMART CHECKLIST ..
is one - that respects you as smart person - gives you hints, not bore you - is crisp and clear in what to do - is quick and painless to use - is not a form to fill & file
Helps you build a better habit!
8
Airline Checklist
9
Can we modify our code building habit to deliver higher code hygiene?
10
2
1
3
11
1
12
2
13
3
14
Seeking interested practitioners for review & feedback & later to trial this.
15
The power of checklists https://www.linkedin.com/pulse/power-checklist-ashok-t/
Design checklists to “Do, Sync & Act” https://www.linkedin.com/pulse/design-checklists-do-sync-act-ashok-t/
Inspired by Atul Gawande’s book “The Checklist Manifesto” here are my two articles that led me to this.