-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature-request] Add support for creating single html report for multiple xml reports #3
Comments
Yes. Would it be something like? junit2html < *.xml > test-report.html |
Not sure how this can be read through STD.in It might require to switch to flag with comma delimited. |
Unfortunately writing the following project reveals that this usage will not work: package main
import (
"bufio"
"fmt"
"os"
)
func main() {
scanner := bufio.NewScanner(os.Stdin)
for scanner.Scan() {
fmt.Println(scanner.Text())
}
} Test file: echo "aaaaa
aaaaa
aaaaa
aaaaa" > a.temp
echo "bbbb
bbbb
bbbb
bbbb" > b.temp
go run . < *.temp bash just doesn't like the expression it will return: $ bash test.sh
test.sh: line 12: *.temp: ambiguous redirect zsh will work with the exression but there isn't any way to diffrentiate between the files: $ zsh test.sh
aaaaa
aaaaa
aaaaa
aaaaa
bbbb
bbbb
bbbb
bbbb |
I've prepared something that works with glob patterns... I still want to clean it up so it won't have multiple for lines but would love to know what you think... |
fix: add test results with status "error"
I can probably work on that on a fork and if you agree you can adopt it 🙏
The text was updated successfully, but these errors were encountered: