Update tests.toml files to latest spec
Track maintainers found that they wanted to add comments to the tests.toml file to e.g. indicate _why_ a test was not included. Unfortunately, running configlet sync would re-generate the entire file so any manually added comments were lost. In this commit we're updating the format of tests.toml files to support adding comments. We do this by creating a separate table for each test case which has `description` and `include` fields. Tracks are then free to add additional fields, like a `comment` field, but also anything they feel might be useful to them. For more information, see this discussion: https://github.com/exercism/configlet/issues/186
This commit is contained in:
committed by
BethanyG
parent
e34801a4c6
commit
589f14dd59
@@ -1,31 +1,43 @@
|
||||
[canonical-tests]
|
||||
# This is an auto-generated file. Regular comments will be removed when this
|
||||
# file is regenerated. Regenerating will not touch any manually added keys,
|
||||
# so comments can be added in a "comment" key.
|
||||
|
||||
# data is retained
|
||||
"e9c93a78-c536-4750-a336-94583d23fafa" = true
|
||||
[e9c93a78-c536-4750-a336-94583d23fafa]
|
||||
description = "data is retained"
|
||||
include = true
|
||||
|
||||
# smaller number at left node
|
||||
"7a95c9e8-69f6-476a-b0c4-4170cb3f7c91" = true
|
||||
[7a95c9e8-69f6-476a-b0c4-4170cb3f7c91]
|
||||
description = "smaller number at left node"
|
||||
include = true
|
||||
|
||||
# same number at left node
|
||||
"22b89499-9805-4703-a159-1a6e434c1585" = true
|
||||
[22b89499-9805-4703-a159-1a6e434c1585]
|
||||
description = "same number at left node"
|
||||
include = true
|
||||
|
||||
# greater number at right node
|
||||
"2e85fdde-77b1-41ed-b6ac-26ce6b663e34" = true
|
||||
[2e85fdde-77b1-41ed-b6ac-26ce6b663e34]
|
||||
description = "greater number at right node"
|
||||
include = true
|
||||
|
||||
# can create complex tree
|
||||
"dd898658-40ab-41d0-965e-7f145bf66e0b" = true
|
||||
[dd898658-40ab-41d0-965e-7f145bf66e0b]
|
||||
description = "can create complex tree"
|
||||
include = true
|
||||
|
||||
# can sort single number
|
||||
"9e0c06ef-aeca-4202-b8e4-97f1ed057d56" = true
|
||||
[9e0c06ef-aeca-4202-b8e4-97f1ed057d56]
|
||||
description = "can sort single number"
|
||||
include = true
|
||||
|
||||
# can sort if second number is smaller than first
|
||||
"425e6d07-fceb-4681-a4f4-e46920e380bb" = true
|
||||
[425e6d07-fceb-4681-a4f4-e46920e380bb]
|
||||
description = "can sort if second number is smaller than first"
|
||||
include = true
|
||||
|
||||
# can sort if second number is same as first
|
||||
"bd7532cc-6988-4259-bac8-1d50140079ab" = true
|
||||
[bd7532cc-6988-4259-bac8-1d50140079ab]
|
||||
description = "can sort if second number is same as first"
|
||||
include = true
|
||||
|
||||
# can sort if second number is greater than first
|
||||
"b6d1b3a5-9d79-44fd-9013-c83ca92ddd36" = true
|
||||
[b6d1b3a5-9d79-44fd-9013-c83ca92ddd36]
|
||||
description = "can sort if second number is greater than first"
|
||||
include = true
|
||||
|
||||
# can sort complex tree
|
||||
"d00ec9bd-1288-4171-b968-d44d0808c1c8" = true
|
||||
[d00ec9bd-1288-4171-b968-d44d0808c1c8]
|
||||
description = "can sort complex tree"
|
||||
include = true
|
||||
|
||||
Reference in New Issue
Block a user