rtfeldman / rtfeldman/node-test-runner
Test completed json doesn't include location
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 140
- Forks
- 83
- Avg merge
- 8h 25m
- Merged PRs (30d)
- 5
Description
It would be nice to get the location of the failure. Am I missing something here?
The command I ran was: elm-test "tests\\RoutingTests.elm" --report json
The current return looks like this:
{
"event": "testCompleted",
"status": "fail",
"labels": [
"RoutingTests",
"Route.fromUrl",
"Parsing hash: \"#login\""
],
"failures": [
{
"given": null,
"message": "Expect.equal",
"reason": {
"type": "Equality",
"data": {
"expected": "Just Login",
"actual": "Nothing",
"comparison": "Expect.equal"
}
}
}
],
"duration": "3"
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running elm-test "tests\\RoutingTests.elm" --report json and inspect the testCompleted report path that produces the shown payload. Trace whether failure locations are available, then verify the JSON includes location data for this failure without breaking its existing fields.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- testing-qa, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100