https://pantsbuild.org/ logo
b

brainy-solstice-27042

08/26/2022, 7:54 PM
Does pants acknowledge pytest subtests? I have a use case where outside of pants pytest shows the subtests and executes them all even if one test fails. However if those same tests are run in pants, pants only executes until one fails then aborts the execution. I'm on pants 1.30 currently, but am curious if 1.30 supports subtests, or if subtests may be recognized in newer versions of pants
e

enough-analyst-54434

08/26/2022, 9:55 PM
In short, Pants just knows pytest, but you can add plugins to your heart's content.
b

brainy-solstice-27042

08/27/2022, 9:51 PM
No I didn't, I wasn't aware that you could import pytest plugins as needed. I'll try it out!