I was having a conversation with Michael Bolton (www.developsense.com) and we started to discuss how ET can be incorporated effectively within agile scrums. After a few minutes of chatting Michael suggested that I blog my thoughts on this since it appeared to be a good idea.
So here we have a short article on how we could use ET within a scrum.
The structure of a scrum in my experience is
What you have done?
What you intend to do?
What is stopping you?
In most cases a scrum normally turns into a technical debate – this may not always be the case but it is something that I have experienced. My thoughts are why not use the time in the scrum to the benefit of testers?
Instead of just saying what you have done, tell the story of what charters you have followed and what you have found interesting. Talk about the test ideas you followed and what other test ideas (test coverage?) you have thought about while testing.
The crucial difference is the next part:
Instead of just saying what charters or testing ideas you intend to carry out for the next days work why not start a discussion on what test areas they feel you could be missing – this would involve the programmer, the product owner and any others in attendance at the scrum. Imagine the benefit in using the experience and knowledge of other people on the project to help with your test coverage.
I am sure people could say why not just go and talk to them individually for their ideas? My view is that people are more than likely to bounce ideas off each other and trigger responses in others when they are together as a team rather than as individuals.
I have attempted to do this in my own scrums with mixed success. Sometimes people within the team have pointed out huge areas of coverage that the test team had not even thought about whilst in other cases there has been a muted silence. I feel for this to work depends on the dynamics of the team and how they interact.
The next stage for this experiment would be to try and take the user stories during the planning sessions and open a discussion on test coverage/ideas. I really would like to try to use something like HICCUPPS (http://www.developsense.com/articles/2005-01-TestingWithoutAMap.pdf ) or SFDPOT (http://www.developsense.com/articles/2005-10-ElementalModels.pdf) with all the development team to see if we as a team could improve test coverage.
I know I promised an article on my experience of being coached by Michael Bolton on Exploratory Testing and my discussions with Jon Bach (http://jonbox.wordpress.com/) on managing ET. However I thought I should blog this while it is still in my mind. The article will happen I promise. I just want to wait until I have finished the coaching sessions.
Plus shrinik – I have not forgotten that I will blog an article measuring management with a story. – I hope to put this together sometime in March.
Monday, 15 February 2010
Friday, 5 February 2010
Child’s Play
This article is based upon some thoughts that I have had over the past year while watching my granddaughter playing and learning new things, she will be two years old in April. It is amazing how quickly children of that age learn to do tasks without being taught such as walking, the beginnings of communication and how to play and explore.
I am an exploratory tester and my thinking is how we can as tester harness what children do naturally? Some may say that they do exploratory testing and they feel it is natural. If that is the case why do so many testers have difficulty adapting to exploratory testing and keep falling back to scripted testing?
Peter (unlicensed testers) asks a lot of questions about children and learning in his blog article here: http://007unlicensedtotest.blogspot.com/2009/11/what-do-you-get-if-you-cross-7-month.html
Watching my granddaughter the other day I observed that she was trying to put her trousers on. At first she managed to get both legs into the same leg hole, she noticed that this did not feel right so started again but this time she tried to put both legs into one of the small leg holes and found that this did not work either. After this she then managed to get the trousers the correct way around and one leg in each hole but did not pull them up and ten tried to walk and fell over.
What can we learn from this?
We can see that she tried following different options and observing the results, she then thought she had completed the task but found that it was not really complete. So if we convert this to software testing we can see that she is using heuristics to determine how to do the testing, the trial and error approach. She is using her emotions and feelings that something is not correct and she is doing a lot of noticing, which is something that every good exploratory tester should be doing. There are also examples of mentally noting future areas to test, the fact that when she tried to walk she fell over. The next time she tried to put on her trousers she did manage to pull them all the way up before setting off to walk.
There are many other examples of trial and error that children appear to do when playing. If something does not feel right they will suddenly change the approach to the problem or in some cases they just give up.
What can we learn from children playing? I have observed that this exploring behaviour appears to start diminishing once children start to attend full time school. Why is this so?
Is it because schools start to impose on children their own ethos and standards and re-model children to not take risk?
One of the main elements of testing IMO is the taking of risks.
We all do the ‘Let us try this to see what happens’, ‘Let us try something else and see what happens.’ Many corporations are risk adverse and as such when testers are brought in they have to provide a return on investment (a hot topic on twitter at the moment) so they are less likely to follow a risky approach. Some may argue that exploratory testing is not risky and I would intend to agree with them. However the business world does not seem to afford the time to be able to cope with let us try this and see what happens and then let us try that and see what happens. They require order and structure and no risk.
Children on the other hand when learning and playing do not take risk into account they try and if it does not work try something else and if that does not work they continue trying until they get a result they are happy with. They remain focused on the task at hand but appear to be able to solve problems without the fear of failure.
So what happens as we get older? Why do we lose this ability to explore and learn without fear of failure? It appears to be a natural human instinct that somehow is gradually removed as we get older.
Is it to do with the education system and how they remove the risk factor and make everyone fear failure and taking risks? Do we become institutionalize in to conforming to the known path, to stop asking the probing questions and to stop playing? I am not sure I have the answer to these questions however I am sure as testers there are some valuable lessons we could learn from children and how they explore, learn and play. (Simultaneous learning, test design and test execution)
I wonder if James would not mind if we change the definition of exploratory testing to learn, explore and play?
I think everyone who wants to learn more about exploratory testing should take some lessons from children. Do not be afraid to explore, if you make a mistake learn from the mistake to improve the next time and have fun. Testing should be about having fun and enjoyment it should not be a chore. If it becomes a chore get a different job……
Does anyone have any interesting games for testers? If so I would love to hear from you.
___________________________________
My next blog should be on my experiences of being coached by Michael Bolton and Jon Bach on using and managing Exploratory Testing.
I am an exploratory tester and my thinking is how we can as tester harness what children do naturally? Some may say that they do exploratory testing and they feel it is natural. If that is the case why do so many testers have difficulty adapting to exploratory testing and keep falling back to scripted testing?
Peter (unlicensed testers) asks a lot of questions about children and learning in his blog article here: http://007unlicensedtotest.blogspot.com/2009/11/what-do-you-get-if-you-cross-7-month.html
Watching my granddaughter the other day I observed that she was trying to put her trousers on. At first she managed to get both legs into the same leg hole, she noticed that this did not feel right so started again but this time she tried to put both legs into one of the small leg holes and found that this did not work either. After this she then managed to get the trousers the correct way around and one leg in each hole but did not pull them up and ten tried to walk and fell over.
What can we learn from this?
We can see that she tried following different options and observing the results, she then thought she had completed the task but found that it was not really complete. So if we convert this to software testing we can see that she is using heuristics to determine how to do the testing, the trial and error approach. She is using her emotions and feelings that something is not correct and she is doing a lot of noticing, which is something that every good exploratory tester should be doing. There are also examples of mentally noting future areas to test, the fact that when she tried to walk she fell over. The next time she tried to put on her trousers she did manage to pull them all the way up before setting off to walk.
There are many other examples of trial and error that children appear to do when playing. If something does not feel right they will suddenly change the approach to the problem or in some cases they just give up.
What can we learn from children playing? I have observed that this exploring behaviour appears to start diminishing once children start to attend full time school. Why is this so?
Is it because schools start to impose on children their own ethos and standards and re-model children to not take risk?
One of the main elements of testing IMO is the taking of risks.
We all do the ‘Let us try this to see what happens’, ‘Let us try something else and see what happens.’ Many corporations are risk adverse and as such when testers are brought in they have to provide a return on investment (a hot topic on twitter at the moment) so they are less likely to follow a risky approach. Some may argue that exploratory testing is not risky and I would intend to agree with them. However the business world does not seem to afford the time to be able to cope with let us try this and see what happens and then let us try that and see what happens. They require order and structure and no risk.
Children on the other hand when learning and playing do not take risk into account they try and if it does not work try something else and if that does not work they continue trying until they get a result they are happy with. They remain focused on the task at hand but appear to be able to solve problems without the fear of failure.
So what happens as we get older? Why do we lose this ability to explore and learn without fear of failure? It appears to be a natural human instinct that somehow is gradually removed as we get older.
Is it to do with the education system and how they remove the risk factor and make everyone fear failure and taking risks? Do we become institutionalize in to conforming to the known path, to stop asking the probing questions and to stop playing? I am not sure I have the answer to these questions however I am sure as testers there are some valuable lessons we could learn from children and how they explore, learn and play. (Simultaneous learning, test design and test execution)
I wonder if James would not mind if we change the definition of exploratory testing to learn, explore and play?
I think everyone who wants to learn more about exploratory testing should take some lessons from children. Do not be afraid to explore, if you make a mistake learn from the mistake to improve the next time and have fun. Testing should be about having fun and enjoyment it should not be a chore. If it becomes a chore get a different job……
Does anyone have any interesting games for testers? If so I would love to hear from you.
___________________________________
My next blog should be on my experiences of being coached by Michael Bolton and Jon Bach on using and managing Exploratory Testing.
Tuesday, 26 January 2010
Why Testers do not add Value
This is an article I published internally last year when there was a debate going on about the value of testers within the testing community so I thought would re-publish it here for people to have a read.
___________________
This may seem like a strange statement coming from a tester; however the purpose of this article is an attempt at justifying the need for testers on a project. Financial people might use traditional cost/benefit comparison models when recruiting people for a team or project which may not necessarily be applicable when resourcing testers.
What made me think about writing this article was something I happened to read on the Software Testing Zone website by Debasis Pradhan 1 and from Michael Bolton at the Developsense website .2
There are two comments within these articles that appear to come from a developer’s point of view about the role of testers within software projects.
The first is from Debasis blog:
Software Testing is a worthless process. It does not add any value to the project!
And one from Michael’s blog
But testers don't add value to a project;
These comments made me think about the way testers are perceived on projects and whether or not they really do add any value to a project. This led to researching how accurate these statements were and the production of this article.
The problem I have found when carrying out the research for this article is that the term ‘value’ can have different meanings depending on the context in which it is used.
If I were to ask you what is the value of a gift a loved one gave you who is no longer here?
What value would you put on that item?
In money terms it might not be worth that much but in emotional or sentimental terms, to you, it could be priceless. It is very important when reading this to use the correct context for the meaning of value. For the purpose of this article value will be measured in terms of monetary value otherwise your emotional viewpoint may get in the way of what is being said.
So the definition of value for this article will be:
Value implies monetary value.
If we take a look at a typical upfront project and see where costs are attributed and where value is added it may give a better understanding of the statement.
The first part of a project is the initial design and scope where the architect captures and translates the requirements of the customer in to technical solutions and business requirements. The value of an architect is very clear since they are the people who provide solutions to the questions raised by the business. They ensure that the requirements for the customer are met and what the customer asks for is what will be delivered. Those who work within software development may not agree with the final statement since sometimes features requested are not delivered or changes are made that affect part of the delivery. However in the majority of cases what the customer requires is delivered by the architect.
The project manager will then look at these requirements and sees which has the highest business value at the same time assessing the risk of adding the features before making the decision as to what to develop which will give the maximum value.
These technical solutions, risks and business value are then interpreted by the developers and turned into an actual project so their value can be measured in that they build the project. The developers also fix any problems and solve any issues that may occur either from the customer or the test team.
Marketing then can sell that product or may already have sold the product adding value to the company.
Some may say that testers must add value since they find problems before a product is released and as such stop a project costing more in terms of company reputation and actual monetary cost. This may appear true but testers do not actually provide solutions and fix the problems, this is the role of the architect and the developer.
So what does a tester do within a software project?
Testers look at the project being developed and raise questions and report observations as to what may not be working correctly. They look and report on areas which could cause the most risk and most expense to fix. They give priority to the main problems (defects) within the product.
However the people who fix these problems, act upon the observations and answer the tester’s questions are the ones who add value to a project.
This view is based upon a typical style of software development where all requirements are gathered upfront so what about agile style projects?
It is rather interesting that there are very differing viewpoints on this within the testing world, one side saying that if the testers are working directly with the developers and writing the test cases before the code is written then they are adding value to the project. The other side is saying they may write the test cases but they do not actually do any creative design work and as such do not add any real value to the project. My viewpoint is of the latter if the testers are not actually creating code that will lead to a function that will be used by the user in the live system then they are not adding any real value to the project.
The way in which testers could add actual value to the project when using agile is when they have close working arrangements with the actual customer since they can then suggest or inform the customer that if they did this a different way it would have more benefit. This would still not be intrinsic value unless the tester managed to get the customer to sign up for more work at an additional cost, therefore adding to the value of the project.
To conclude testers do not add intrinsic value to software development project but they prevent deprecation of the project value. If you have a project that a customer is willing to pay five million dollars for and you ship that project with x amount of high level problems. The customer then quite rightly demands the problems be fixed free of charge. Then the value of your project could go down from the initial five million to say four million, losing the company both real money and another value that cannot be measured: ‘your company reputation’.
It should be noted that there is the factor of costs of resource on projects and to keep things very simple I have excluded these other costs when making the above statement. Otherwise you would need to include the cost of equipment, building, utilities and so forth.
With testers on the project the majority of the high level problems would have been caught before being shipped to the customer and as such the value of the project would have been maintained.
Therefore testers do not add value but they certainly prevent value from being lost. It should be noted that no tester can guarantee one hundred percent bug free software. Even companies such as NASA who on the Space Shuttle program had a ratio of 10 testers to 1 developer 4 cannot give that guarantee as demonstrated by the tragic accidents that have occurred! The average ratio in the majority of projects is 1 tester to 3 developers5; therefore value will always be lost in some way from a project.
So remember those whose job it is to resource software development projects never skimp or cut costs by using less testing resources and think that you have saved yourself some money. You might just find that the 1 million dollar project you are working on becomes worthless due to lack of testing resource to ensure the value is maintained.
I will leave you with a view from James Bach, who is a software testing author and one of the main contributors in the software testing field.
‘James Bach suggests, testers help to defend the value that's already there, or help to identify ways in which value may be lacking. Testers raise questions and make observations; the people who make decisions based on those observations are the ones who add value. We help them do that, but we don't do it intrinsically on our own.’ (3)
References:
1 http://software-testing-zone.blogspot.com/2008/10/software-testing-add-value-to-project.html
2 http://www.developsense.com/2008/03/breaking-code.html
3 http://www.developsense.com/2008/10/while-back-i-wrote-post-on-breaking.html
4 http://codeidol.com/other/Software-Estimation/Estimating-Planning-Parameters/21.1-Estimating-Activity-Breakdown-on-a-Project/ (table 21-7)
5 http://www.infoq.com/news/2009/01/tester-to-developer-ratio
______________
Hopefully if I get myself sorted my next article will be about how we can learn to improve how we use exploratory testing from watching how children play and learn.
Thursday, 7 January 2010
Testing Terminology – definition or context?
Hello and Happy New Year
One of my New Year resolutions was to start using twitter more so that I could micro blog some of my thoughts.
One interesting topic that appeared to be going around was one of changing testing definitions and descriptions. This caused quite an animated debate amongst testing twitters.
So I thought I would use more that 140 characters and put across some of my thoughts and views on the subject of testing definitions.
I used to have the view that it was good to have a set of definitions for testing terms such as what is Acceptance testing, What is black box testing etc. The ISTQB has a document for this on their website (www.istqb.org/downloads/glossary-1.2.pdf)
The problem with this glossary is that it applies testing meaning with no context and that is the problem I find with trying to define testing terminology to do so requires context. If I wish to be somewhat controversial I should state that this is the problem I find with the ISEB and ISTQB examinations especially the ISEB foundation level which is based upon multiple choice answers. Some of the questions could in certain situations have multiple answers but ISEB only accept their definitions and do not allow the natural questioning skills of the tester to debate the answer.
For example let us look at the testing term ‘Acceptance Testing’
ISTQB define it as
Formal testing with respect to user needs, requirements, and business processes conducted to determine whether or not a system satisfies the acceptance criteria and to enable the user, customers or other authorized entity to determine whether or not to accept the system.
However if I would add the following context to Acceptance Testing:
The development team requires some form of automated Acceptance testing (Yes Michael I know if you are reading this it should be checking not testing - http://www.developsense.com/2009/08/testing-vs-checking.html) on the build machine before signaling that the build is suitable for release to the testing team
…would the above definition hold true?
One of my New Year resolutions was to start using twitter more so that I could micro blog some of my thoughts.
One interesting topic that appeared to be going around was one of changing testing definitions and descriptions. This caused quite an animated debate amongst testing twitters.
So I thought I would use more that 140 characters and put across some of my thoughts and views on the subject of testing definitions.
I used to have the view that it was good to have a set of definitions for testing terms such as what is Acceptance testing, What is black box testing etc. The ISTQB has a document for this on their website (www.istqb.org/downloads/glossary-1.2.pdf)
The problem with this glossary is that it applies testing meaning with no context and that is the problem I find with trying to define testing terminology to do so requires context. If I wish to be somewhat controversial I should state that this is the problem I find with the ISEB and ISTQB examinations especially the ISEB foundation level which is based upon multiple choice answers. Some of the questions could in certain situations have multiple answers but ISEB only accept their definitions and do not allow the natural questioning skills of the tester to debate the answer.
For example let us look at the testing term ‘Acceptance Testing’
ISTQB define it as
Formal testing with respect to user needs, requirements, and business processes conducted to determine whether or not a system satisfies the acceptance criteria and to enable the user, customers or other authorized entity to determine whether or not to accept the system.
However if I would add the following context to Acceptance Testing:
The development team requires some form of automated Acceptance testing (Yes Michael I know if you are reading this it should be checking not testing - http://www.developsense.com/2009/08/testing-vs-checking.html) on the build machine before signaling that the build is suitable for release to the testing team
…would the above definition hold true?
Thursday, 10 December 2009
A way to improve test coverage?
So here is my first blog on the subject of software testing.
This article is taken from an article I published internally for the company I work for.
I was having a few conversations recently about the way we work within the company and how we appear to get fixated on our own areas and are not really aware of what our colleagues are doing in other areas. I am not saying we are an unsocial set of people rather the opposite that we do talk with each other and exchange pleasantries but rarely do we discuss our projects in detail with other teams.
At the end of the discussions I got thinking how we could improve our testing and at the same time get other project teams the opportunity to interact more,. I came up with an idea which I feel would be interesting to put into practice.
The idea is that one member of a test team, not necessary the test lead, organizes an informal 30 minute discussion to talk about a feature/area they are currently looking to test. They should spend five to ten minutes explaining what it is and five minutes should then be spent on describing the test ideas they have to test that feature area. The rest of the time should then be a general discussion with the group to see if there are any gaps in the tests or add test areas that the person chairing the discussion may have missed. During the discussion part someone should be recording details of what is being said, whiteboard post it notes, video recording, audio recording etc.
The crucial part of this informal chat is that it should involve people from outside the project for example if you are working on the project X you could invite someone from the Project Y and so forth. It does not need to be testers it can be developers and project managers, architects in fact anyone who you feel would like to attend.
One drawback of this idea is that I can see people saying they have not got the time to attend a session since they are too busy. However on every project you are in someway involved in reviews regardless if it is code, test or requirements hence my thinking of making sure the sessions are very short so that really they could be done over a coffee break. Think of the brown bag sessions but even shorter.
I think the benefits of using this could be quite large, not just from the perspective of what can be measured such as new test ideas uncovered and defects found but what cannot be measured. The things that can not be measured are items like people within the company from different projects working together and talking together building up product knowledge outside their normal domain, the building of stronger links between projects and the thought of being able to help fellow colleagues.
One thought to think of if you are approached and asked to attend one of these sessions is……
I may learn something new to today if I attend…..
This for your own personal development is always a good thing.
One thought that came up after I wrote the above article was that it might not just apply to testing but to any area within software development.
I was having a few conversations recently about the way we work within the company and how we appear to get fixated on our own areas and are not really aware of what our colleagues are doing in other areas. I am not saying we are an unsocial set of people rather the opposite that we do talk with each other and exchange pleasantries but rarely do we discuss our projects in detail with other teams.
At the end of the discussions I got thinking how we could improve our testing and at the same time get other project teams the opportunity to interact more,. I came up with an idea which I feel would be interesting to put into practice.
The idea is that one member of a test team, not necessary the test lead, organizes an informal 30 minute discussion to talk about a feature/area they are currently looking to test. They should spend five to ten minutes explaining what it is and five minutes should then be spent on describing the test ideas they have to test that feature area. The rest of the time should then be a general discussion with the group to see if there are any gaps in the tests or add test areas that the person chairing the discussion may have missed. During the discussion part someone should be recording details of what is being said, whiteboard post it notes, video recording, audio recording etc.
The crucial part of this informal chat is that it should involve people from outside the project for example if you are working on the project X you could invite someone from the Project Y and so forth. It does not need to be testers it can be developers and project managers, architects in fact anyone who you feel would like to attend.
One drawback of this idea is that I can see people saying they have not got the time to attend a session since they are too busy. However on every project you are in someway involved in reviews regardless if it is code, test or requirements hence my thinking of making sure the sessions are very short so that really they could be done over a coffee break. Think of the brown bag sessions but even shorter.
I think the benefits of using this could be quite large, not just from the perspective of what can be measured such as new test ideas uncovered and defects found but what cannot be measured. The things that can not be measured are items like people within the company from different projects working together and talking together building up product knowledge outside their normal domain, the building of stronger links between projects and the thought of being able to help fellow colleagues.
One thought to think of if you are approached and asked to attend one of these sessions is……
I may learn something new to today if I attend…..
This for your own personal development is always a good thing.
One thought that came up after I wrote the above article was that it might not just apply to testing but to any area within software development.
About time.
I was looking around at all the blogs that testers have been running for quite awhile now and thought I should at least attempt to play catch up and start my own blog.
I am not sure how often I will update it but will ty to on a somewhat regular basis with my thoughts and ideas on testing.
Anyway welcome to all that have managed to find their way here I do hope over time to provide some useful information.
I am not sure how often I will update it but will ty to on a somewhat regular basis with my thoughts and ideas on testing.
Anyway welcome to all that have managed to find their way here I do hope over time to provide some useful information.
Subscribe to:
Posts (Atom)