CSC/ECE 517 Fall 2012/ch2a 2w30 an: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
(Created page with "<big>''' SaaS - 5.2 - FIRST, TDD and getting started with RSpec'''</big><br> =Introduction= =Features of Unit tests= =Disadvantages of QA= =Rspec= =Conclusion= =References=...")
 
Line 4: Line 4:


=Features of Unit tests=
=Features of Unit tests=
*Fast: Run tests quickly
*Independent: No tests depend on other. So can run any subset of the tests in any order.
*Repeatable: Run N times and get the same result.
*Self-checking: Test can automatically detect if passed. No human checking of output should be required.
*Timely: Written about the same time as the code under test.


=Disadvantages of QA=
=Disadvantages of QA=

Revision as of 16:28, 23 October 2012

SaaS - 5.2 - FIRST, TDD and getting started with RSpec

Introduction

Features of Unit tests

  • Fast: Run tests quickly
  • Independent: No tests depend on other. So can run any subset of the tests in any order.
  • Repeatable: Run N times and get the same result.
  • Self-checking: Test can automatically detect if passed. No human checking of output should be required.
  • Timely: Written about the same time as the code under test.

Disadvantages of QA

Rspec

Conclusion

References

Also see