Skip to content

Files

tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 22, 2021
Apr 18, 2022
Jun 11, 2019
Oct 15, 2024
Nov 17, 2021
Jan 3, 2021
Oct 27, 2020
Sep 14, 2021
Oct 15, 2024
Aug 25, 2022
Oct 15, 2024
Jan 22, 2021
Jan 10, 2021
Nov 8, 2023
Jul 15, 2021

Tests

As per @ktrysmt's comment here tests are being changed so they can be run against both:

  1. The actual Bitbucket API
  2. 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