This stack trace is much more informative; it shows which exception was thrown (IllegalStateException) and from where. That makes it far easier to explain the test setups failure.
英
美
- 这个堆栈跟踪含有更多的信息量。它表明了异常类型,以及产生位置。这使得可以更容易解释为何测试建立失败。