Skip to content

Commit

Permalink
Fixed class generation on Exercise generator.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bajger committed Feb 16, 2024
1 parent 85a6003 commit bea29cb
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions dev/src/ExercismDev/ExercismExerciseGenerator.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -211,14 +211,17 @@ ExercismExerciseGenerator >> generateSetupFor: testClass [

{ #category : #generation }
ExercismExerciseGenerator >> generateTestClass [

^ExercismTest
subclass: self testClassName asSymbol
instanceVariableNames: self testVariableName
classVariableNames: ''
poolDictionaries: ''
package: 'ExercismWIP-', (self testNameCamelCased)


^ ExercismTest classInstaller make: [ :builder |
builder
superclass: ExercismTest;
name: self testClassName asSymbol;
slots: self testVariableName asSlotCollection;
sharedVariablesFromString: '';
sharedPools: '';
tag: self testNameCamelCased;
package: 'ExercismWIP';
environment: ExercismTest environment ]
]

{ #category : #generation }
Expand Down

0 comments on commit bea29cb

Please sign in to comment.