[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: QtCreator support for Python / PyQt.
From:       Stefan Seefeld <stefan () seefeld ! name>
Date:       2020-10-22 14:21:33
Message-ID: d7448b08-fea1-856e-eb3b-6511d68b04f1 () seefeld ! name
[Download RAW message or body]

On 2020-10-22 9:38 a.m., Giuseppe Corbelli wrote:
> On 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.

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.

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 workflows ?

Thanks,

Stefan
-- 

       ...ich hab' noch einen Koffer in Berlin...


[Attachment #3 (multipart/related)]

[Attachment #5 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 2020-10-22 9:38 a.m., Giuseppe
      Corbelli wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:111bff63-b359-39bc-3418-0055a3771f32@mesdan.it">On
      10/21/20 10:12 PM, Stefan Seefeld wrote:
      <br>
      <blockquote type="cite">
        <br>
        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).
        <br>
      </blockquote>
      <br>
      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.
      <br>
      <br>
      Probably a little cumbersome, but I think you should be able to
      get something working.
      <br>
    </blockquote>
    <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
      workflows ?<br>
    </p>
    <p>Thanks,<br>
    </p>
    <div class="moz-signature">
      <div class="moz-signature">
        <div class="moz-signature">
          <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...
</pre>
        </div>
      </div>
    </div>
  </body>
</html>


[".signature.png" (image/png)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic