Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#50 subunit TestProgressListener

open-postponed
None
5
2009-11-23
2006-04-16
Robert Collins
No

ubunit (http://www.robertcollins.net/unittest/subunit)
is a little API I wrote to make xUnit tests executable
across a process barrier. I've extended subunit (1.10.2)
(CVS was down) to allow people that are
using subunit to run their tests execute cppunit based
tests via subunit. This is nice because it lets them
use any of the pyunit test runners - guis, IDE
integration etc - and still write their C tests in C
with check. (Also, one can write a C parent-side engine
for subunit, but currently its only available as a
python parent).

I'm putting the patch in the subunit source code
(http://www.robertcollins.net/unittest/subunit)
for any of the subunit users to use, and am attaching
it here.

There are no unit tests for this - I could not find
existing unit tests for TestProgressListeners, and
didn't want to invent infrastructure just for that. I
have verified the code by hand though, FWIW.

Discussion

  • Robert Collins
    Robert Collins
    2006-04-16

    Subunit TestProgressListener patch

     
  • Logged In: YES
    user_id=196852

    Could you make tarball or zip of subunit available for
    testing ? I'd rather not download every single files to test it.

    Thanks,
    Baptiste.

     
    • status: open --> open-postponed
     
  • Robert Collins
    Robert Collins
    2006-06-30

    Logged In: YES
    user_id=30963

    Hi, that URL is a 'bzr' branch - you can grab the content
    using 'bzr branch
    http://www.robertcollins.net/unittest/subunit'. I will put
    up a tarball when I get home in 2 weeks... currently I'm on
    the wrong side of the planet.

     
  • Robert Collins
    Robert Collins
    2009-08-13

    Hi, this was marked postponed - it still applies and works. What do I need to do to help out with it?

     
    • assigned_to: nobody --> blep
     
  • Robert Collins
    Robert Collins
    2009-11-23

    Subunit's home page is now https://edge.launchpad.net/subunit, there is a tarball you can download, or you can get the current trunk by 'bzr branch lp:subunit'.

    I've turned this patch into a subunit-built cppunit plugin in subunit 0.0.3. It may make more sense to keep it there as subunit is perhaps extending its API more at the moment than cppunit. What do you think?