[Beaker-devel] Integration tests vs unit tests

Raymond Mancy rmancy at redhat.com
Fri Sep 6 05:15:27 UTC 2013



----- Original Message -----
> From: "Nick Coghlan" <ncoghlan at redhat.com>
> To: "beaker-devel" <beaker-devel at lists.fedorahosted.org>
> Sent: Friday, September 6, 2013 12:27:54 PM
> Subject: [Beaker-devel] Integration tests vs unit tests
> 
> Just dumping a transcript of an IRC conversation between rmancy and I
> about unit tests vs integration tests (in the context of the patch that
> makes the createrepo command configurable:
> http://gerrit.beaker-project.org/#/c/2208/).
> 
> At the moment, Beaker's unit testing is fairly minimal, so we don't have
> a good, quick, confidence building set of tests to run before pushing to
> Gerrit, just the full set of integration tests (which can take half an
> hour or more to run, depending on the details of your system).
> 
> It's going to take some time for us to improve Beaker's unit testing
> story, this just struck me as an expedient way to get something on
> record that this is the direction we're likely to be heading :)
> 
> Cheers,
> Nick.

Ok, so should we be aiming to remove the need for a database?
Perhaps we could use an in-memory sqlite database for that.

Do we want to physically seperate our unit tests, or just 'tag' them
and then use something like this http://nose.readthedocs.org/en/latest/plugins/attrib.html.



More information about the Beaker-devel mailing list