Xctest 自定义测试报告XML文件

Xctest 自定义测试报告XML文件,xctest,xcodebuild,Xctest,Xcodebuild,我正在从命令行运行XCode UI测试,并将结果记录到junit XML文件中,如下所示: xcodebuild -workspace ./myapp.xcworkspace -scheme myapp-XCUITests -configuration Debug -destination 'platform=iOS Simulator,OS=12.4,name=iPad Air' test | xcpretty --report junit --output '~/myapp/test_out

我正在从命令行运行XCode UI测试,并将结果记录到junit XML文件中,如下所示:

xcodebuild -workspace ./myapp.xcworkspace -scheme myapp-XCUITests -configuration Debug -destination 'platform=iOS Simulator,OS=12.4,name=iPad Air' test | xcpretty --report junit --output '~/myapp/test_output/report.junit'
有没有办法向.junit文件添加自定义属性?这就是典型测试用例的样子:

<testcase classname='myapp.LoginScreenUITests' name='test_12345_ErrorMessage'>

我不喜欢在测试名称中嵌入测试用例ID。。。我更喜欢