Open
Description
To Reproduce
- Consider the following source code:
public class ClassWithStaticAndInnerClasses {
public int z = 0;
public static class PublicStaticClassWithPrivateField {
public static class DeepNestedStatic {
public int g(int x) {
return x + 1;
}
}
public class DeepNested {
public int h(int x) {
return x + 2;
}
}
}
}
- Locate the cursor inside
h
method. - Generate tests without mocks.
Expected behavior
Generated code is compilable, test class name is correct
Actual behavior
Current test class name leads to compilation errors.
Visual proofs (screenshots, logs, images)
Metadata
Metadata
Assignees
Type
Projects
Status
Todo