Open RadCod3 opened 6 months ago
Found a workaround for this by including the newly added tests before the old tests like so,
<suite name="commands-test-suite">
<test name="diagnostics-tests" preserve-order="true">
<packages>
<package name="io.ballerina.cli.diagnostics"/>
</packages>
</test>
<test name="command-tests" preserve-order="true">
<classes>
<class name="io.ballerina.cli.cmd.AddCommandTest" />
:
:
<class name="io.ballerina.cli.cmd.RunBuildToolsTaskTest"/>
</classes>
</test>
</suite>
Which runs the tests I added AnnotateDiagnosticsTest
and DiagnosticAnnotationTest
Description
As part of the first task of https://github.com/ballerina-platform/ballerina-lang/issues/42124, I added tests for my additions to ballerina-cli https://github.com/ballerina-platform/ballerina-lang/pull/42236. However, those tests do not seem to run on the github actions and when I tried running
./gradlew :ballerina-cli:test
locally that too doesn't run them. Whats even more interesting is that they do indeed run when I comment out certain tests in thetestng.xml
file in ballerina-cli.