File tree Expand file tree Collapse file tree
webtau-report/src/main/java/com/twosigma/webtau/report Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919import com .twosigma .webtau .cfg .ConfigValue ;
2020import com .twosigma .webtau .console .ConsoleOutputs ;
2121import com .twosigma .webtau .console .ansi .Color ;
22+ import com .twosigma .webtau .meta .WebTauMeta ;
2223import com .twosigma .webtau .utils .FileUtils ;
2324import com .twosigma .webtau .utils .JsonUtils ;
2425import com .twosigma .webtau .utils .ResourceUtils ;
@@ -55,6 +56,7 @@ private String generateHtml(Report report) {
5556 Map <String , Object > reportAsMap = new LinkedHashMap <>();
5657 reportAsMap .put ("config" , configAsListOfMaps (getCfg ().getCfgValuesStream ()));
5758 reportAsMap .put ("summary" , report .createSummary ().toMap ());
59+ reportAsMap .put ("version" , WebTauMeta .getVersion ());
5860 reportAsMap .put ("tests" , report .getTestEntries ().stream ()
5961 .map (ReportTestEntry ::toMap ).collect (Collectors .toList ()));
6062
You can’t perform that action at this time.
0 commit comments