Skip to content

Commit 4161a57

Browse files
committed
update README
1 parent 6cda2bb commit 4161a57

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,20 @@ open class AbstractBoxTest : AbstractFirLightTreeBlackBoxCodegenTest() {
4545
}
4646
```
4747

48-
Kctf generates your test in `src/test/java`.
48+
Call the `kctfGenerateSources` task:
49+
50+
```
51+
./gradlew kctfGenerateSources
52+
```
53+
54+
Kctf generates your test in `src/test/java`:
55+
56+
```java
57+
/** This class is generated by {@link kctf.MainKt}. DO NOT MODIFY MANUALLY */
58+
@SuppressWarnings("all")
59+
@TestMetadata("compiler-tests/src/test/data/diagnostic")
60+
@TestDataPath("$PROJECT_ROOT")
61+
public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
62+
// ...
63+
}
64+
```

0 commit comments

Comments
 (0)