Compare commits
3 Commits
97c2cfe
...
e5a2ec8d51
Author | SHA1 | Date | |
---|---|---|---|
e5a2ec8d51 | |||
96da109ac1 | |||
f376be9e7a |
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
|||||||
/vendor
|
/vendor
|
||||||
/bin
|
/bin
|
||||||
/release
|
/release
|
||||||
|
*-packr.go
|
||||||
|
packrd
|
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ build: pack
|
|||||||
CGO_ENABLED=0 go build -mod vendor -v -o bin/junit2md ./cmd/junit2md
|
CGO_ENABLED=0 go build -mod vendor -v -o bin/junit2md ./cmd/junit2md
|
||||||
|
|
||||||
pack:
|
pack:
|
||||||
packr2
|
cd cmd/junit2md && packr2 -v
|
||||||
|
|
||||||
watch:
|
watch:
|
||||||
modd
|
modd
|
||||||
|
33
README.md
33
README.md
@ -2,6 +2,39 @@
|
|||||||
|
|
||||||
Utilitaire de transformation de rapport de tests [JUnit](https://junit.org/) (un format courrant dans les frameworks de test) au format [Markdown](https://en.wikipedia.org/wiki/Markdown) via un template personnalisable.
|
Utilitaire de transformation de rapport de tests [JUnit](https://junit.org/) (un format courrant dans les frameworks de test) au format [Markdown](https://en.wikipedia.org/wiki/Markdown) via un template personnalisable.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
```
|
||||||
|
junit2md <raport_junit1.xml> <raport_junit1.xml> <etc>
|
||||||
|
```
|
||||||
|
|
||||||
|
La version Markdown sera envoyée sur la sortie standard.
|
||||||
|
|
||||||
|
## Démarrer avec les sources
|
||||||
|
|
||||||
|
### Dépendances de développement
|
||||||
|
|
||||||
|
- [Go >= 1.13.4](https://golang.org/)
|
||||||
|
- [modd](https://github.com/cortesi/modd)
|
||||||
|
- [packr2](https://github.com/gobuffalo/packr)
|
||||||
|
|
||||||
|
### Procédure d'amorçage
|
||||||
|
|
||||||
|
```
|
||||||
|
git clone https://forge.cadoles.com/Cadoles/junit2md.git
|
||||||
|
cd junit2md
|
||||||
|
make watch
|
||||||
|
```
|
||||||
|
|
||||||
|
### Générer une release
|
||||||
|
|
||||||
|
```
|
||||||
|
make release
|
||||||
|
```
|
||||||
|
|
||||||
|
Les archives contenant les releases seront disponibles dans le répertoire `release/`.
|
||||||
|
|
||||||
|
|
||||||
## Licence
|
## Licence
|
||||||
|
|
||||||
[GPL-3.0](./LICENSE)
|
[GPL-3.0](./LICENSE)
|
@ -13,7 +13,8 @@
|
|||||||
|
|
||||||
**Total duration**: {{ .Totals.Duration }}
|
**Total duration**: {{ .Totals.Duration }}
|
||||||
|
|
||||||
### Details
|
<details>
|
||||||
|
<summary>See details</summary>
|
||||||
|
|
||||||
| Status | Name | Class |
|
| Status | Name | Class |
|
||||||
|--------|------|-------|
|
|--------|------|-------|
|
||||||
@ -27,6 +28,8 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
{{if or (gt .Totals.Error 0) (gt .Totals.Failed 0) }}
|
{{if or (gt .Totals.Error 0) (gt .Totals.Failed 0) }}
|
||||||
#### Errors
|
#### Errors
|
||||||
{{end}}
|
{{end}}
|
||||||
|
Reference in New Issue
Block a user