When you generate a test class for a given class in IntelliJ, say class Foo
, it will generate a test class internal class FooTest
. Why does it default to an internal class
? What's the advantage of using internal classes for test classes?
The way I was generating test classes is: put cursor on the class name Foo
, press Option/Alt
+Enter
, select "Create Test".
Aucun commentaire:
Enregistrer un commentaire