Ally's a QA

January 4, 2009 - QA Q and A - Smoke Test

Posted by jstrazzere

QA

Q&A

 

Question: What is a Smoke Test?

 

Answer:  A subset of all defined/planned test cases that cover the main functionality of a component or system, to ascertain that the most crucial functions of a program work, but not bothering with finer details.  A daily build and smoke test is among industry best practices.  [ISTQB] 

 

When you want to quickly assess the state of a software build, you often turn to a Smoke Test (sometimes called a Build Verification Test).  Essentially, you are trying to do something that is relatively quick and inexpensive, that will give you a general feeling for the software.  You aren't looking for all the bugs.  You aren't trying all the scenarios.  You just want a general idea if the software works or not.

 

Often, the goal of this Smoke Test is to decide if more in-depth, more expensive testing is worthwhile, or if the software is too broken to be bothered.

 

Usually, you exercise only the basic paths of the software, and avoid all the unusual conditions.  And usually, you don't test deeply at all - you just skim the surface.

 

In her book Effective Software Testing: 50 Specific Ways To Improve Your Testing, Elfriede Dustin says that a Smoke Test is "a condensed version of a regression test suite".  And many companies do just that - extract a portion of their overall regression test suite, and use it repeatedly as a Smoke Test.

 

Manual Smoke Testing
Sometimes, a manual Smoke Test just involves "playing with the software for a while".  For an experienced user/tester of the software this may make sense.  Such a tester may have a good sense of what to try, and just how deep to go.

 

But often, a written script tells the manual Smoke Tester what to test and how. 

 

Either way, the manual Smoke Test should be brief and to the point.  If the software is in generally good shape, the manual Smoke Test should pass.  If not, the Smoke Test should fail.


Automated Smoke Testing
I see this as one of the basic uses for my Test Automation Suite.  I want to be able to quickly run a test after the build, so I can assess whether or not my team should bother to dig in and spend their time testing it.  If the system-under-test passes the Smoke Test, we can proceed.  If not, we reject the build until it is fixed.

 

If the builds occur overnight, I like to be able to schedule this Smoke Test so that it runs after the build and so that the results are ready and waiting for me when I get in the next morning.  Sometimes, this allows me to run a larger overnight test and still have the results ready for the morning.

 

When I start to automate the testing of a system, the Smoke Test is usually the first automation I create.

 

In their excellent book How We Test Software At Microsoft, Alan Page, Ken Johnston, and Bj Rollison list these attributes of an automated Smoke Test (Build Verification Test):

  • Automate Everything - run it on every build, the same every time.
  • Test a Little - verify basic functionality.
  • Test Fast - should execute quickly
  • Fail Perfectly - fail only when the build isn't suitable for further testing
  • Test Broadly, Not Deeply - focus on primary usage scenarios
  • Debuggable and Maintainable - easy to fix, and keep up to date
  • Trustworthy - you must be able to trust these tests
  • Critical - requires time and careful thought to get it right

For other QA and Testing terms, see: http://www.sqablogs.com/jstrazzere/46/A+Glossary+of+Testing+Terms.html



Peridocally, I'll pick a QA or Testing term and try to explain it in a bit more detail.  If you have a term that you'd like explained - Email Me

Permanent Link

December 31, 2008 - Perhaps They Should Have Tested More - Microsoft Zune

Posted by jstrazzere

 

A Zune Swoon?

 

 

Hey, anyone know how to get this thing working again?

 

Apparently, starting around midnight last night, all first-generation 30GB Model Zunes - every one - restarted themselves and locked up at the boot screen.

 

Just take a look at some of the Headlines:

  • 30GB Zunes Failing En Masse
  • 30GB Zune apocalypse arrives as devices enter digital coma
  • Zune 30s all freezing up at once. Ack! Aliens!
  • Zune plagued by massive freeze
  • Did the Y2K failure come to Zune 30 devices 9 years later?
  • Microsoft Zunes spontaneously dying all over the place
  • Microsoft Zunes Hit By Rash of Lock-Up Bugs
  • Microsoft Zune 30GB users reporting freezing problems
  • Zunesday
  • 30GB Zunes Everywhere Are Frozen. Z2K9?
  • Worldwide Zune suicide?
  • 30GB Zunes Fail Simultaneously Everywhere
  • 30GB Zunes Killing Themselves In Droves
  • Microsoft's Latest Global Problem
  • 30GB Zunes hibernating for 2009?
  • Z-Day Hits Zune 30s
  • Some Zunes Expire Along with 2008
  • Z2K for Zune music players?

Think some Boundary Value Analysis might be in order?

 

At this time, Microsoft's Zune Support page says only:

zune service status

 

Status:

 

Customers with 30gb Zune devices may experience issues when booting their Zune hardware.  We’re aware of the problem and are working to correct it.  Sorry for the inconvenience, and thanks for your patience!

When I checked at 2:00 PM Eastern time, Microsoft's Zune Support page now says:

zune service status

 

Status:

 

Customers with 30gb Zune devices may experience issues when booting their Zune hardware.  We’re aware of the problem and are working to correct it.  The Zune Social might be slow or inaccessible.  Sorry for the inconvenience, and thanks for your patience!

So apparently it was a leap year problem.

Today 5:43 PM
   
Official response for Zune 30 Freezing Issue (Zune 30gb stuck at reboot screen)
 
Early this morning we were alerted by our customers that there was a widespread issue affecting our 2006 model Zune 30GB devices (a large number of which are still actively being used).  The technical team jumped on the problem immediately and isolated the issue: a bug in the internal clock driver related to the way the device handles a leap year.  The issue should be resolved over the next 24 hours as the time change moves to January 1, 2009.   We expect the internal clock on the Zune 30GB devices will automatically reset tomorrow (noon, GMT). By tomorrow you should allow the battery to fully run out of power before the unit can restart successfully then simply ensure that your device is recharged, then turn it back on.  If you’re a Zune Pass subscriber, you may need to sync your device with your PC to refresh the rights to the subscription content you have downloaded to your device. 

 

Customers can continue to stay informed via the support page on zune.net (zune.net/support).

 

We know this has been a big inconvenience to our customers and we are sorry for that, and want to thank them for their patience. 

 

Q:  Why is this issue isolated to the Zune 30 device?
It is a bug in a driver for a part that is only used in the Zune 30 device.

 

Q:  What fixes or patches are you putting in place to resolve this situation? 
This situation should remedy itself over the next 24 hours as the time flips to January 1st.

 

Q:  What’s the timeline on a fix?
The issue Zune 30GB customers are experiencing today will self resolve as time changes to January 1.

 

Q:  Why did this occur at precisely 12:01 a.m. on December 31, 2008? 
There is a bug in the internal clock driver causing the 30GB device to improperly handle the last day of a leap year.

 

Q:  What is Zune doing to fix this issue? 
The issue should resolve itself.

 

Q:  Are you sure that this won’t happen to all 80, 120 or other flash devices? 
This issue is related to a part that is only used in Zune 30 devices.

 

Q:  How many 30GB Zune devices are affected?
All 30GB devices are potentially affected.

 

Q: Will you update the firmware before the next leap year (2012)?
Yes.


--------------------------------------------------------------------------------
Matt Akers
Zune Product Team

Now who could possibly have thought to test for leap year issues?  After all, that "leap year" thing is a fairly new invention, right?

 

Perhaps they should have tested more.

 


An update.

Supposedly, this is the code which failed:

year = ORIGINYEAR; /* = 1980 */

while (days > 365)
{
    if (IsLeapYear(year))
    {
        if (days > 366)
        {
            days -= 366;
            year += 1;
        }
    }
    else
    {
        days -= 365;
        year += 1;
    }
}

see:

http://www.aeroxp.org/2009/01/lesson-on-infinite-loops/

http://www.zuneboards.com/forums/zune-news/38143-cause-zune-30-leapyear-problem-isolated.html

http://programphases.com/?page_id=1732

http://www.zune.net/en-us/support/zune30.htm

http://gizmodo.com/5121311/30gb-zunes-failing-everywhere-all-at-once

http://news.cnet.com/8301-10805_3-10130186-75.html

http://blogs.msdn.com/james_whittaker/archive/2009/01/06/the-zune-issue.aspx



Can your Zune still hold a tune?
Email Me

Permanent Link

December 29, 2008 - Book: How We Test Software at Microsoft

Posted by jstrazzere

A really nice addition to my QA Bookshelf.

 


How We Test Software at Microsoft
by Alan Page, Ken Johnston, Bj Rollison

 

In How We Test Software at Microsoft, Alan Page, Ken Johnston, and Bj Rollison provide a terrific mix of insight into Microsoft, along with in-depth explanations of practical test processes.

 

From the introduction:

"This book is for anyone who is interested in the role of test at Microsoft or for those who want to know more about how Microsoft approaches testing.  This book isn't a replacement for any of the numerous other great texts on software testing.  Instead, it describes how Microsoft applies a number of testing techniques and methods of evaluation to improve our software."

I would also add that this book is for anyone who wants to learn some extremely useful, real-world approaches to both typical and complex testing situations.

 

Contents:

  1. Software Engineering at Microsoft
  2. Software Test Engineers at Microsoft
  3. Engineering Life Cycles
  4. A Practical Approach to Test Case Design
  5. Functional Testing Techniques
  6. Structural Testing Techniques
  7. Analyzing Risk with Code Complexity
  8. Model-Based Testing
  9. Managing Bugs and Test Cases
  10. Test Automation
  11. Non-functional Testing
  12. Other Tools
  13. Customer Feedback Systems
  14. Testing Software Plus Services
  15. Solving Tomorrow's Problems Today
  16. Building the Future

While not all of the solutions will apply to everyone (unless you happen to work at a company with over 9,000 testers), everyone will learn something.  The excellent explanations of Equivalence Class Partitioning and Boundary Value Analysis are among the best I have ever read.

 

This is a very good book - one I highly recommend to all current and would-be testers.



Have a Testing or QA-related book you particularly like?
Email Me

Permanent Link

December 29, 2008 - Trial Versions of Commercial Test Automation Tools

Posted by jstrazzere

 

 

Many vendors of commercial test automation tools offer trial versions.

 

Here are some:

e-Tester
http://www.oracle.com/technology/software/products/app-testing/index.html

 

EggPlant
http://www.redstonesoftware.com/products/eggplant_functional_tester/trial

 

JTest
http://www.parasoft.com/jsp/customers/customer_login.jsp?caller=%2Fjsp%2Ftrial_request.jsp%3Fproduct%3DJtest%26itemId%3D25


QA Wizard Pro
http://www.seapine.com/qaweval.php
 
QuickTest Pro
https://h10078.www1.hp.com/cda/hpdc/display/main/index.jsp

 

Rational Functional Tester
http://www-01.ibm.com/software/awdtools/tester/functional/index.html
 
Rational Robot
http://www-01.ibm.com/software/awdtools/tester/robot/
 
SilkTest
http://www.borland.com/downloads/download_silk.html
 
TestComplete
http://www.automatedqa.com/downloads/testcomplete/index.asp
 
TestPartner
http://www.compuware.com/solutions/forms/testpartnertrial.asp?source=Web

 

Visual Studio Test Edition
http://msdn.microsoft.com/en-us/evalcenter/bb633757.aspx

 

Visual Test
http://www-01.ibm.com/software/awdtools/visualtest/support/download.html

 

WinTask
http://www.wintask.com/free_downloads.php




Know of any other commercial test tools that have a trial version?
Email Me

Permanent Link

December 28, 2008 - New England Patriots 2008 Season Ends

Posted by jstrazzere

New England Sports

2008-2009 Season

(so far)

 

A rough season for the Patriots.  Imagine:

  • Losing your starting quarterback - last year's NFL MVP - seven minutes into the season
  • Losing your starting running back
  • Losing your #2 and #3 running backs for significant portions of the season
  • Losing your best linebacker
  • Losing your starting safety and defensive leader
  • Losing your starting insider linebacker
  • Losing several key backups and special team players
  • Sending 14 players to Injured reserve
  • Being forced to use 43 different starters

and still going 11-5?

 

Yet, after that surprising effort, the Patriots are the first team in over 30 years to win 11 games and not make the playoffs.  Oh well. 

 

Bob Ryan of the Boston Globe says of the Pats: "They're the Best Team Ever To Miss The Playoffs".

http://www.boston.com/sports/football/patriots/articles/2008/12/29/not_enough____but_they_gave_plenty/

 

A terrific season by Matt Cassell, and a good season by the team.  Unfortunately, not quite good enough, given the high standards in New England.  Next year...

 



Any comments on this article?
Email Me

Permanent Link

<- Last Page :: Next Page ->

About Me

Here I share my experiences and thoughts as a QA engineer, and a place to put my notes.

Search This Blog

Friends

• whollymindless
• strazzerj
• syed1982
• Nivetha
• mferris
• ukkuru
• michaeljf
• agvasqa
• priyabala
• srini847
• spikyone
• naba123