Skip to content

parsley v0.9.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@matzefriedrich matzefriedrich released this 13 Sep 21:49
· 23 commits to main since this release
321a30b

Changes

The generate mocks command now supports additional annotations for finer control over mock generation. New annotations //parsley:mock and //parsley:ignore are introduced:

  • //parsley:mock: When this annotation is present, it takes precedence and only the interfaces explicitly marked with //parsley:mock will be included in the mock generation. All other interfaces will be excluded by default.
  • //parsley:ignore: Interfaces marked with //parsley:ignore will be excluded from mock generation, regardless of the default behavior.

If no annotations are present, all interfaces are included in the mock generation by default.