You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
table.concat [indent line, level for line in *lines], '\n'
113
+
}
114
+
SPEC_GENERATOR
115
+
72
116
73
117
cat <<NEXT_STEPS
74
118
75
119
Your next steps are:
76
-
- Create the test suite in $(jq -r '.test'<<<"${files}")
77
-
- The tests should be based on the canonical data at 'https://github.com/exercism/problem-specifications/blob/main/exercises/${slug}/canonical-data.json'
78
-
- Any test cases you don't implement, mark them in 'exercises/practice/${slug}/.meta/tests.toml' with "include = false"
79
-
- Create the example solution in $(jq -r '.example'<<<"${files}")
80
-
- Verify the example solution passes the tests by running 'bin/verify-exercises ${slug}'
81
-
- Create the stub solution in $(jq -r '.solution'<<<"${files}")
82
-
- Update the 'difficulty' value for the exercise's entry in the 'config.json' file in the repo's root
83
-
- Validate CI using 'bin/configlet lint' and 'bin/configlet fmt'
120
+
121
+
1. Create the test suite ==> $(jq -r '.test'<<<"${files}")
122
+
123
+
- A stub test generator awaits you --> 'exercises/practice/${slug}/.meta/spec_generator.moon'
124
+
- If you don't want it, delete it.
125
+
- Otherwise, populate it and run it --> $ bin/generate-spec ${slug}
126
+
127
+
- The tests should be based on the canonical data --> ./canonical-data/${slug}.json
128
+
- Any test cases you don't implement, mark them in 'exercises/practice/${slug}/.meta/tests.toml' with "include = false"
129
+
130
+
2. Create the example solution ==> $(jq -r '.example'<<<"${files}")
131
+
132
+
3. Verify the example solution passes the tests ==> $ bin/test-one ${slug}
133
+
134
+
4. Create the stub solution ==> $(jq -r '.solution'<<<"${files}")
135
+
136
+
5. Update the 'difficulty' value for the exercise's entry in the 'config.json' file in the repo's root
137
+
138
+
6. Validate CI using 'bin/configlet lint' and 'bin/configlet fmt'
0 commit comments