SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Dec 2006
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Unit test Plan review checklist

    What points are included in Unit test Plan Review Checklist and unit test cases review checklist.

    Regards
    Abhijit

  2. #2
    Junior Member
    Join Date
    Jan 2007
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Unit test Plan review checklist

    Hi Abhijit,
    Hope this will help you.

    Write a Test Case to make sure that every line of code has tested at least once in a test cycle

    Write a Test Case to make sure that every condition is tested at least once in case of conditional statement is used

    Write a Test Case to make sure that Select statement [thru SQL] is being selected information properly from a respective table or not.

    Write a Test Case to make sure that Update statement [thru SQL] is being updated information properly in a respective table or not.

    Write a Test Case to make sure that Create statement [thru SQL] is being created information properly in a respective table or not.

    Write a Test Case to make sure that Delete statement [thru SQL] is being deleted information properly from a respective table or not.

    Write a Test Case to validate the output of Stored Procedures and Methods as well.

    Write a Test Case to test the boundaries & validations of a field.

    Write a UI Test Case to verify all elements are appearing properly those need to appear on the screen.

    Code Review & Formal walk through needs to be done.

  3. #3
    Senior Member
    Join Date
    Jan 2007
    Location
    Castle Grayskull
    Posts
    388
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Unit test Plan review checklist

    writing unit tests that cover every single line of code in large apps (10 million lines of code) is impractical. Just as giving the same testing effort to all functionality in an app is not wise. And actually it doesn't matter the size of the app...focus on what matters to the customer and devote less testing to low-priority components.

    Unit testing is not designed to validate that UI elements are appearing properly....this is a GUI test.

    All these answers assume the app has a DB which of course all don't.

    Measuring performance of key algorithms?

    What about writing tests to catch memory leaks?

    Instantiating classes on the stack and heap? (it's been 9 years since I was in R&D so I may not have this terminology right).

    Overloaded functions called with appropriate parameters to exercise the function when it behaves differently?

    Writing tests for try/catch statements?

    Making sure your test environment doesn't contain references to local machine specifics so the unit tests can be executed on any machine?

    There's more but I'll stop here.....

    I think I'd have to disagree w/ your checklist for unit testing....
    Reserve a few months every so often and preview retirement throughout your career. You won't regret that a 35 year career was reduced to 34 years to take vacations measured in months in order to remember what a stress and care-free life is all about.

    Books and hard work will get you anywhere you want to go.

  4. #4
    Member
    Join Date
    Jan 2005
    Location
    Hyderabad
    Posts
    54
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Unit test Plan review checklist


    Use Cyclomatic Complexity to get the number of paths (scenarios) in the program. Come up with a test for each of those paths.

    See if the exceptions are handled properly are not.

    ----------------------------------
    Regards,
    Venkat Reddy CH,
    http://venkatreddyc.wordpress.com
    Best Regards,
    Venkat Reddy Chintalapudi,
    http://venkatreddy.in

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.00%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:09 AM.

Copyright BetaSoft Inc.