Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

How to auto-email owner of failed test ?

Papa Legba
2009-01-09
2013-04-22
  • Papa Legba
    Papa Legba
    2009-01-09

    I want to run CppUnit regresion tests for the nightly build and automatically send an email to the "owner" of a failed test (it might not be his code, but he owns the fucntionality besing tested).

    I imagine that I need to extand a particular class which represnts a test (fixture?), and add a member to hold a string with an email address which can be assigned in each test case.

    Then I need to find the code which handles a failed test and add a line to send an email to the functional owner of the test (and maybe the project manager, etc). I may take this further in future, updating a wiki page, etc - but I don't know where to add the code.

    Can anyone help on these two questions? Thanks in advance.