Open mk-mxp opened 8 months ago
@tomasnorre Did you add some functionality to your local copy of the test generator that you would want to have here, too? I think I'll find time on the weekend to take some of the steps outlined here and would be happy to integrate the "latest" version.
@mk-mxp I don't have anything locally, that is not already published here https://github.com/tomasnorre/exercism-tests-generation
Test generator MVP to use after
configlet generate
for practice exercises:contrib/generator
, so it is not installed in CIconfiglet
cached problem specification repository as information source/exercises/practice/${slug}/.meta/config.json>files>test
and check that there is only one entry/exercises/practice/${slug}
$input
,$expected
$subject = new ${PascalSlug};
,$actual = $subject->${property}($input);
andassertSame($expected, $actual);
slug
required for exercise generation. That requires some additional scripting, so that only those commands get the slug that need it and the others do not fail.Bonus: Add golden tests for test generation of some exercisesBonus: Add JSON validation using theconfiglet
scheme (if that exists), else at least field existance and character setsNot MVP:
include = false
intests.toml
Open questions:
update-exercise
(or so)?laminas/laminas-code
?