You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for this feature is now considerably less clear than I remember from when I started using uTest (the connection between "utest.* symbol" and the actual code isn't clear to me), but I think the intent is still that names can be omitted from tests.
Finally, I note that if I remove the returned value it works as expected. That is,
test("utest bug v3") {
test { // name removed
1 ==> 1
//"one"
}
test { // name removed
2 ==> 2
// "two"
}
}
The following tests yield my expected results:
that is,
However, if I make them unnamed, I think the intent is for the output to be identical. Even if not, they should at least run but don't appear to:
yields
The documentation for this feature is now considerably less clear than I remember from when I started using uTest (the connection between "
utest.*
symbol" and the actual code isn't clear to me), but I think the intent is still that names can be omitted from tests.Finally, I note that if I remove the returned value it works as expected. That is,
yields
I do see the "Apply" in the output for v2 and that the documentation has the body of the test be a function. So I wrote:
I think this is equivalent to the documentation. However, it too, does not appear to run all of the nested tests:
The text was updated successfully, but these errors were encountered: