Code Monkey home page Code Monkey logo

Comments (12)

NickVolynkin avatar NickVolynkin commented on September 16, 2024

Thanks for reporting, we will check it

from qase-python.

Golom3402 avatar Golom3402 commented on September 16, 2024

sorry, I just noticed, maybe it's an incompatibility with pydantic library.
We use pydantic v 2.6.1

from qase-python.

NickVolynkin avatar NickVolynkin commented on September 16, 2024

@Golom3402 did it resolve with a different version of pydantic?

If not, do you have "Auto create test cases" enabled in your repository settings?

from qase-python.

Golom3402 avatar Golom3402 commented on September 16, 2024

No, using different versions of pydantic, is not resolve the problem.
And "auto create test case" option in test run settings in enabled.

from qase-python.

gibiw avatar gibiw commented on September 16, 2024

@Golom3402 Can you share your tests? And also share the command you are running the tests with?

from qase-python.

Golom3402 avatar Golom3402 commented on September 16, 2024

i have one file pytest.ini, where has section [pytest] and has line "addopts= ..."
in addopts line i define next values:
"--qase-testops-api-token="my_api_token" --qase-testops-project="SKLV" --qase-mode=testops"
I run the tests themselves using the command "pytest -v tests/ --qase-testops-run-title="run_title" --qase-debug=true -n 8"

from qase-python.

Golom3402 avatar Golom3402 commented on September 16, 2024

the recipe is as follows:

  • creating 10 dummy tests
  • are adding existing qase.id ones to 9 of them
  • turn this
    ...
    An empty report will be created in qaseio testops. And in the code execution log, there will be a 400 error when the qase client tries to send a chunk with the results

from qase-python.

Golom3402 avatar Golom3402 commented on September 16, 2024

in addition to the absence qase.id - the problem happens when there are even small differences in qase.steps. For example, the repository specifies 4 steps, and the autotest specifies 3 qase.step. In this case, sending a chunk with a set of results will also fail. And empty report will be created in qaseio testops.

from qase-python.

Golom3402 avatar Golom3402 commented on September 16, 2024

and, another important detail: in the project settings in the qaseio testops service, the "Auto create test cases" option should be disabled

from qase-python.

gibiw avatar gibiw commented on September 16, 2024

@Golom3402 This is currently the correct behavior. If the "Auto create test cases" option is disabled and the test does not have a QaseID or the number of steps is different, then we cannot load this result.

We will work on this issue in the near future.

from qase-python.

Golom3402 avatar Golom3402 commented on September 16, 2024

wait, are you saying that if I have 100 autotests, and one of them does not have a qaseid (for example, it has just been written), then it is possible not to accept the results for the remaining 99 cases? And is this normal in your opinion?

from qase-python.

gibiw avatar gibiw commented on September 16, 2024

We think this is wrong behaviour. But the current implementation works this way and we are working on fixing this issue.

from qase-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.