CSC/ECE 517 Fall 2012/ch2a 2w30 an

From Expertiza_Wiki
Jump to navigation Jump to search

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