item vs node - what's the difference #10125
-
Hi all, I'm trying to get a better understanding on how some of the pytest hook work. I don't understand what the difference is between using Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
nodes is anything thats part of the collection tree, (files, modules, classes) items are the leaves of that tree and the individual tests |
Beta Was this translation helpful? Give feedback.
-
Thank @The-Compiler and @RonnyPfannschmidt ! Also I may be misunderstanding something potentially - does one or the other collect the information while the test is running or after all tests are completed? Edit: The |
Beta Was this translation helpful? Give feedback.
nodes is anything thats part of the collection tree, (files, modules, classes)
items are the leaves of that tree and the individual tests