Skip to content

Initial Test Suite Complete!!

Pre-release
Pre-release
Compare
Choose a tag to compare
@cmlccie cmlccie released this 18 Mar 00:02

ciscosparkapi now has a full automated testing suite (using py.test)!! All on-line testable user-facing methods (API calls) have been thoroughly worked through their paces. :-) (issue #4)

The test suite uses a moderate array of py.text fixtures to align object and API dependencies, order test execution, cache results, and optimize API calls. All of this speeds up testing time by minimizing the number of API requests that must be completed to finish a test run. ...and the tests clean-up after themselves as well (though I still recommend using a dedicated test account when running the tests + it will need admin privileges).

Caught and fixed a couple of bugs in the process.

There are a couple of Cisco Spark APIs that are not responding properly (according to the API docs). I will investigate these and re-enable these tests shortly.