You will find here a simple Cart
+ Discount
models which we will use to explore and implement BDD with cucumber.
We are going to iterate the solution through several steps. For each step we have created a branch called stepX
where X
represents the number of the step. If at any point you feel lost or want to check our proposed solution, consult the code there.
-
- Install intelliJ community edition
- Enable cucumber plugin
- Enable Annotation Processing for
Lombok
- Preferences | Build, Execution, Deployment | Compiler | Annotation Processors
- Enable annotation processing box is checked
- Obtain processors from project classpath option is selected
- Preferences | Build, Execution, Deployment | Compiler | Annotation Processors
- Install intelliJ community edition
Basic MVC web project build on top of spring
with spring-boot 2.7
-
-
make dependencies
-
make test
-