Wednesday, February 12 - RAD in Action webinars "Unit Testing in Delphi" with Nick Hodges
Date: Wednesday, February 12, 2014
Times:
- 6AM San Francisco / 9AM New York / 2PM London / 3PM Milan
- 11AM San Francisco / 2PM New York / 7PM London / 8PM Milan
- 5PM San Francisco / 13-Feb 10AM Tokyo / 13-Feb 12PM Sydney
Without unit tests your code is fragile, hard to change, and unreliable. Unit testing is the only way that you can be sure that your code does what it is supposed to do. In this webinar, Nick discusses the basics of Unit Testing as well as providing a demo that illustrates the points at hand using the new DUnitX framework. This will lead to a discussion of stubs and mocks, and the use of the DelphiMocks framework to ensure that all your classes are tested in isolation.
Topics covered
- What is Unit Testing?
- Why you should be doing Unit Testing
- Proper unit testing techniques including covering the "middle of the plate", the "outside corners" as well as checking exceptions
- A specific use case for unit testing using a real world example
Register at http://forms.embarcadero.com/DelphiUnitTesting2-12
Even if you can’t make it to a live session you should register anyway and we will send you a link to watch the webinar replay on-demand plus access to related technical resources.


Comments
-
Arnulfo - C++ unit testing is definitely supported. In RAD Studio/C++Builder IDE - choose File | New | Other ... Then choose the "Unit Test" category and choose "Test Project". This will bring up a wizard to specify the project details. One of the choices on the wizard is the "Personality" - choose Delphi or C++. Then you can go back and choose to add "Test Case(s)" using File | New | Other... and choose the "Test Case" from the "Unit Test" category and proceed from there.
There are some articles to help you - one for C++Builder 2007 but the same steps and unit test support are in later versions - http://antonycorbett.com/2011/08/29/unit-testing-in-c-builder/
Additional Unit Test info is available on our DocWiki at http://docwiki.embarcadero.com/RADStudio/XE4/en/Unit_Testing_Overview
If you need more rigorous testing for C++Builder projects - check out TestComplete from SmartBear Software - http://support.smartbear.com/viewarticle/62739/ -
Please login first in order for you to submit comments
- Page :
- 1
Hi,
I saw this webinar, and I asked there if we can use the Unit Testing framewokr in C++, I didn't find a lot of information about the unit testing in c++builder, can you recommed some source, in special examples with some real world application?