FYI, this is documented here https://cwiki.apache.org/confluence/display/BEAM/Contribution+Testing+Guide#ContributionTestingGuide-HowtorunJavaNeedsRunnertests
On Fri, Feb 7, 2020 at 6:29 AM Ismaël Mejía <[email protected]> wrote: > Use > > ./gradlew :runners:direct-java:needsRunner --tests "*ParDoTest\$TimerTests" > > For ValidatesRunner for example: > /gradlew :runners:direct-java:validatesRunner --tests > "*ParDoTest\$TimerFamily*" > > Credit to Brian who helped me because I was struggling with the same issue > last week. > > > On Fri, Feb 7, 2020 at 3:19 PM Rehman Murad Ali < > [email protected]> wrote: > >> Hello Community, >> >> I have been trying to run test cases from CLI. ParDoTest.java has some >> inner classes with test functions (for example TimerTest). This is the >> command I have used to run the test: >> >> ./gradlew runners:direct-java:needsRunnerTests --tests >> "org.apache.beam.sdk.transforms.ParDoTest$TimerTests" >> >> Here is the error message: >> [image: image.png] >> >> >> I need assistance regarding this matter. >> >> >> *Thanks & Regards* >> >> >> >> *Rehman Murad Ali* >> Software Engineer >> Mobile: +92 3452076766 <+92%20345%202076766> >> Skype: rehman.muradali >> >
