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
Introduce fuzzing in Spring unit tests #2321 (#2529)
* Extract `JavaFuzzingContext` into separate interface
* Add mock and inject mocks value providers
* Add `StateBeforeAwareIdGenerator`
* Properly handle `canHaveRedundantOrMissingMocks` in instrumentation
* Properly create `void` models (for mocking `void` methods)
* Add utils to ease configuring `ApplicationContext`
* Configure Spring unit tests to use fuzzer with mocks
* Refactor to only transform `JavaValueProvider` via `applicationContext` (avoid redundant lambdas)
* Fix test compilation
* Improve default mock answers of unmockable types (arrays and sealed interfaces)
* Set default fuzzing value to 0.3 for Spring
* Avoid creating too deep dynamic mocks
* Avoid recording multiple mock answers if same answer is reused over and over again
* Fix JS compilation
---------
Co-authored-by: Egor Kulikov <[email protected]>
0 commit comments