Test payment app for development purposes. Provides simple mock responses to requests.
Ubuntu
If you are using Ubuntu as operating system, follow those steps to install the dependencies:
sudo apt update
sudo apt install python3-pip make
sudo pip3 install pipenv
pipenv --three install --dev
Before you can run the tests, you need to provide the client ID and client secret of the app:
cp pytest.ini.template pytest.ini
vim pytest.ini
Then you can run the tests by calling the test
task:
make test