RUN ALL TEST

2013-10-30 Thread Chandru Rajendran
Hi all,
I am building my script. I want to run all the test scripts.
Currently I am running the code python setup.py test, it is running only the 
some tests in my directory. I want to run all the tests in my directory.
Can you help please.

Thanks  Regards,
Chandru

 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are 
not
to copy, disclose, or distribute this e-mail or its contents to any other 
person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken
every reasonable precaution to minimize this risk, but is not liable for any 
damage
you may sustain as a result of any virus in this e-mail. You should carry out 
your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this 
e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: RUN ALL TEST

2013-10-30 Thread Ben Finney
Chandru Rajendran chandru_rajend...@infosys.com writes:

 Hi all,

Welcome!

Please remove the mass of legalese nonsense (this is a public discussion
forum, your message is clearly not confidential), or use a mail system
which does not add that when discussing here.

 I am building my script. I want to run all the test scripts.

What version of Python are you using?

Test discovery is now a part of the standard library ‘unittest’ module
URL:http://docs.python.org/3/library/unittest.html#unittest-test-discovery.

If you are using Python earlier than version 2.7, you can use a
third-party module for adding test discovery to the standard test runner
URL:https://pypi.python.org/pypi/unittest2.

 Currently I am running the code python setup.py test

That invokes whatever the ‘setup.py’ defines as the test suite and
runner. You'll need to change that in order to get it to run the tests
differently.

-- 
 \“I used to work in a fire hydrant factory. You couldn't park |
  `\  anywhere near the place.” —Steven Wright |
_o__)  |
Ben Finney

-- 
https://mail.python.org/mailman/listinfo/python-list