Ticket #1518 enhancement new

Opened 7 years ago

Last modified 5 weeks ago

trial option to exit on failure

Reported by: jml Owned by:
Priority: normal Milestone:
Component: trial Keywords: review
Cc: Jerub, acapnotic, list-ener@…, thijs Branch:
Author: Launchpad Bug:

Description (last modified by thijs) (diff)

Add an option to Trial to make it stop the test run on the first error/failure.

py.test uses the option:

    -x, --exitfirst    exit instantly on first error or failed test.

which looks fine to me.

Attachments

exitfirst.patch Download (11.0 KB) - added by Julian 5 weeks ago.

Change History

1

Changed 7 years ago by jml

  • status changed from new to assigned

2

Changed 7 years ago by jml

  • priority changed from low to normal

3

Changed 7 years ago by jml

  • status changed from assigned to new

Unassigning. Too many other important tickets.

4

Changed 5 years ago by acapnotic

  • cc acapnotic added

5

Changed 3 years ago by exarkun

  • summary changed from Exit on failure to trial option to exit on failure

6

Changed 2 years ago by wrstlprmpft

  • cc list-ener@… added

7

Changed 2 years ago by thijs

  • cc thijs added
  • description modified (diff)

8

Changed 17 months ago by jml

  • owner jml deleted

Changed 5 weeks ago by Julian

9

Changed 5 weeks ago by Julian

  • keywords review added

Up for review.

Left out support for --jobs, since that apparently is non-trivial though I didn't look into it. Filed as #6436.

Note: See TracTickets for help on using tickets.