From crappy and classy

342 views
298 views

Published on

Presented at ACCU 2012, This presentation accompanied adding features to CPPUnit test framework.

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
342
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

From crappy and classy

  1. 1. From Crappy To ClassyGil Zilberfeld@gil_zilberfeldHttp://www.gilzilberfeld.com28-Apr-12
  2. 2. What we’re going to dotoday…
  3. 3. CppUnit
  4. 4. Task IAdd a filter by level to a test
  5. 5. Part 1 – Open your eyesWhat have got my self into?
  6. 6. CppUnit Overview• Test frameworks include • Test identifiers • Test runner • Assert APIs
  7. 7. Part 2 – Use your hands• Run the software• Build an example
  8. 8. The setup• Visual Studio 11 • CppUnit project • Integration test project • CppUnit • Unit test project • Google Test • Typemock Isolator++
  9. 9. Part 3 – Take a breather• Read the instructions again
  10. 10. Task IAdd a filter by level to a test
  11. 11. Part 4 – Outside-In• Write an integration test• Hack it ‘til you make it • Document design decisions• Add unit tests • Verify design decisions
  12. 12. Task 2Add filter level for a suite from a file
  13. 13. Part 5 – Inside-Out• Write unit tests• Add a class• Write an integration test

×