From crappy and classy

  • 191 views
Uploaded on

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

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

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
191
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
2
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

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