Friday, 19 September 2014

Agile testing activity checklist

As the barriers between development and test blur when working in scrum teams and being agile, the testing activities can sometimes be lost.  There may be occasions where there is no testing expertise in a scrum team and the scrum team members struggle to know what to focus on regarding testing activities in their sprint.

Since this was becoming an issue with some of the teams I was involved with, myself and others came up with a testing activities checklist based around Lisa Crispin and Janet Gregory agile testing quadrants.

The rest of this article shows this checklist.  Please feel free to adapt and change this checklist to meet your testing needs in agile scrum teams.  The only caveat I make on this is that if you find it useful please let me know.

Testing Activity Checklist
This is an example template for Scrum teams to use as a checklist for testing activities carried out during a sprint


Sprint Number:
Does the scrum team have any testing expertise
Yes / No 
Has the scrum team done any testing activities in this sprint?
Yes / No 


Unit/Component (Q1)

Check
Response
Comments and Justifications
Do Unit Tests exist?
Yes / No

What is the level of unit test coverage? (Sanity, bad input, edge cases, regression etc.)


What is the quality of the unit tests? (per quality key table below)


% Code coverage and have you met your target %? (Which tool used?)
nn%

Has any state coverage been done?
Yes / No

Zero static analysis violations
Yes / No

All check-ins have code reviews?
Yes / No

All check-ins have unit test reviews?
Yes / No

Are unit tests automated in a CI?
Yes / No

How often are unit tests run? (every check in of development code/nightly/other)


Unit testing added to Definition of Done (DoD) 
Yes / No



Functional (Q2)

Check
Response
Comments and Justifications
Functional tests exist?
Yes / No

Have acceptance test criteria has been reviewed?
Yes / No

What is the coverage of functional tests (See below - coverage key)
0-3

Are functional tests automated?
Yes / No

A CI System is being used for automated system tests?


How often are automated functional tests run? (every check in /nightly/other)


Are functional tests run against latest build?
Yes / No

Has manual functional testing been done (exploratory)?
Yes / No

Functional tests added to DoD 
Yes / No




Coverage (Key)
0
We have no good information about this area
1
Sanity Check: Major Functions & Simple Data
1+
More than sanity, but many functions not tested
2
Common cases: All functions  touched common/critical tests executed
2+
Some data. State or error coverage beyond level 2
3
Corner Cases: Strong data, state, error or stress testing

End to End (Q3)

Check
Response
Comments and Justifications
Has exploratory testing been done? (if not give justification)
Yes / No

How much time has been spent on exploratory testing (number of sessions)
nn

How has exploratory testing sessions been captured (Wiki/other tool)

What is the quality of the acceptance criteria (see below for definition of testing quality)


Acceptance criteria tested
Yes / No

Demo criteria tested
Yes / No

E2E customer tests added to DoD 
Yes / No



Quality Key
**
We know of no problems in this area that threaten to stop go live or interrupt testing, nor do we have any definite suspicions about any
**
We know of problems that are possible showstoppers, or we suspect that there are important problems not yet discovered
**
We know of problems in this area that definitely stop go live or interrupt testing

Non Functional (Q4)

Check
Response
Comments and Justifications
Nonfunctional tests exist
Yes / No

Which types of Non Function Tests exist?
Performance, Reliability, Usability, Stress, Spike, Scalability, Endurance, Volume, and Security (e.g., CSDL)


Yes ? No

Have nonfunctional tests been added to DoD
Yes / No



Testing Activities Definition of Done


Check
Response
Comments and Justifications
Has all DOD criteria been met for each quadrant?
Yes / No

Zero open defects in the sprint
Yes / No

100% of all possible automated  checks running (Unit, Functional / E2E)
Yes / No

100% automation pass rate.
Yes / No

Exploratory testing target met (% possible time spent exploring)
Yes / No

CI Builds are in place
Yes / No

Sprint demos and feedback given.
Yes / No



Testing Quadrant Dashboard
This is a simple checklist dashboard.  It is either green or red, have all the activities listed above for each quadrant been completed.  Yes=Green, No=Red.

Q1
Q2
Q3
Q4
 Green = Met DOD for that Quadrant /  Red = Not met DOD for that Quadrant

I have also uploaded a word document version here so you can adapt and change it to suit your needs.


Postscript:

I will be running a Creative and Critical Thinking workshop in London - Thursday 16th - Friday 17th October 2014















Sunday, 24 August 2014

An Open Letter to Professional Tester Magazine

Dear editors of professional tester magazine

It is not often that I get a strong enough reason to become political and reply to some editorial pieces within a published article.   It is against my better nature to enter into debates which one side attacks another side but unfortunately your recent articles have been on mind for a few days and I feel the need to reply to the following articles on your website.

I feel the only way to express my disappointed is by use of social media, I 'had' a great deal of respect for your magazine and your in-depth reports and wide variety of articles, sadly that has diminished.

My concerns were raised upon the publication of the article about 'Book burners' in relation to the campaign instigated at the CAST conference to 'suspend' the publication of the ISO/IEC/IEEE 29119 software testing standards by means of a petition and enable some open debate on the validity of these standards too the software testing profession. NOTE the wording it says suspend it does not say as your article states 'suppress' which indicates that these people signing the petition wants to "forcibly put an end to." That is not the purpose of the petition. Its' purpose is to allow those who will be impacted by these standards a voice and  input.  That I feel is fair enough for any democratic process and hence why I proud to sign this petition.

Now let me get to the part that really got me annoyed.  The use of the term "Book burners".

  • Did the author of this article understand what this term means?  
  • Did they understand how much of an offensive term this is?
  • Was this term deliberately chosen to ensure controversy?
  • Was the author naive in choosing this term without understanding it meaning?
I have been attempting over the past couple of days to attempt to answers these questions and at one point I felt it was just me being over sensitive. Then the second article was published about 'PT independence is questioned' in which the author appears, to me, to take the higher moral ground and attack some within the testing community for making some assumptions about linkedin and comments being deleted, which they quickly retracted and apologized for once it was understood as a bug within linkedin.  This did not stop the author of the article stating that the comments made were deliberately false and meant to damage the reputation of the magazine.  I can understand how the magazine editors must have felt,  however this was an opportunity for the editors of the magazine to also apologize for their attack on some within the testing community by the use of the term 'book burners', sadly none was forthcoming.

To clarify the term 'book burner' is used against those who are attempting to suppress freedom of speech.
 Book burning can be emblematic of a harsh and oppressive regime which is seeking to censor or silence an aspect of a nation's culture - Wikipedia
Can you as authors of the magazine see the irony of using this term against those who are attempting to make something open and debatable rather than hidden behind closed doors?

Another ironic aspect is that those within the testing community who I engage with are amongst those who read a wide variety of books even those books that they may disagree with.  They are also writers, publishers and authors themselves to so use such a term is so derogatory and offensive to many of these people.

All I ask from this open letter is to acknowledge that using the term 'book burners' just may have been over the top, unjustified and offensive to those with the software testing profession who care about testing. 

To end this on a positive note I do intend to continue reading your magazine and will not encourage anyone to not read it or avoid it, since that serves no purpose.  I look forward to many more great articles from your magazine and hopefully some will be edgy and promote debate so all of those within the testing profession can be encouraged to learn from all the diverse views that this profession has. 

your sincerely

John Stevenson
A professional tester

If you care about the future of software testing please look at signing the petition to get ISO 29119 suspended and enabling a debate on its content by going here - http://www.ipetitions.com/petition/stop29119

Also have a look at the professional tester manifesto here - http://www.professionaltestersmanifesto.org/ and if you agree look at signing this too.