rtfeldman / rtfeldman/node-test-runner
testCompleted event should contain file path
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 140
- Forks
- 83
- Avg merge
- 8h 25m
- Merged PRs (30d)
- 5
Description
If I run elm-test --report json elm-test will find all files in my test folder and run them.
Unfortunatly the testCompleted event, doesn't let us know which file it is from.
{
"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 tracing where the JSON output for the testCompleted event is assembled when running elm-test --report json. Compare the event data with the test files discovered by the runner, then verify that each event includes its source file path and that the existing JSON report output remains valid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli, testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100