Sai Datla

Greenhorn
+ Follow
since Oct 14, 2020
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sai Datla

I have a Junit4 Parametized test. I am trying to convert to Junit5 but getting an error on the constructor.

Junit4 ParametizedTest: The below works in JUnit4




when i try to convert the above test to Junit5, i get error on the constructor 'No ParameterResolver registered for parameter [java.lang.String arg0] in constructor BTDriver'.

Below is the JUnit5 Test.




Getting error on the constructor. If i remove the constructor, the values to the below method or null. Not sure how to pass them in.

runInFile(file_, testPattern_, detIdValidation_);

Please help.
3 weeks ago
I want to change the string in the groovy list.

For example, in groovy

def batch1=['Test1.java', 'Test2.java']

i want to convert the list to

['Test1.*', 'Test2.*'] (convert .java to *)

Please help
7 months ago