Skip to content
This repository was archived by the owner on Jan 22, 2021. It is now read-only.

Conversation

@aleitner
Copy link
Contributor

No description provided.

@aleitner
Copy link
Contributor Author

To run mink/behat integration tests, use the command:

source ./integration_tests.sh

You can configure which instance of bitpay.com this will test with to by changing the url
in the behat.yml file. Make sure you replace username and password with the credentials
used to log into the bitpay site you are testing with.

You can also run specific tests from a command like so:

php bin/behat tests/integrations/invoice_create.feature

And you can run specific lines from these tests by:

php bin/behat tests/integrations/invoice_create.feature:20

Tests run individually require you to set environment variables for your bitpay
credentials or they must be set in the behat.yml file.

Also keep in mind that rate limiters may hinder some tests and they need to be
reset every so often.

ionux added a commit that referenced this pull request Jan 6, 2015
@ionux ionux merged commit 7db9693 into bitpay:master Jan 6, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants