The problem is simple: TestNG sends all the toString() outputs of objects sent by the DataProvider method to the Test method. This can cause gigantic outputs, like test reports, TestNG plugin output, etc, making them unreadable, or even crash Firefox.
The question: can I configure TestNG, so it won’t toString() everything to my face? Thanks
I did some investigation and I’m quite sure the toString() is called on every parameter that is passed by the data provider to the test method. So you shouldn’t pass collections or you have to override their toString().