[pytest-dev] Keeping failing test ids for git bisect

nicoddemus at gmail.com nicoddemus at gmail.com
Thu May 2 07:24:16 EDT 2019


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi Florians,

> Any hints on which hooks would be most useful for gathering the failing
tests (or maybe a hint for existing code to look at)? Then I might write
that plugin :)

I suggest to take a look at the implementation of the LFPlugin, which uses
this hook to identify if a test passed/failed:

https://github.com/pytest-dev/pytest/blob/f17b734989f07de2317bb60191bf51a47593b760/src/_pytest/cacheprovider.py#L173-L177


This might give you some ideas on how to write such a plugin.

Cheers,
-----BEGIN PGP SIGNATURE-----
Version: FlowCrypt 6.7.7 Gmail Encryption
Comment: Seamlessly send and receive encrypted email

wsFcBAEBCgAGBQJcytNdAAoJEAcNJkopMu2+rxYP/R1ZOcJ16hC5Hz6YkawI
Kv533DJCLWU3VLEDHrzjDp0G+Qx2UbXGiHeypCOH0ph8AE3a2AP4naUEgk7A
J2IrIx3lVGuApcq+apf4GXYLPihB7qaNyjnOJT35wwbqoI37R7tWZrT76TRn
5/Y9N4tB+fM9XwpDZUay4VZA+YiNHzHgG/xZxuXUvNyXPDQm27e4q+TcL6gw
l9/tm2Hcbfz78FMMMPwhZnph7yLHrcCfW4B874xz2qaQp5SyFbE8rJfrb6f8
r9LKDT/QaBQZqHEIoYIHpdMHzqB/e/gaz3KZLeyRAYbJQsJQClo2sQc6VE2c
X5wh88LYTnPtQdRYLXmlElzrbJe77vQ4FrHJmdZGFm6UptPE3uP90LVY+a/6
x3XMciuu+zRFulCzZFKulI6IoS1ER39wSqe7iUe/13irJ1ZfhPcwzJA+fqxi
0SsABPwPQcdDQGf3NZUBv0efZJz/o+pCoSgg4Al7fa+uoykeY05I8LQUfcnW
xSIA/XCnT6xAYKxQfw6LwLJuU+hcgHUeLqR16DcPgqGf8K707fhUrGQah4uU
xFlRLFYvcQ1cXb7rQdE4RBPgynUdTr45AR0EoACG8LeiaVzNk9sV6r5xZU3m
Ygf6e3hKrxv88+D6tn69+s75U7ETcjzwxW1xrizZuaPuC4QxdMrwzVc+ULDp
hX/c
=nD0t
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x8271958554DEDD51.asc
Type: application/pgp-keys
Size: 6208 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20190502/331bfa7c/attachment-0001.key>


More information about the pytest-dev mailing list