-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Add task ID tags to concept exercise tests #476
Conversation
@mpizenberg the CI is failing, I think it's because of mpizenberg/elm-tooling-action, I think it only has |
@jiegillet You're right, I didn't update elm-tooling-action to use the latest version of the elm-tooling lib, which does support elm-test-rs v2. This was because we had many discussions with @lydell to eventually be able to support any binary within elm-tooling and I was waiting for that before updating elm-tooling-action. But we both got busy on other things. For us right now, the easiest fix is updating the version of elm-tooling here: https://github.com/mpizenberg/elm-tooling-action/blob/master/package.json#L11 |
I just published a new v1.3 elm-tooling-action and updated the dependency here to be able to download v2.0 of elm-test-rs. |
HI @mpizenberg , is your comment meant for exercism/elm-test-runner#36? |
@ceddlyburge (sorry to butt in) no, it was meant for here. I wanted to upgrade to elm-test-rs v2.0 here too (for running The rest of the PR could still use a review :) |
Well, I am slightly confused as to what is going on! But I checked out these two pull requests, and I ran the Bandwagoner exercise from this pull request through the new test runner in the other pull request, and it does set the "task_id" correctly, as can be seen in the results.json copied below.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't checked that all the "describe" numbers accurately reflect the tasks in the documentation, but otherwise everything looks good.
Thank you! |
Thanks @ceddlyburge for having a look! 🙏 Yes I meant to check that all the describe numbers correspond to the right task IDs. |
I double checked everything, all good, I'm merging :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! This is also an example where the smoke tests would be incredibly useful! Just to check: are there existing exercises that have a "describe N" where they should not point to a task?
Yes, now that these are merged, I'll create smoke tests with them. And no, at the moment, there are no other exercises that have a
|
Linked to this PR.
This PR tags concept exercise tests to their task ID, by grouping them with
describe "N"
whereN
is the task number.elm-test-rs
v2.0 will use that description to assign tags in the test runner.Make sure to use the "Hide whitespace" option, otherwise it will impossible to review.
The PR also updates the version of
elm-test-rs
to v2.0 to match the test runner and cleans up outdated comments inbin/build.sh
.