Skip to content

Commit

Permalink
version
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasdiblasi-avenue committed Jul 26, 2024
1 parent 25d4c0a commit b33d6eb
Show file tree
Hide file tree
Showing 5 changed files with 337 additions and 5 deletions.
332 changes: 332 additions & 0 deletions .dart_tool/package_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,332 @@
{
"configVersion": 2,
"packages": [
{
"name": "_fe_analyzer_shared",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/_fe_analyzer_shared-67.0.0",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "analyzer",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/analyzer-6.4.1",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "args",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/args-2.5.0",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "async",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/async-2.11.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "boolean_selector",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "clock",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/clock-1.1.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "collection",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/collection-1.18.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "convert",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/convert-3.1.1",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "coverage",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/coverage-1.8.0",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "crypto",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/crypto-3.0.3",
"packageUri": "lib/",
"languageVersion": "2.19"
},
{
"name": "file",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/file-7.0.0",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "frontend_server_client",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/frontend_server_client-4.0.0",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "glob",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/glob-2.1.2",
"packageUri": "lib/",
"languageVersion": "2.19"
},
{
"name": "http_multi_server",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/http_multi_server-3.2.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "http_parser",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/http_parser-4.0.2",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "intl",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/intl-0.18.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "io",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/io-1.0.4",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "js",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/js-0.7.1",
"packageUri": "lib/",
"languageVersion": "3.1"
},
{
"name": "lints",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/lints-3.0.0",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "logging",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/logging-1.2.0",
"packageUri": "lib/",
"languageVersion": "2.19"
},
{
"name": "matcher",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/matcher-0.12.16+1",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "meta",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/meta-1.15.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "mime",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/mime-1.0.5",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "node_preamble",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/node_preamble-2.0.2",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "package_config",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/package_config-2.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "path",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/path-1.9.0",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "petitparser",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/petitparser-6.0.2",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "pool",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/pool-1.5.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "pub_semver",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/pub_semver-2.1.4",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "shelf",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/shelf-1.4.1",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "shelf_packages_handler",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/shelf_packages_handler-3.0.2",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "shelf_static",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/shelf_static-1.1.2",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "shelf_web_socket",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/shelf_web_socket-2.0.0",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "source_map_stack_trace",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/source_map_stack_trace-2.1.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "source_maps",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/source_maps-0.10.12",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "source_span",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/source_span-1.10.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "stack_trace",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/stack_trace-1.11.1",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "stream_channel",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/stream_channel-2.1.2",
"packageUri": "lib/",
"languageVersion": "2.19"
},
{
"name": "string_scanner",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/string_scanner-1.3.0",
"packageUri": "lib/",
"languageVersion": "3.1"
},
{
"name": "term_glyph",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/term_glyph-1.2.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "test",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/test-1.25.7",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "test_api",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/test_api-0.7.2",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "test_core",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/test_core-0.6.4",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "testreport",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/testreport-2.0.1",
"packageUri": "lib/",
"languageVersion": "2.14"
},
{
"name": "typed_data",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/typed_data-1.3.2",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "vm_service",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/vm_service-14.2.4",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "watcher",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/watcher-1.1.0",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "web",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/web-0.5.1",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "web_socket",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/web_socket-0.1.6",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "web_socket_channel",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/web_socket_channel-3.0.1",
"packageUri": "lib/",
"languageVersion": "3.3"
},
{
"name": "webkit_inspection_protocol",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/webkit_inspection_protocol-1.2.1",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "xml",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/xml-6.5.0",
"packageUri": "lib/",
"languageVersion": "3.2"
},
{
"name": "yaml",
"rootUri": "file:///Users/lucasblasi/.pub-cache/hosted/pub.dev/yaml-3.1.2",
"packageUri": "lib/",
"languageVersion": "2.19"
},
{
"name": "flutter_junit",
"rootUri": "../",
"packageUri": "lib/",
"languageVersion": "2.14"
}
],
"generated": "2024-07-26T15:18:25.742497Z",
"generator": "pub",
"generatorVersion": "3.3.4"
}
Empty file added CHANGELOG.md
Empty file.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Para gerar um relatório XML JUnit a partir dos resultados dos testes Dart, siga

2. Converta os resultados do teste JSON para o formato XML JUnit:
```sh
dart pub global run flutter_junit:run --input exemplo.jsonl --output TEST-relatorio.xml
dart pub global run flutter_junit:generate --input exemplo.jsonl --output TEST-relatorio.xml
```

### Exemplo
Expand Down Expand Up @@ -62,11 +62,11 @@ Após a instalação, você pode simplificar os comandos:
Para testes Dart:
```Shell
dart test simple_test.dart --reporter json | run
dart test simple_test.dart --reporter json | generate
```

Para executar todos os testes Flutter:

```Shell
flutter test --machine | run
flutter test --machine | generate
```
File renamed without changes.
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: flutter_junit
version: 2.0.5
version: 1.0.0
description:
Generate JUnit XML reports from dart test runs. Transforms the output of dart or flutter tests to
JUnit style XML
Expand All @@ -18,4 +18,4 @@ environment:
sdk: ">=2.14.0 <3.0.0"

executables:
run:
generate:

0 comments on commit b33d6eb

Please sign in to comment.