Closed andymckay closed 9 years ago
Our testing environment is fairly complex and requires some internal automation. We would advise to test as much as you can in your environment, and we’ll harden during a merge.
Closing this for now. Feel free to submit a PR and we'll take a look.
I'm confused, you've open sourced the code, you've open sourced the functional tests, but running the functional tests requires a non-open sourced infrastructure?
That seems a bit nonsensical to me. Am I missing something?
@andymckay You're not missing anything, it's true the integration tests serve a dual purpose. For us, they're tests. For external users, they serve primarily as examples.
If you change the configuration in the test_helper.py to point at your sandbox account, you can run some of the tests and if you need to write your own tests you can do it against sandbox.
If you have a change that requires tests that cannot be run against sandbox, feel free to submit those without tests, or what you would expect the test to look like.
How you run the unit tests in this library isn't obvious. I figured out how to test the unit tests:
Less clear how to run the integration tests:
Am I meant to be running a server? It's making lots of urllib3 connections:
Got an issue and possible pull request to send to you, but don't know how to run the tests :)