mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 22:07:09 +01:00
Improve test error messages from flutter
For some reason the error message from flutter SDK might contain no useful information. Basically it just says that test failed and you should see the logs. Logs itself are provided as content of `print` event. This commit adds special processing for this behavior - it parses actual error message out of print event.
This commit is contained in:
parent
2c87efac07
commit
ea36be4653
4 changed files with 37 additions and 6 deletions
|
|
@ -160,8 +160,11 @@ The test description was:
|
|||
pass updateShouldNotify
|
||||
════════════════════════════════════════════════════════════════════════════════════════════════════",
|
||||
"line": 112,
|
||||
"message": "Test failed. See exception logs above.
|
||||
The test description was: pass updateShouldNotify",
|
||||
"message": "The following TestFailure object was thrown running a test:
|
||||
Expected: <2>
|
||||
Actual: <1>
|
||||
Unexpected number of calls
|
||||
",
|
||||
"path": "test/value_listenable_provider_test.dart",
|
||||
},
|
||||
"name": "pass updateShouldNotify",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue