Gary, unfortunately nobody will be able to answer that without having a look at the particular Test file. Also, I am not sure if that is a Netbeans problem. Are you able to run the tests with Maven from the shell?
Best regards Andreas On Sat, 2020-12-19 at 03:32 +0000, Greenberg, Gary wrote: > I am working on a pretty large project. > For many of Java classes I have created Junit tests and everything > was working fine until today. > Today, I finished another class and using Tools->Create/Update Tests > generated test class for it. > The class has only two public methods but one is not finished yet. So > I deleted one test template and > updated another one to reflect the method functionality. > Compilation was successful, but when I looked through the build log, > I see that this newly added test was not executed. > I selected the class in projects and from the context menu clicked on > ‘Test’. > As a result I got this: > --------------------------------------------------------------------- > --- > BUILD FAILURE > --------------------------------------------------------------------- > --- > Total time: 19.124 s > Finished at: 2020-12-18T19:25:45-08:00 > --------------------------------------------------------------------- > --- > Failed to execute goal org.apache.maven.plugins:maven-surefire- > plugin:2.22.2:test (default-cli) on project universal-batch- > processor: No tests were executed! (Set -DfailIfNoTests=false to > ignore this error.) -> [Help 1] > > To see the full stack trace of the errors, re-run Maven with the -e > switch. > Re-run Maven using the -X switch to enable full debug logging. > > I didn’t get why the test was not executed? I do not see differences > with other test. Can anyone give me a hint? > Thanks, > Gary Greenberg > Staff Software Engineer > Data Product Development, BI-A > E: ggree...@visa.com > M: 650-269-7902 > > EmailSig-TaglineVersion >