Libertem: Basic tests for Web API

Created on 28 Nov 2018  路  4Comments  路  Source: LiberTEM/LiberTEM

With the experience of #180 and #179 it would be desirable to have at least basic test coverage for the Web API. That would have caught these bugs. In particular testing both on Linux and Windows on a clean install is a great help.

Web API enhancement windows

All 4 comments

Relevant projects:

My current idea is to implement something using pytest-asyncio, which then is also less dependent on tornado, should we get the idea of using a different framework for the web API

There is an active fork of pytest-tornado that is published at https://pypi.org/project/pytest-tornado5/ - this may be another option that could be more straight-forward than using pytest-asyncio. As an example project using pytest-tornado (not the fork though) I looked at jupyterhub:

Looks simple enough! :-)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

uellue picture uellue  路  8Comments

uellue picture uellue  路  6Comments

uellue picture uellue  路  11Comments

sk1p picture sk1p  路  3Comments

uellue picture uellue  路  9Comments