On Thu, Dec 10, 2009 at 1:39 PM, Siddharta <siddharta.li...@gmail.com>wrote:
> Noufal Ibrahim wrote: > >> Nose (after reading the docs a bit) is a unit test framework for python >> code. >> >> While I might be able to wring it's hand (nose?) to make it do general >> test >> running, I don't think it was intended for that. >> >> I found something called pandokia http://stsdas.stsci.edu/pandokia/ which >> looks like what I want. Anyone have experience with it? >> >> > Well nose is simply a test runner. Create some functions with a particular > syntax and nose will run it. It's a runner of python unit tests (written in various formats etc.). My requirements are a little different. I have tests from various sources (some hardware testing on various platforms), some unite tests on code written in C etc. I need to 0. collate all of these into some sort of standard format and 1. Run them to produce statistics. > What you do inside the function can be anything as long as you signal a > pass/fail condition for nose to report. We use nose for both unit testing as > well as running automated system tests. > > I guess your setup would work fine since your product is "a python program" (generally speaking) and your tests are mostly Python. I could make it a general purpose framework but from what I know, it wasn't intended to do that. For 0. above, I'm thinking of trying the backend of subunit ( https://launchpad.net/subunit) and for 1, pandokia. Let's see. -- ~noufal http://nibrahim.net.in _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers