Currently, Function Studio supports the unit testing (UT) feature, including detecting the UT runner, running the UT code, and displaying the running results.

Detect the UT runner

Note
  • The UT class files must be stored in the src/test/java directory. A Java UT class file that is not stored in this directory cannot be identified as the Java UT class.
  • After the Java UT class file is created, add the @Test annotation of org.junit.Test to the test case.

Run the UT code

Click Run test to run the UT code.