ray/java/testng_custom_template.xml
Lixin Wei c4b9e9ffa5
[Java] Add entry to run custom test using bazel (#26073)
Now we can run custom java tests by:

0. `cp testng_custom_template.xml testng_custom.xml`
1. Specify test class/method in `testng_custom.xml`
2. `bazel test //java:custom_test --test_output=streamed`
2022-06-27 11:40:16 +08:00

18 lines
698 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite name="RAY suite" verbose="2" configfailurepolicy="continue">
<test name = "RAY test">
<classes>
<class name="io.ray.test.CrossLanguageInvocationTest">
<methods>
<include name="testPythonCallJavaFunction" />
</methods>
</class>
</classes>
</test>
<listeners>
<listener class-name="io.ray.test.RayAlterSuiteListener" />
<listener class-name="io.ray.test.TestProgressListener" />
<listener class-name="io.ray.test.SystemPropertyListener" />
</listeners>
</suite>