C++ unit testing top 5 problems and solutions

943 views
861 views

Published on

This presentation shows the top 5 problems that C++ developers are faced with when starting out with unit testing.

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

  • Be the first to like this

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

No notes for slide

C++ unit testing top 5 problems and solutions

  1. 1. 23 September 2011<br />Unit Testing in C++Top 5 Problems & SolutionsGil ZilberfeldProduct Manager<br />
  2. 2. Unit Testing in C++<br />Legacy code<br />Full of dependencies<br />Change the code or…<br />Use an isolation framework<br />
  3. 3. What Do We Need<br />IDE<br />Test Framework<br />Isolator++<br />
  4. 4. Private Calls<br />
  5. 5. Global C Functions<br />
  6. 6. Nothing to test<br />
  7. 7. The “new” Problem<br />
  8. 8. Reference Parameters<br />
  9. 9. Questions?<br />www.gilzilberfeld.com<br />gilz@typemock.com<br />@gil_zilberfeld<br />www.typemock.com<br />Blog.typemock.com<br />@typemock<br />

×