nap a écrit : > > The most important part is the "Test results". > I can help you fix this. > What have you put in Hudons build step, what is the log error from > Hudson ? > > I cannot find the "coverage" tool under ubuntu. In which package is > it? (I try the --coverage function of nose, but it do not output it in > the xml file). > 2secs with Google: "apt-get install python-coverage" :-)
nosetests can run the code coverage analysis in the same time that it runs shinken tests, this avoids the need to run tests 2 times, but it only generate the coverage internal results. To have the XML output, either you need to install nose-xunit plugin, or, simply call coverage after nosetests: |$ rm coverage.xml $ nosetests ... --with-xunit --with-coverage --coverage-erase $ coverage xml --omit /usr/share,/usr/lib| Here is Aurélien ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Shinken-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shinken-devel
