This project is an example project for synnefo, a jvm junit plugin to run cucumber steps in AWS CodeBuild.
Prerequisites:
- git clone this project:
git clone https://github.com/albumprinter/junit-synnefo-demo && cd junit-synnefo-demo - Create a
AWS Codebuild roleand anS3 bucketthat will be used by the project and set the corresponding environment variables:
set Synnefo_serviceRole=arn:aws:iam::9999999999:role/AWS-CodeBuild-Service
set Synnefo_bucketName=9999999999-synnefo
(it can also be done via -D parameters or in the code, see: albumprinter/junit-synnefo#15):
- Configure your AWS credentials by either using aws cli's
aws configureor set the environment variables:
3.1) Run the gradle command gradle runSynnefoTests:
3.2) Or run the gradle task in Intellij IDEA:
And wait for it to finish
- Go to the reporting directory:
cd build && cd synnefoand start the allure server:allure serve .
- Enjoy the report





