[TIP] Nose_fixes
Chris Withers
chris at simplistix.co.uk
Thu Sep 24 23:56:31 PDT 2015
And how about the other question I asked?
On 25/09/2015 03:34, Vijayram Gopu wrote:
>
> HI Chris,
>
> Thank you for your response, this is the output
>
> -bash-4.1$ /opt/tools/bin/nosetests -v
>
> -bash-4.1$
>
> any idea how to use xunit with nose test-suites... I am not getting
> same nosetests.xml output with tests-suites as against with testcases
>
> Thank you,
>
> Vijayram,..
>
>
> On Mon, Sep 21, 2015 at 1:39 AM, Chris Withers <chris at simplistix.co.uk
> <mailto:chris at simplistix.co.uk>> wrote:
>
> Hi Vijayram,
>
> Please ask questions on the list, that way others can chime in...
>
> On 16/09/2015 20:56, Vijayram Gopu wrote:
>
> fromtest_login_rest_api importRestLoginTestSuite
>
> importtest_login_rest_api
>
> fromnose.loader importTestLoader
>
> fromnose importrun
>
> fromnose.suite importLazySuite
>
> deftest_suite():
>
> print"Into suite function...\n"
>
> suite = LazySuite()
>
>
> suite.addTest(TestLoader().loadTestsFromName('RestLoginTestSuite.test_login_user_empty_password_empty',
> test_login_rest_api))
>
>
> This looks like some pretty odd code. What are you hoping to
> achieve here that you couldn't by just using nose normally?
>
> This is the nose command I used for execution:
> /opt/tools/bin/nosetests
> faas_suite.py
>
> After the execution, I am expecting only 1 TestCase to
> execute, but this
> executes 12 testcases,
>
>
> Can you show the full output of nosetests -v?
>
> cheers,
>
> Chris
>
>
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20150925/3f27f5bc/attachment.htm>
More information about the testing-in-python
mailing list