Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #58007 > unrolled thread
| Started by | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| First post | 2013-10-30 17:58 +1100 |
| Last post | 2013-10-30 17:58 +1100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: RUN ALL TEST Ben Finney <ben+python@benfinney.id.au> - 2013-10-30 17:58 +1100
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Date | 2013-10-30 17:58 +1100 |
| Subject | Re: RUN ALL TEST |
| Message-ID | <mailman.1795.1383116342.18130.python-list@python.org> |
Chandru Rajendran <Chandru_Rajendran@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
Back to top | Article view | comp.lang.python
csiph-web