Created
August 28, 2024 13:49
-
-
Save manno/9ca55e71a0a72bae6307fdee57ecf0f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ginkgo run -r -vv --skip ".*" --json-report e2e.json ./e2e | |
ruby -rjson -e 'j=JSON.parse(File.read("e2e.json")); j.each { |s| [main][upstream] | |
puts "# " + s["SuiteDescription"]; | |
puts s["SpecReports"].collect { |r| | |
l = r["ContainerHierarchyLabels"].flatten.join(", "); l = " <sup>(#{l})</sup>" unless l.empty?; | |
"* __" + r["ContainerHierarchyTexts"][0] + "__: " + r["ContainerHierarchyTexts"][1..-1].join(" ") + l | |
}; | |
puts "\n---" };' > tests.md; open tests.md |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment