通過記錄用於提取測試平靜走到成果 下面isthe代碼,它不工作提取測試輸出寧靜BDD
OutcomeFormat格式= OutcomeFormat.XML; TestOutcomes結果= TestOutcomeLoader.loadTestOutcomes()INFORMAT(格式)
下面代碼及其工作試過了,
OutcomeFormat格式= OutcomeFormat.JSON。 TestOutcomeLoaderBuilder outcome = TestOutcomeLoader.loadTestOutcomes()。inFormat(format); TestOutcomes out = outcomes.from(new File(「」));
問題是我需要在@AfterScenario中的測試結果,但事情是在整個執行嘗試更改pom後生成的寧靜報告,但沒有幫助。有沒有其他的方法可以提取測試結果?
我想提取測試用例(整個GWT的例子)和測試結果上傳到集會。 –