Single entry, Single exit – Singular purpose

February 1st, 2012

Many times while examining existing automation scripts, it is amazing to note how much some of the automation code tries to accomplish. In a recent engagement, while examining automation code of a product with rich browser-based GUI, the automated script was found to have checks for wide range of conditions viz., data boundaries, default values of inputs, control enabling/disabling, control properties, and of course the functional behavior. One can visualize the various conditions to check and the associated long code that is rich in potentially uncovering a variety of issues. The developer of the script is proud of how much he/she has packed into the script whilst I am smiling and cringing inwardly. The “richness” is the problem.

So as a script developer, what do I have to do? Given scenarios to automate, assess the “fitness of automation” of the these. (In HBT (Hypothesis Based Testing), this is called “Fitness for Automation” with scenarios being “level-ized”. This helps in making the scenario “chewable” by the “automation”.)

Read the article written by T Ashok Founder & CEO of STAG Software (published in the Jan 2012 issue of Tea-Time with Testers, ezine) below that highlights that a scenario with a clear goal results in a “singular purpose” script and satisfies the key “single entry-single exit” criteria.

View more documents from STAG Software Pvt Ltd

We would like to hear from you, so leave us a comment.

Do you know the ‘potency’ of your test cases? (Webinar Q&A Audio)

January 20th, 2012

We had an interactive audience for the webinar – Do you know the ‘potency’ of your test cases?” – on Jan 19, 2012. Here are a list of questions posed by the attendees to the speaker Mr T Ashok, Founder & CEO of STAG Software -

  1. In Software testing world it is not possible to test all inputs for a particular product which requires like more than 200 hours of testing. What are your views on that notion?
  2. How can we leverage the existing test management tools like HP QC t5o implement this changes?
  3. Can you please share some more light in implementing this process for project which are very Agile in nature…A basic over view will also suffice
  4. Can you please explain a small example of how you have used this approach to deliver clean software?
  5. Could you repeat about countability…how we measure the sufficiency of test cases?
  6. Do we have a collateral, a database of possible defect types and potential defects that can be customized for a target application under test? A starter kit like.
  7. When do we engage in HBT in a typical SDLC? At design stage? Is this iterative or support iterative model? How about when SDLC is agile?

Listen to the answers by clicking on the play button below:

You can also access the webinar presentation slides & webinar recording here.

If you have any other questions, please write to us.

Viewpoints – A core concept in HBT (Mindmap)

January 20th, 2012

Good testing requires that the tester evaluate the system from the end use angle i.e put onself in the end-user shoes. This mindmap highlights some of the important aspects on this.


Note: Click on the image to see the enlarged image.

New to HBT? Click here or read HBT Cookbook.

We would love to hear from you, so leave a comment below.