Skip to content

How to handle tests that need to reboot? #7818

Answered by The-Compiler
silversocket asked this question in Q&A
Discussion options

You must be logged in to vote

No $1million reward needed, you could probably write a plugin doing this kind of thing. It would need to somehow keep track of which tests are already executed and write that to a file, and then use that to resume afterwards. Check pytest's own --lf or --stepwise for inspiration.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@silversocket
Comment options

@The-Compiler
Comment options

@silversocket
Comment options

@The-Compiler
Comment options

@nicoddemus
Comment options

Answer selected by silversocket
Comment options

You must be logged in to vote
2 replies
@silversocket
Comment options

@RonnyPfannschmidt
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants