diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Contributions/cmd/brew-test-bot.xml.erb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.xml.erb b/Library/Contributions/cmd/brew-test-bot.xml.erb new file mode 100644 index 000000000..67ec1e38b --- /dev/null +++ b/Library/Contributions/cmd/brew-test-bot.xml.erb @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<testsuites name="brew-test-bot"> + <% tests.each do |test| %> + <testsuite name="<%= test.name %>" tests="<%= test.steps.count %>"> + <% test.steps.each do |step| %> + <testcase name="<%= step.name %>" status="<%= step.status %>"> + <% unless step.status == :passed %> + <failure /> + <% end %> + </testcase> + <% end %> + </testsuite> + <% end %> +</testsuites> |
