Skip to content

Add instance variable to define a name of test generated's class#66

Open
Lin777 wants to merge 1 commit intomasterfrom
SpecifyingNameOfGeneratedTests
Open

Add instance variable to define a name of test generated's class#66
Lin777 wants to merge 1 commit intomasterfrom
SpecifyingNameOfGeneratedTests

Conversation

@Lin777
Copy link
Collaborator

@Lin777 Lin777 commented Jan 24, 2020

Fixes #46
Now you can specify by this way:

STestCaseFactoryPharo new
    typeInfo: typeInfo;
    fitness: SStatementCoverage new;
    targetClassName:#SFoo;
    targetPackageRegex:'SmallSuiteGenerator-Scenario';
    outputPackageName:'SmallSuiteGenerator-Tests-Generated';
     numberOfGenerations: 20;
    numberOfStatements: 10;
    targetTestClassName: 'MyTEST';
    createTestCases;
    yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

We need a way to specify the name of the generated test

1 participant