Thursday, August 21, 2014

Very Short Blog Post: A date with test cases.

Here's a test case problem:

The requirement:

"Formatting is automatically applied to all date fields (dd/mm/yy formatted)"
 
Here are my findings after a 15 minute test session:
  • Formatting is automatically applied when entering dates as
  • 12.12.2014
  • 12th Dec 2014
  • 12 Dec 2014
  • 12 December 2014
  • 12th December 2014
  • 12-12-2014
  • 12-DEC-2014
  •   Formatting is not applied to:
  • 12.12.14
  • 12122014
  • 12th Dec 14
  • 12th December 14
  • 12/12/14

a) Did the requirement 'pass'?
b) According to some claims, it is best practice to write one positive test case and one negative test case per requirement. What would I have learned by writing and executing two test cases?
c) Some test management tools would report 100% coverage with 1 test case and if it passed, it would say that the requirement passed.
 
Maybe talking about testing in terms of test cases and of passes and fails isn't useful.

 
 
 

39 comments:

  1. I wonder who claims "it is best practice to write one positive test case and one negative test case per requirement." - if there was an "At Least" in that sentence I could relate - though from my experience on every positive case I normally find several negative ones.

    One thing is clear - A requirement which is NOT covered by at least 1 positive and one negative test cases - is definitely not covered.
    That does not come to say that a coverage of 1+1 is a full coverage.
    Nor that verifying the 1st part is useless (it may be basic but still better than none).

    A tool is just a tool - it does not come to replace your brain, just to assist.

    There is a basic flaw in Traceability coverage measurements - it can only measure how much of planned cases have passed, but has no means to measure how many cases should have been there in 1st place...
    Nor would any other tool be able to say that (on any given list of test cases - I can always add one...)
    The expected depth of coverage is something the testers / organization will define - and hopefully when new useful to regress test cases are found, these shall be recorded so it will become a learning process, improving coverage over time.

    @halperinko - Kobi Halperin

    ReplyDelete
    Replies
    1. This is really good and interesting piece of work. i liked it,and wanted to know more about it. cataract surgery cost in india

      Delete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. Thanks for sharing such informative blog!!! LoadRunner is very popular tool to validate a software application by generating actual load. It gives precise information about the software performance in real time. Loadrunner training in Chennai

    ReplyDelete
  4. We are a leading software development services in delhi ,which works as per the client requirements and give provide software.

    ReplyDelete
  5. Really awesome blog. Thanks for sharing this informative blog. Suppose if anyone want to learn Software Testing Training in Chennai at a reputed training institutes. If you are looking for best Software Testing Training Institutes in Chennai reach FITA located at Chennai, India. Rated as No.1 placement and training center in Chennai.

    ReplyDelete
  6. Hi, I wish to be a regular contributor of your blog. I have read your blog. Your information is really useful for beginner. I did QTP Training in Chennai at Fita training and placement academy which offer best Software Testing Training in Chennai with years of experienced professionals. This is really useful for me to make a bright career.

    ReplyDelete
  7. The future of software testing is on positive note. It offers huge career prospects for talented professionals to be skilled software testers. Automation training in Chennai | Software training | Software testing training institute Chennai

    ReplyDelete
  8. Excellent post!!! Selenium automation testing tool makes your software validation process lot simpler. Keep on updating your blog with such awesome information. Selenium Training in Chennai | Selenium Course in Chennai | Selenium training institute in Chennai

    ReplyDelete
  9. Mobile application testing is a process by which application software developed for hand held mobile devices is tested for its functionality, usability and consistency. mobile testing training in Chennai can be automated or manual type of testing.

    ReplyDelete
  10. Thank you! I have to thank you for the efforts you’ve put in penning this site.I really hope to check out the same high-grade blog posts by you later on as well. In truth, your creative writing abilities has motivated me to get my own website now !
    barbie games| barbiegames| barbie| shooting games| shootinggames| shooting| dora games| doragames| dora
    fighting games| fightinggames| fighting| kissing games| kissinggames| kissing| christmas games| christmasgames| christmas

    ReplyDelete
  11. Excellent post. Keep update your blog. If anyone want to get Software Testing Training in Chennai, reach us besant technologies. They provide real time training for all trainees.
    Regards.
    Yasmin..

    ReplyDelete
  12. Thanks for this blog, I'am very much delighted to say that this blog has helped me a lot in gain some extra knowledge about software testing.
    Selenium training in Chennai|Selenium training|Selenium testing training in chennai|Selenium training chennai

    ReplyDelete
  13. GSSSB 2480 Revenue Talati Bharti Recruitment 2016

    I like the valuable information you provide in your articles, Thanks for sharing.....

    ReplyDelete
  14. Assam 2564 Police Constable Recruitment 2016 Apply Online


    Really your blog is very interesting it contains great and unique information It's just amazing Thanks very much. . .............

    ReplyDelete
  15. Testing is very important before launching a web application or a mobile application because it can detect the error at an early stage, and it reduces the work of the developer.
    manual testing training institute in chennai | mobile application training in chennai | FITA Academy Chennai

    ReplyDelete
  16. The best thing about HTML5 is that it allows the developers to embed the video files, audio files, and high quality graphics without any third party applications.
    html5 training in chennai | html5 training institutes in chennai | FITA Academy reviews

    ReplyDelete
  17. If you are willing to develop a website but you dont know web development or coding then relax wordpress CMS platform is just for you. Where you can create website all by yourself.
    wordpress training in chennai | Wordpress course in chennai

    ReplyDelete

  18. Call us now at OUR toll free. We are Americans #1 Free Chat Line. NO credit card is required! Call Now! FREE CHAT!!! 1-706-443-9999
    (over the age of 18). Meet exciting local guys and gals! Site: www.freenitechat.com


    Free chat line
    Live Sex Chat
    Chat numbers for free

    ReplyDelete
  19. Digital Marketing is one of the most promising field which is giving a tough tie for traditional marketing methods.
    digital marketing course in chennai | Digital Marketing training in chennai | digital marketing courses in chennai

    ReplyDelete
  20. Selenium is a testing tool which is an open source which can work very well for the professionals and for testers. If a profesional is knowing manual testing then if he learn seenium then there are good chance for career growth.
    selenium training in chennai | selenium training institute in chennai | selenium course in chennai

    ReplyDelete
  21. Very nice I gathered good information from this content.
    qtp training in chennai

    ReplyDelete
  22. Very nice I gathered good information from this content.
    qtp training in chennai

    ReplyDelete
  23. Wow! That's really great information guys.I know lot of new things here. Really great contribution.Thank you ...
    oracle training in chennai

    ReplyDelete
  24. Besant Technologies is a leading Training and Placement company in Chennai managed by IT veterans with more than a decade experience in leading MNC companies.
    Android Training in Velachery |
    Android Training in Anna Nagar |
    Android Training in Velachery |
    Android Training in Chennai |

    ReplyDelete
  25. Nice tips for someone new into the world of java Really great tips and finally definitely will help to develop a program in java.
    java training in chennai

    ReplyDelete
  26. Wow. It is sounds good to hear about java. You have given wonderful suggestion and guidance about java. thanks for posting your comprehensive tactics about java
    java training in chennai

    ReplyDelete
  27. hi welcome to this blog. really you have post an informative blog. it will be really helpful to many peoples. thank you for sharing this blog.
    java training in chennai

    ReplyDelete
  28. hi welcome to this blog. really you have post an informative blog. it will be really helpful to many peoples. thank you for sharing this blog.
    java training in chennai

    ReplyDelete
  29. Nice tips for someone new into the world of java. Really great tips and finally definitely will help to develop a program in java.
    java training in chennai

    ReplyDelete
  30. really you gave nice article about android. thank you for this informative one.
    java training in chennai

    ReplyDelete