<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">On 2020-10-22 9:38 a.m., Giuseppe
10/21/20 10:12 PM, Stefan Seefeld wrote:
Thanks, but that seems to be focused on editing (code completion
etc.), while I'm looking for workflow customizations to adapt
stages like "build" and "test" to Python code. In particular,
I'm looking for ways to make qtcreator recognize and integrate
pytest tests so doing a test run of my hybrid C++/Python project
can also run pytest (and list all the individual tests with
their test result).
In the Project properties you can define one or more Build Steps
(which can also be test steps of course). Depending on the tool
output you may need to define custom output parsers.
Probably a little cumbersome, but I think you should be able to
get something working.
<p>Yeah, but that "something" isn't good enough to warrant the term
"integration". What I'd expect from real pytest support is the
ability to introspect the test suite, i.e. select individual tests
and execute them separately, just as qtcreator supports for other
testing harnesses such as google tests, boost tests, or qtests.</p>
<p>So perhaps I need to rephrase my question: does anyone in this
community with experience with C++ and Python development have
experience with qtcreator's support for Pythonic development
<pre><img moz-do-not-send="false" src="cid:part1.23D1D39A.E388E172@seefeld.name" alt="Stefan" width="123" height="77">
...ich hab' noch einen Koffer in Berlin...