librelist archives

« back to archive

Flask testing output report

Flask testing output report

From:
Jose Ayerdis
Date:
2013-01-14 @ 18:33
Any advice on how to do that flask test output be like an html or a pdf
report. Or output this at least in a single file with the results?

Can I get more information from the test as a verbose state currently I
have only been able to get how many test passed.

Thanks

Sincerly yours,

[Jose Luis Ayerdis Espinoza]
Necronet.info |
LinkedIn<http://www.linkedin.com/pub/jose-luis-ayerdis-espinoza/28/7b4/704>|
Careers
StackOverflow <http://careers.stackoverflow.com/necronet>

Re: [flask] Flask testing output report

From:
Steven Kryskalla
Date:
2013-01-14 @ 19:15
On Mon, Jan 14, 2013 at 10:33 AM, Jose Ayerdis <joseayerdis@gmail.com> wrote:
> Any advice on how to do that flask test output be like an html or a pdf
> report. Or output this at least in a single file with the results?
>
> Can I get more information from the test as a verbose state currently I have
> only been able to get how many test passed.

What are you using for testing?

If you hook up your unit tests to a CI server (buildbot, jenkins,
etc.) there are plugins for turning test output (e.g. nose's
--with-xunit option) into an HTML report.

-steve

Re: [flask] Flask testing output report

From:
Jose Ayerdis
Date:
2013-01-14 @ 19:35
Pretty much using what comes out of the box with flask and ran my test with
the console


2013/1/14 Steven Kryskalla <skryskalla@gmail.com>

> HTML




Sincerly yours,

[Jose Luis Ayerdis Espinoza]
Necronet.info |
LinkedIn<http://www.linkedin.com/pub/jose-luis-ayerdis-espinoza/28/7b4/704>|
Careers
StackOverflow <http://careers.stackoverflow.com/necronet>