[pytest-dev] Manually running test steps/getting user input

Brianna Laugher brianna.laugher at gmail.com
Fri May 15 10:04:07 EDT 2020

I work in an environment where there is a lot of manual text execution
(blame hardware).

Moving people to ATDD/BDD style tests (such as Gherkin) is a first step.
The good thing about tests written in this style is it works for both
automated and manual execution.

We are looking at adopting such a framework to start with some system level
testing for embedded software. Robot Framework is well known and solid in
this space. One of my colleagues pointed out that RF even has a capability
to prompt the user for input or to record a step as pass/fail.
(I've just tried it out and it is an extremely basic Tk dialog that pops up
from the command line on Windows, but it is kinda nifty.) I am loath to
discover that RF has a feature pytest does not...

This is kind of a neat tool to have on a path towards automation. Of course
the steps run all the time need to be automated, but there are plenty of
others that could stay manual, being able to do this is an interesting
hybrid. (Obviously these are not the kind of tests you run in CI!)

So has anyone heard of a plugin like that for pytest?

The RF code looks like it might not take that much porting, tbh...

Any thoughts about this as an idea, somewhere between awesome and cursed? :)


They've just been waiting in a mountain for the right moment:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20200516/8c5608be/attachment.html>

More information about the pytest-dev mailing list