Technica-Engineering / kalash

Test runner made for scalable automation based on standard Python's `unittest`
GNU General Public License v3.0
3 stars 0 forks source link

[FEATURE] Online Testing support #21

Open kjczarne opened 2 years ago

kjczarne commented 2 years ago

Is your feature request related to a problem? Please describe. At the moment only offline testing is possible with standard assert statements that unittest provides.

Describe the solution you'd like It would be useful to introduce some nice API for async online testing where a condition is awaited until it's met (or it times out). I would expose some contextmanager with Condition being awaited.

Describe alternatives you've considered This would be currently possible if you're familiar with Python's threading library. I believe though that the API for Quality Engineers could be made much better.

Additional context A requirement for device testing - not all tests can be performed retroactively by analyzing traces.