Skip to content

Conversation

coriolinus
Copy link
Member

Per slack, tests.toml has these semantics:

  • a test whose uuid's value is true has been implemented in the test suite
  • a test whose uuid's value is false has been rejected for the test suite
  • a test whose uuid is missing from tests.toml is new, and has been neither
    approved nor rejected.

Before, the assumption was that no tests in the suite were rejected.
Therefore, it is not appropriate for any test to be labeled false.
Therefore, we comment out those lines by this script:

fd -uutf tests.toml -x \
    sed -E -i -e '/"?[-a-zA-Z0-9]+"? = false/ {
        i '\#' this test may not be in the suite but has not been intentionally rejected
        s/^/# /
    }'

Per [slack](https://exercism-team.slack.com/archives/CR91YFNG3/p1602838984216700?thread_ts=1602837142.216600&cid=CR91YFNG3),
`tests.toml` has these semantics:

- a test whose uuid's value is `true` has been implemented in the test suite
- a test whose uuid's value is `false` has been rejected by the test suite
- a test whose uuid is missing from `tests.toml` is new, and has been neither
  approved nor rejected.

Before, the assumption was that no tests in the suite were rejected.
Therefore, it is not appropriate for any test to be labeled `false`.
Therefore, we comment out those lines by this script:

```bash
fd -uutf tests.toml -x \
    sed -E -i -e '/"?[-a-zA-Z0-9]+"? = false/ {
        i '\#' this test may not be in the suite but has not been intentionally rejected
        s/^/# /
    }'
```
@coriolinus coriolinus merged commit 83ab572 into master Oct 16, 2020
@coriolinus coriolinus deleted the remove-declined-tests branch October 16, 2020 10:43
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 this pull request may close these issues.

2 participants