package
0.9.60-beta
Repository: https://github.com/devtron-labs/go-bitbucket.git
Documentation: pkg.go.dev
# README
Tests
As per @ktrysmt's comment here tests are being changed so they can be run against both:
- The actual Bitbucket API
- The Swagger documentation from Bitbucket (https://bitbucket.org/api/swagger.json), using Stoplight's Prism
The latter will eventually be run as part of a CI process using Github Actions.
Running tests locally against the Bitbucket API
Please refer to ../README.md.
Running test locally against Prism
Run in a shell terminal:
docker run --rm -it -p 4010:4010 stoplight/prism:3 mock -h 0.0.0.0 https://bitbucket.org/api/swagger.json
Then in another shell terminal session run:
make test/swagger