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

sync: Update tests.toml if the corresponding canonical-data.json alters a test's description #43

Open
ee7 opened this issue Oct 14, 2020 · 1 comment

Comments

@ee7
Copy link
Member

ee7 commented Oct 14, 2020

Example

  1. Say that a track has implemented an exercise bob, which has an up-to-date tests.toml file.
  2. Change the description of a test in the canonical-data.json of that exercise in exercism/problem-specifications (assuming that we decide that the description is mutable).
  3. Run configlet sync -u --tests

Current behaviour

The tests.toml file is not changed.

Expected behaviour

The tests.toml file should contain the new description

Context

See exercism/problem-specifications#1687 (comment).

@ee7 wrote:

Should it update the tests.toml file to overwrite the comment that contains the description?"
I think the answer is yes, but it currently doesn't.

@iHiD wrote:

If we went down the mutable route, then yes it should.

@ErikSchierboom
Copy link
Member

Agreed!

@ee7 ee7 changed the title Update tests.toml if the corresponding canonical-data.json alters a test's description sync: Update tests.toml if the corresponding canonical-data.json alters a test's description May 9, 2021
@ee7 ee7 added the cmd: sync label May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants