Saturday, May 9, 2009

Guidelines for Unit Testing



1. Keep unit tests small and fast.

2. Unit tests should be fully automated and non-interactive

3. Make unit tests simple to run

4. Measure the tests

5. Fix failing tests immediately

6. Keep testing at unit level

7. Start off simple

8. Keep tests independent

9. Keep tests close to the class being tested

10. Name tests properly

11. Test public API
12. Think black-box

13. Think white-box

14. Test the trivial cases too

15. Focus on execution coverage first

16. Cover boundary cases
17. Provide a random generator

18. Test each feature once

19. Use explicit asserts

20. Provide negative tests

21. Design code with testing in mind

22. Prioritize testing
23. Prepare test code for failures

24. Write tests to reproduce bugs

25. Know the limitations

Wednesday, May 6, 2009

UnitTesitng And Guidelines

What is Unit Testing?
In computer programming, unit testing is a software verification and validation method where the programmer gains confidence that individual units of source code are fit for use. A unit is the smallest testable part of an application. Unit testing is a development procedure where programmers create tests as they develop software. The tests are simple short tests that test functionality of a particular unit or module of their code, such as a class or function.

Goal of UnitTesting:
The goal of unit testing is to isolate each part of the program and show that the individual parts are correct. A unit test provides a strict, written contract that the piece of code must satisfy.

Monday, May 4, 2009

Quality Assurance & Testing Certifications!!

The following links will lead you to certifications that deal with quality assurance in the software and IT fields.
Guide to QA and Software Testing CertificationsTake a look at certifications available for Quality Assurance and Software Testing professionals. Whether you use a specific software testing tool, or are looking for a CBK, there are certifications to fit your needs.
CSTP & CTMThe Certified Software Test Professional (CSTP)and Certified Test Manager (CTM) certifications are education-based, meaning that you must complete training and experience requirements prior to taking exams. Both online and on-site training are offered.
Empirix CertificationGet information on Empirix's two levels of certification: Certified Empirix e-TEST™ suite Consultant (CEC) & Certified Empirix e-TEST suite Instructor (CEI).
Mercury InteractiveMercury Interactive offers two levels of certification: Certified Product Specialist (CPS), and Certified Product Instructor (CPI). These are designed for anyone who uses TestSuite, LoadRunner Web, LoadRunner DB, or Topaz.
QAI CertificationFind out the requirements and exam information for the Certified Software Quality Analyst (CSQA) or Certified Software Test Engineer (CSTE).
Rational CertificationFind out the steps to consultant and instructor level certification with Rational.
Segue CertificationSegue offers three certifications: Segue Certified SilkPerformer Engineer (SCSPE), Segue Certified SilkTest Engineer (SCSTE), & the Segue Certified SilkVision Project Manager (SCSVPM).

Software Quality Engineer Certification (CSQE)Apply for certification, get exam information, or download a brochure for the CSQE cert. ASQ also offers several other testing certifications (CQIA, CQE, & the Quality Manager Certification)
QA ForumsThis is an excellent place for anyone working in the QA or software testing. There are individual forums for software testing, QA engineering, for each testing tool, and one for certifications.
Certified Software Test Professional (CSTP)Offered by the International Institute for Software Testing, the CSTP is a software testing certification.
Powered By Blogger

Followers