You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Test method style: backtick notation — e.g. `` `given null JsonElement when convertToElement then returns null`() ``
61
58
- **Data classes**: test construction with all params, default values, `copy()`, `equals`/`hashCode`.
62
59
- **Extension functions with JsonElement**: test null input, valid JSON deserialization, malformed/wrong-type JSON (expect `null` return).
63
60
- **DiffUtil callbacks**: test `areItemsTheSame` (same key, different key) and `areContentsTheSame` (equal value, different value, `AbstractMap` comparison edge case).
64
61
- **Enums**: verify all enum constant names exist using `enumValueOf`.
65
62
- **Mapper functions** (`toSimpleProperties`, `toListSimpleProperties`): test with sample data, empty list, and null-value fields.
66
63
- Do **not** include explanations or markdown fences.
67
-
- Output **only** the complete Kotlin test file, starting with `package {package_name}`.
68
-
69
-
## Source file
70
-
Path: `{file_path}`
71
-
72
-
```kotlin
73
-
{content}
74
-
```
64
+
- Output **only** the complete Kotlin test file, starting with `package <package>`.\
0 commit comments