This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Extending on this topci of dataprovider, can i provide two dataprovider for one test method.
like for example i have oneDataprovider which provides queryString and i use that to get values from SOLR for different criteria.
then i have to sort of various datapoint like last name, firstname and i have to again provide a sort by criteria. hence i need to have one more dataprovider.
First of all, even though I'm sure many people have told what a great technology this is, I want to still thank you because it helps many coders out more than you can imagine.
My questions is related to dataprovider methods. In my case I am simply looking to test around 200 pages on a site on our intranet. Nothing complicated. Everything is working, but in the report the only thing that I am wondering about it why every single parameter is shown for each test.
Let me explain. My dataprovider method creates an Object array for which each Object contains only an array of type String and length 1. The emailable report correctly reports that 200 tests were run and so on, but when I scroll down in the report, for each test (of 200) it shows all the parameters (all 200). So it doesn't just show the 1 parameter that relates to that instance of the test method, but instead it shows all the parameters every time.
I hope I have explained myself well enough. I am sure I am missing something. It is one of those cases where it feels like the technology should be able to display only the related parameter so for that reason I am fairly positive that I am doing something wrong.