hablutzel1 / GenerateTestCases

Behaviour Driven Development plugin for IntelliJ IDEA
18 stars 11 forks source link

In a multimodule project two test classes are created, one with the test(s) method(s), the other without them #38

Open hablutzel1 opened 11 years ago

hablutzel1 commented 11 years ago

Say you have modules 'a' and 'b' and you have one method with @should tag, then you trigger generatetestcases action you are prompted to choose destination directory (in a maven project) and you choose the right "test source root", under that circumstances two test classes were created.

hablutzel1 commented 11 years ago

One of these classes is created in the "source root" of the choosen module and the other in the "test source root", furthermore the package declaration for the test class in the "test source root" is generated incorrectly