web services - Unit Test cases for Python Eve Webservices -


we have developed apis using python eve framework . there way can write unit test cases apis have developed in eve. there unit test case component bundled python eve.i need bundle them continuous integration setup. if yes please me steps how proceed it.

you start looking @ eve's own test suite. there's 600+ examples in there. there 2 base classes provide lot of utility methods: testminimal , testbase. other test classes inherit either of those. want use testminimal takes care of setting , dropping mongodb connection you. provides stuff assert200, assert404 etc.

in general, use test_client object, flask itself. have @ testing flask applications , eve's running tests page.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -