Hi all,
If this is not the place, you can tell and I will remove my question.
In the past I saw a video about testing, where they isolated the path that only the failing test touched.
By isolating that path, it should be easier to view which code is incorrect.
At this moment, I can't find any information about this.
Does anyone have more information about this, such as a name, or even better, where I can find how to do this?
s
sam
12/01/2020, 7:45 PM
What do you mean by isolating the path - do you mean just running a single test ?
t
tieskedh
12/01/2020, 9:31 PM
I mean cross-reference the passed tests with the failing one.
(A passing test biases the code it crosses towards correct, the more passing tests cross a particular block of code, the more likely it is to be correct)
Although the easiest variant is just looking to places that only the failing test crosses and none of the other test
s
sam
12/01/2020, 9:58 PM
Oh I see what you mean, a bit like code coverage. This isn't something kotest does.
t
tieskedh
12/02/2020, 8:50 AM
Haha, thx.
I think this wasn't entirely correct of me to post it here.
I posted it here, because this is (to my knowledge) the best testing-framework for Kotlin.
Therefor, the change that someone in this topic knew the answer was the biggest...
m
Matteo Mirk
12/02/2020, 8:53 AM
Do we have any clue as how is this technique called?
t
tieskedh
12/02/2020, 8:54 AM
No, I only remembered a talk on this, that's why I couldn't find more info...
I only know I saw it on a talk a long while ago...
But I think the chance of finding a working method is pretty low or it's not working that well, as otherwise it would probably be wide spread.