Plugins are generating tests for all contracts when using external contracts
When using contract plugins together with a shared repo with contracts we end up with creating contract tests for all the contracts. Stubs are created properly but tests generation ignores the path pattern. With this change we fix the way tests are generated fixes #155
This commit is contained in:
@@ -58,7 +58,8 @@ class TestGenerator {
|
||||
this.saver = saver
|
||||
contractFileScanner = new ContractFileScanner(configProperties.contractsDslDir,
|
||||
configProperties.excludedFiles as Set,
|
||||
configProperties.ignoredFiles as Set)
|
||||
configProperties.ignoredFiles as Set,
|
||||
this.configProperties.includedContracts)
|
||||
}
|
||||
|
||||
int generate() {
|
||||
|
||||
Reference in New Issue
Block a user