Hello! Wondering what the overhead is, if any, ass...
# kotest
j
Hello! Wondering what the overhead is, if any, associated with creating a new test case?
Copy code
val myList: List<String> = ...
Copy code
myList.forEach {
 test("for-each element: $it") {
   // assertions here
 }
}
vs
Copy code
test("for the entire list") {
  myList.forEach {
    // assertions here
  }
}
Ignoring any design-considerations, would we expect there to be a noticeable difference here? What if the list had 100k elements? 100million elements? * Not a contribution *