Florian_Hofmann
10 years agoContributor
Log analysis by groups rather than items
Hi everybody, maybe I'm lacking some imagination and just don't find the right words that might provide me with an answer from existing sources (or make for a more descriptive subject), sorry if ye...
- 10 years agoHi Florian -
We also have some tests that are repeated many times with different data, but we don't exclude them from the log because sometimes the data itself is a clue to finding the root cause of a test failure.
What we did do in our logs is start using the Group feature and the Append Log and Pop Log features inside all of our tests. We use an Append/Pop for the beginning and end of each test, at the beginning and end of each Group, and at the beginning and end of any loops.
Take a look at my screenshot. It looks like a lot of extra work in the code but each of those indents in the log is an Append and that really helps the readability when a test step fails.