Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment has been deleted.
I'm new to java so it may be a silly question, but how can some tests expect an Exception AND a result ? For me, the function either returns or throws. Or maybe I don't understand the trace ?
Here is an example:
Log:
Expected exception for multiple label caught: java.lang.RuntimeException: An error occurred during execution: Label already used.
Trace:
multiple label expected:<[3]> but was:<[]>
Edit:
I was "preprocessing" the code looking for labels before running it, so I split the exception management into 2 functions. I got it to work by managing all exceptions in the run phase. I did it by stocking the position of the bug in the pre-run phase.
This comment is hidden because it contains spoiler information about the solution