javaintellij-ideajunit4parameterized-unit-test

How to see the full set of parameters that fail a parameterized test in IntelliJ?


I have a test class that uses org.junit.runners.Parameterized. How can I identify the full set of parameters out of the set of three that fails in a test in IntelliJ 14?

enter image description here


Solution

  • The [1] on the left side is the index of your parameters array that has failed in your test. So go to your test class, look up your parameters for that test, and the second ([1] in a zero-based array) parameters entry is the one that failed your test.