java-to-zod icon indicating copy to clipboard operation
java-to-zod copied to clipboard

Feature/gradle plugin 0 7 0

Open buchananwill opened this issue 5 months ago • 4 comments

  1. Updated to match the latest main.
  2. Merged in my Gradle plugin module.
  3. Added tests for the plugin output.
  4. Added tests that the output functions with Zod and rejects invalid objects.

The main thing missing is that I haven't added the tests to your existing pipeline, as I wasn't sure how to do that part. I.e. there is a manual Gradle test, and manual Jest test, which both pass and cover the core behaviour of the Gradle plugin, matching the Maven plugin.

I used a very small test sample, as I thought it seemed unnecessarily redundant to perform all the battery of tests as the Maven plugin. The JavaToZod core is the same, so there shouldn't be any divergence in the behaviour. This seemed better than bloating the Gradle test with repetition.

buchananwill avatar Sep 29 '24 14:09 buchananwill