[progress Communities] [progress Openedge Abl] Forum Post: Re: Abl Unit Questions

  • Thread starter Thread starter Mark Abbott
  • Start date Start date
Status
Not open for further replies.
M

Mark Abbott

Guest
Hi Didier, OEUnit will also fail on the first failure in a Test case, the same as ABLUnit, correct. There is no way to change that behaviour that I am aware of. A DataProvider allows you to parameterise a Test case, so that it is called multiple times with different parameter values. For each "record" in the DataProvider, the Test case is called, regardless of the results of previous tests. So, for example, if you have 5 sets of parameter values in the DataProvider, and the third set of the five fails an assertion in the Test case, the Test case will still be called with the fourth and the fifth sets of parameters. Each call to the Test case is split out into a different line in the results, so you should be able to pin-point the test failure to the data. Hope that helps! Mark

Continue reading...
 
Status
Not open for further replies.
Back
Top