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

  • Thread starter Thread starter Bharani Ranganath
  • Start date Start date
Status
Not open for further replies.
B

Bharani Ranganath

Guest
Hi, I have 6 methods/tests that i want to execute multiple times. For ex: I want to run the same tests when i create a company and also when i modify the company. So i have created a temp table that will have the method names that i want to execute. The code will be somelike this this : @test. method ValidateCreateCompany: for each temp table: dynamic-invoke(class object, temptable.methodname,value to the method,output errors). Assert:equals("",errors). end. I am expecting the Assert to log the error for each method it executes, but it is not. The first method executes and the error is displayed, but the subsequent methods will not.

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