nvim-neotest / neotest-python

MIT License
126 stars 38 forks source link

Results in parent TestClass affectes reports on nested ones #26

Closed dpopchev closed 1 year ago

dpopchev commented 1 year ago

Following behavior is using require('neotest').run.run().

While cursor TestFalseNegative we get false positive on TestGroup:

image

Opening the summayr window on TestGroup reviews it failed: image

Rerunning TestGroup, i.e. shows expected. behavior.

Similar effect when making outer fail, but intter pass: image

Using nvim-0.8.0 and pytest-7.2.0

EDIT: Missing any test in parent classes results in fail of nested one. image

rcarriga commented 1 year ago

Thanks for the report! Should be working as expected now :smile:

dpopchev commented 1 year ago

Can confirm, thanks!