mirror of
https://github.com/apache/impala.git
synced 2025-12-19 09:58:28 -05:00
The names of webUI's JS tests seem arbitrary and vary widely from the
the general naming scheme of other test framework generated JUnitXMLs.
This patch provides consistency to the naming scheme.
All the webUI JS tests follow the following naming scheme now.
webui.js_tests.<module>.<function>.<description>
jest-junit package has been configured to use the following config -
{
"classNameTemplate": "{classname}",
"titleTemplate": "{title}",
"ancestorSeparator": "."
}
Example:
Within JUnitXML,
<testsuites ... >
...
<testsuite
name = "webui.js_tests.fragment_diagram.getSvgTests"
... >
...
<testcase
classname="webui.js_tests.fragment_diagram.getSvgTests"
name="basic_case.SvgRect"
... >
</testcase>
...
</testsuite>
...
</testsuites>
Change-Id: I5715d47cef5c1c3c06b4f2de7fe467aee3de8868
Reviewed-on: http://gerrit.cloudera.org:8080/23071
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Reviewed-by: Riza Suminto <riza.suminto@cloudera.com>