[py-dev] Running the least run test

Simon Callan simon.callan at infoshare-is.com
Mon May 17 17:27:24 CEST 2010


Hi,

Having got good answers to my previous questions, I'm back for more help,
with a few related questions.

1) Is it possible to programmatically stop py.test halfway through running a
set of tests? I.e., for an external program to say "complete the current
test and then stop".

2) If I have a number of tests (let's say a1 to a5), and I aborted the test
during the running of test a3, is it possible for the next invocation of
py.test to remember where it got to, and start running again at test a4?

Simon

Infoshare Ltd
Millennium House
21 Eden Street
Kingston upon Thames
Surrey
KT1 1BL
United Kingdom

Phone: 		+ 44 (0) 20 8541 0111
Support:	+ 44 (0) 20 8481 4760
Web:		www.infoshare-is.com
E-mail:		info at infoshare-is.com

Infoshare Ltd is registered in England and Wales.
Registered Office as above.
Registered Number 2877612
VAT Number GB 678 1443 10

The content of this e-mail (and any attachment to it) is confidential. 
Any views or opinions do not represent the views or opinions 
of Infoshare Ltd.
If you have received this e-mail in error please notify the sender 
and delete it. You may not use, copy or disclose the information 
in any way. 

Infoshare Ltd monitors incoming and outgoing e-mails.

Please consider the environment. Do you really need to print 
this email?





More information about the Pytest-dev mailing list