Wednesday, February 12 - RAD in Action webinars "Unit Testing in Delphi" with Nick Hodges

Posted by on in Blogs
Next Wednesday, Nick Hodges, Embarcadero MVP and author of the new book, "Coding in Delphi", will present "RAD in Action: Unit Testing in Delphi" in 3 live online sessions.

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.


About
Gold User, Rank: 1, Points: 2466
David Intersimone (known to many as David I.) is a passionate and innovative software industry veteran-often referred to as a developer icon-who extols and educates the world on Embarcadero developer tools. He shares his visions as an active member of the industry speaking circuit and is tapped as an expert source by the media. He is a long-standing champion of architects, developers and database professionals and works to ensure that their needs are folded into Embarcadero's strategic product plans. David holds a bachelor's degree in computer science from California Polytechnic State University at San Luis Obispo, California.

Comments

  • Guest
    Arnulfo Jose Suarez Wednesday, 5 March 2014

    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?

  • Guest
    David Intersimone Wednesday, 5 March 2014

    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

Check out more tips and tricks in this development video: