Skip to content

[food-chain] Improve tests and add generator.#3116

Merged
IsaacG merged 1 commit intoexercism:mainfrom
IsaacG:food-chain
Apr 18, 2026
Merged

[food-chain] Improve tests and add generator.#3116
IsaacG merged 1 commit intoexercism:mainfrom
IsaacG:food-chain

Conversation

@IsaacG
Copy link
Copy Markdown
Member

@IsaacG IsaacG commented Apr 18, 2026

  • Improve runner "TEST CODE" by following the expected test function pattern.
  • Add a test generator and move tests into cases_test.go.

…t function pattern. Add a test generator and move tests into `cases_test.go`. Update package and module name.
@IsaacG IsaacG added x:action/create Work on something from scratch x:action/improve Improve existing functionality/content x:module/generator Work on Exercise generators x:module/practice-exercise Work on Practice Exercises x:module/test-runner Work on Test Runners x:size/large Large amount of work x:rep/large Large amount of reputation labels Apr 18, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested.

If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos.

[no important files changed]

For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping @exercism/maintainers-admin in a comment. Thank you!

@IsaacG IsaacG changed the title [food-chain] Improve runner "TEST CODE" by following the expected test function pattern. Add a test generator and move tests into cases_test.go. Update package and module name. [food-chain] Improve tests and add generator. Apr 18, 2026
@IsaacG IsaacG merged commit 41e3a9d into exercism:main Apr 18, 2026
20 checks passed
@IsaacG IsaacG deleted the food-chain branch April 18, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

x:action/create Work on something from scratch x:action/improve Improve existing functionality/content x:module/generator Work on Exercise generators x:module/practice-exercise Work on Practice Exercises x:module/test-runner Work on Test Runners x:rep/large Large amount of reputation x:size/large Large amount of work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant