Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test runner needs correctly formatted output from TesterMain #140

Closed
pclausen opened this issue Jul 2, 2021 · 1 comment · Fixed by #143
Closed

Test runner needs correctly formatted output from TesterMain #140

pclausen opened this issue Jul 2, 2021 · 1 comment · Fixed by #143

Comments

@pclausen
Copy link
Contributor

pclausen commented Jul 2, 2021

Test runner needs correctly formatted output from TesterMain

see https://github.com/exercism/docs/blob/main/building/tooling/test-runners/interface.md

{
  "version": 2,
  "status": "fail",
  "message": null,
  "tests": [
    {
      "name": "Test that the thing works",
      "status": "fail",
      "message": "Expected 42 but got 123123",
      "output": "Debugging information output by the user",
      "test_code": "assert_equal 42, answerToTheUltimateQuestion()"
    }
  ]
}

Current output missing "message" and "test_code" items.

     { "name"  : "Test 23: non-question ending with whitespace",
       "status": "fail" }
   ],
   "version": 2,
   "status": "fail"
 }
@pclausen
Copy link
Contributor Author

pclausen commented Jul 2, 2021

Issue also tracked here: exercism/fortran-test-runner#3

pclausen added a commit that referenced this issue Jul 2, 2021
* Improving json format and clean up

* Remove optional arguments of assert_equal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant