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
Bonus: Add composer script to handle exercise generation from scratch. The problem is handling the 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.
@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.
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
?The text was updated successfully, but these errors were encountered: