parsley v0.9.3
Pre-release
Pre-release
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.