Hey, On Thu, May 02, 2019 at 11:22:08AM +0200, Florian Schulze wrote: > Is there a way to run a bunch of tests like with --lf but don't clear > the cache when they pass? This would be mighty helpful for git bisect. > For now I helped myself by copying the test ids, but that requires > editing the list copied from the terminal before being able to paste > them to the command line.
I've needed something similar before (like when I want to run a set of failing tests, but maybe run some other set in between). What would be nice is something like a --save-collected <name> and --load-collected <name>. Then you could do "--lf --save-collected bisect" once, and do "--load-collected bisect" to rerun exactly those tests. I wanted to write a plugin for that for months (if not years) now, but never got around to it. So far I've also done what you described. Florian (the other one :P) -- https://www.qutebrowser.org | m...@the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/
signature.asc
Description: PGP signature
_______________________________________________ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev