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

From crappy and classy

228

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
228
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "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
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×