Skip to content

[CHORE/#35] Improve test environment and add unit tests#37

Merged
angryPodo merged 11 commits intomainfrom
feat/#35-test-improvement
Jan 13, 2026
Merged

[CHORE/#35] Improve test environment and add unit tests#37
angryPodo merged 11 commits intomainfrom
feat/#35-test-improvement

Conversation

@angryPodo
Copy link
Owner

@angryPodo angryPodo commented Jan 13, 2026

Summary

This PR improves the project's testing infrastructure by upgrading to Java 17 and Kotlin 2.3.0, and adding comprehensive unit tests for core logic.

Related Issue

Closes #35

Details

  • Environment Upgrade:

    • Upgraded project to Java 17 and Kotlin 2.3.0.
    • Adopted JUnit 6 as the main test framework.
  • Unit Test Implementation:

    • Added unit tests for wisp-processor (Mapper, Validator) and wisp-runtime (Parser, Matcher).
    • Replaced MockK with Mockito for stable KSP object mocking.
    • Used Robolectric for testing Android-dependent code.
  • CI Enhancement:

    • Configured a GitHub Actions workflow (ci.yml) to automatically run ktlintCheck, test, and assembleDebug on PRs and merges.
    • Applied the latest Gradle caching strategies for performance.
  • Known Issue:

    • KSP integration tests using KotlinCompileTesting were excluded due to a persistent IllegalStateException in the Kotlin 2.3.0 environment. Core logic is covered by unit tests.

@angryPodo angryPodo self-assigned this Jan 13, 2026
@angryPodo angryPodo added FEAT✨ Add a new feature or change the behavior/policy of an existing feature. CHORE🧹 Dev environment/productivity tasks: build, dependencies, CI/CD, SDK settings. labels Jan 13, 2026
@angryPodo angryPodo merged commit 7c7f6ba into main Jan 13, 2026
1 check passed
@angryPodo angryPodo deleted the feat/#35-test-improvement branch January 13, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CHORE🧹 Dev environment/productivity tasks: build, dependencies, CI/CD, SDK settings. FEAT✨ Add a new feature or change the behavior/policy of an existing feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Improve testing environment and migrate to Java 17

1 participant