Difference between revisions of "SCRIPT CREEP"

From Test Automation Patterns
Jump to navigation Jump to search
(Created page with "<div id="content_view" class="wiki" style="display: block"><span style="font-size: 14px">.........................................................................................")
 
m (Topic titles in capital letters)
Line 1: Line 1:
 
<div id="content_view" class="wiki" style="display: block"><span style="font-size: 14px">.................................................................................................................[[Main Page]] / Back to [[Process Issues]] / Back to [[Test Automation Issues]]</span>
 
<div id="content_view" class="wiki" style="display: block"><span style="font-size: 14px">.................................................................................................................[[Main Page]] / Back to [[Process Issues]] / Back to [[Test Automation Issues]]</span>
=<span style="font-family: Arial; font-size: 16px">Issue Summary</span>=
+
=<span style="font-family: Arial; font-size: 16px">'''Issue Summary'''</span>=
<br /> <span style="font-family: Arial; font-size: 16px">There are too many scripts and it is not clear if they are still in use or not. </span><br />
+
<span style="font-family: Arial; font-size: 16px">There are too many scripts and it is not clear if they are still in use or not. </span>
=<span style="font-size: 16px">Category</span>=
+
=<span style="font-size: 16px">'''Category'''</span>=
<br /> <span style="font-size: 16px">Process</span><br /> <br />  
+
<span style="font-size: 16px">Process</span>
=<span style="font-family: Arial; font-size: 16px">Examples</span>=
+
=<span style="font-family: Arial; font-size: 16px">'''Examples'''</span>=
<br />
 
 
 
 
# <span style="font-family: Arial; font-size: 16px">It takes so much time to check if a script is already available that testers or automators would rather write a new one instead. This means that there are a lot of very similar scripts.</span>
 
# <span style="font-family: Arial; font-size: 16px">It takes so much time to check if a script is already available that testers or automators would rather write a new one instead. This means that there are a lot of very similar scripts.</span>
 
# <span style="font-family: Arial; font-size: 16px">Nobody "refactors" the scripts so that after a time some fail consistently and are not executed any longer.</span>
 
# <span style="font-family: Arial; font-size: 16px">Nobody "refactors" the scripts so that after a time some fail consistently and are not executed any longer.</span>
 
# <span style="font-family: Arial; font-size: 16px">It isn't possible to check which scripts are actually in use.</span>
 
# <span style="font-family: Arial; font-size: 16px">It isn't possible to check which scripts are actually in use.</span>
<br />
+
=<span style="font-family: Arial; font-size: 16px">'''Questions'''</span>=
=<span style="font-family: Arial; font-size: 16px">Questions</span>=
+
<span style="font-family: Arial; font-size: 16px">How are scripts documented?</span><br /> <span style="font-family: Arial; font-size: 16px">Are there standards regarding naming and documentation?</span><br /> <span style="font-family: Arial; font-size: 16px">Who writes the scripts? Who uses them?</span><br /> <span style="font-family: Arial; font-size: 12pt">Is anyone charged with reviewing the relevance and usefulness of the scripts at regular intervals?</span>  
<br /> <span style="font-family: Arial; font-size: 16px">How are scripts documented?</span><br /> <span style="font-family: Arial; font-size: 16px">Are there standards regarding naming and documentation?</span><br /> <span style="font-family: Arial; font-size: 16px">Who writes the scripts? Who uses them?</span><br /> <span style="font-family: Arial; font-size: 12pt">Is anyone charged with reviewing the relevance and usefulness of the scripts at regular intervals?</span><br /> <br /> <br />  
+
=<span style="font-family: Arial; font-size: 16px">'''Resolving Patterns'''</span>=
=<span style="font-family: Arial; font-size: 16px">Resolving Patterns</span>=
+
<span style="font-family: Arial; font-size: 16px">Most recommended:</span><br />  
<br /> <span style="font-family: Arial; font-size: 16px">Most recommended:</span><br />  
 
 
 
 
* <span style="font-family: Arial; font-size: 16px">[[GOOD PROGRAMMING PRACTICES]]</span>
 
* <span style="font-family: Arial; font-size: 16px">[[GOOD PROGRAMMING PRACTICES]]</span>
 
* <span style="font-size: 16px">[[MAINTAINABLE TESTWARE]]</span>
 
* <span style="font-size: 16px">[[MAINTAINABLE TESTWARE]]</span>
Line 22: Line 18:
 
* <span style="font-size: 16px">[[REFACTOR THE TESTWARE]]</span>
 
* <span style="font-size: 16px">[[REFACTOR THE TESTWARE]]</span>
 
<span style="font-family: Arial; font-size: 16px">You should already be applying these patterns. If not, do it!</span><br /> <br /> <span style="font-size: 16px">Other useful Patterns:</span><br />  
 
<span style="font-family: Arial; font-size: 16px">You should already be applying these patterns. If not, do it!</span><br /> <br /> <span style="font-size: 16px">Other useful Patterns:</span><br />  
 
 
* <span style="font-size: 16px">[[GOOD DEVELOPMENT PROCESS]]: apply this pattern if you don't have a process for developing test automation. Apply it also if your process lives only on paper (nobody cares)</span>
 
* <span style="font-size: 16px">[[GOOD DEVELOPMENT PROCESS]]: apply this pattern if you don't have a process for developing test automation. Apply it also if your process lives only on paper (nobody cares)</span>
 
* <span style="font-size: 16px">[[LEARN FROM MISTAKES]]: apply this pattern to turn mistakes into useful experiences</span>
 
* <span style="font-size: 16px">[[LEARN FROM MISTAKES]]: apply this pattern to turn mistakes into useful experiences</span>

Revision as of 09:21, 30 April 2018

.................................................................................................................Main Page / Back to Process Issues / Back to Test Automation Issues

Issue Summary

There are too many scripts and it is not clear if they are still in use or not.

Category

Process

Examples

  1. It takes so much time to check if a script is already available that testers or automators would rather write a new one instead. This means that there are a lot of very similar scripts.
  2. Nobody "refactors" the scripts so that after a time some fail consistently and are not executed any longer.
  3. It isn't possible to check which scripts are actually in use.

Questions

How are scripts documented?
Are there standards regarding naming and documentation?
Who writes the scripts? Who uses them?
Is anyone charged with reviewing the relevance and usefulness of the scripts at regular intervals?

Resolving Patterns

Most recommended:

You should already be applying these patterns. If not, do it!

Other useful Patterns:

  • GOOD DEVELOPMENT PROCESS: apply this pattern if you don't have a process for developing test automation. Apply it also if your process lives only on paper (nobody cares)
  • LEARN FROM MISTAKES: apply this pattern to turn mistakes into useful experiences
  • KILL THE ZOMBIES: Apply this pattern for a start
  • DOCUMENT THE TESTWARE: you should be already applying this pattern. Retrofixing documentation is quite an effort. Do it in the future for all new projects and everytime you have to update something old
  • KEEP IT SIMPLE: Always apply this pattern!
  • SET STANDARDS: apply this pattern so that team members “speak the same language” and hence can efficiently share their work

.................................................................................................................Main Page / Back to Process Issues / Back to Test Automation Issues