-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query - reconciling existing tests with problem-specifications #377
Comments
[ben:] GradeSchoolTest>>#test100_EnsureDataIsImmutable [macta:] Yes - its in the category “tests-extra” ( I wondered if regenerating might be able preserve any extra tests we might feel are suitable?) |
CLEARED. [macta:] I think you’ve fully understood the problem now ;). - the definitions are a bit all over the place. I’ve managed to get a few upstream corrections approved but there are quite a few of them. [ben:] I've updated problem-specifications exercism/problem-specifications#1525 |
CLEARED [macta:] Yes, I proposed an upstream change |
CLEARED Was this super big method name by chance manually slimmed down? [macta:] I don’t recall this one - It does like it was manually adjusted, but I don’t recall doing that (and have tried not to and either made a pr upstream or improved the generator). [ben:] Problem-specifications descriptions have been slimmed down |
SKIP - Leave for existing issue #246 [ben:] ClockTest>>#test27_AddMinutesAddMoreThanOneDay1500Min25Hrs So again a difference due to the conversion of ""=" to "equals". Seems like "equals" conversion was introduced 2 months ago... https://github.com/exercism/pharo-smalltalk/blame/91748c1d532a6c3f147c98938c27fc4848e75c4a/dev/src/ExercismDev/String.extension.st [macta:] Clock was an awkward one - hence #246 <#246> and some discussions on exercism problem spec. I did transformations using the deprecation tool, but it was laborious and unsatisfying. I think there should be a meta hint that this is an equality test and then the generator could do the right thing (and we would have some equality generation policy). |
CLEARED [macta:] Allergies, I made a pr upstream as it was a mess - this caused lots of discussion and change - the generated version is 1.2.1 its now at 2, so this is where regeneration would be helpful (we detect a higher version and then generate on top - hopefully in a diffable way?) [ben:] Many tests added by macta's upstream change |
CLEARED [macta:] I think this one was user submitted by Ray, so he might have corrected it without doing a pr upstream. [ben:] Corrected upstream |
Queries being discussed at exercism#377
I think you’ve understood all of these (with the added info about the #generator method)
… On 5 Jun 2019, at 12:56, Ben Coman ***@***.***> wrote:
@macta <https://github.com/macta>, To validate my refactoring of generation, I'm comparing existing tests to what "would" be generated. There are some anomalies that may just need some background info.
To try to keep things organised, I'm going to put a query per post. Could you each of my posts if you have any comment.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#377?email_source=notifications&email_token=ABKL3VZHHETT3X2SWUOKVI3PY6SXVA5CNFSM4HTWIO3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXYAITQ>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABKL3V42XPRLZD4BUVG2J6LPY6SXVANCNFSM4HTWIO3A>.
|
@macta, To validate my refactoring of generation, I'm comparing existing tests to what "would" be generated. There are some anomalies that may just need some background info.
To try to keep things organised, I'm going to put a query per post. Could you each of my posts if you have any comment.
The text was updated successfully, but these errors were encountered: