leadpony / jsonp-test-suite

Test Suite for implementations of Jakarta JSON Processing API (JSON-P)
Apache License 2.0
3 stars 2 forks source link

I wish the failing tests used zero-based indexes #8

Open ssilverman opened 3 years ago

ssilverman commented 3 years ago

It would be nice if the failing/errored tests used zero-based indexes when printing which data caused the failure (instead of 1-based indexes). Or is this in the test container and not in your code?

leadpony commented 3 years ago

@ssilverman Parameterized Test in JUnit5 assigns 1-based index to test cases. Please see the console shown in https://junit.org/junit5/docs/current/user-guide/#writing-tests-parameterized-tests I have no idea whether we can change this behavior or not.