Refactored class and method generation (#1116)
following two event storming sessions with @pilloPl and @OlgaMaciaszek and the Spring Cloud Contract community we've decided to refactor the core modules of Spring Cloud Contract Verifier. The main idea is that the current `JavaTestGenerator`'s implementation no longer uses complex logic to generate classes and methods. We've introduced abstractions such as: - class body builder (to build classes) - groovy and java class metadata - imports (for various frameworks) - default setup for json, xml, restassured, jaxrs - class annotations for spock, junit and junit5 - field insertion e.g. for messaging
This commit is contained in:
committed by
GitHub
parent
954ddfb3d5
commit
972a50265f
BIN
spring-cloud-contract-verifier/worksWithPdf_request_request.pdf
Normal file
BIN
spring-cloud-contract-verifier/worksWithPdf_request_request.pdf
Normal file
Binary file not shown.
Reference in New Issue
Block a user