Comments (12)
Thanks for reporting, we will check it
from qase-python.
sorry, I just noticed, maybe it's an incompatibility with pydantic library.
We use pydantic v 2.6.1
from qase-python.
@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.
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.
@Golom3402 Can you share your tests? And also share the command you are running the tests with?
from qase-python.
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.
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.
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.
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.
@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.
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.
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)
- Passing description prop for newly created test runs HOT 1
- Unrecognized arguments on v5.0.2 HOT 10
- not send qase result during api_results.create_result_bulk. HOT 5
- Log capture issue - TypeError: expected str, bytes or os.PathLike object, not StringIO HOT 1
- --qase-testops-run-complete not working HOT 5
- Automated runs are not automatically completed HOT 3
- Make informative output for `pytest --help` HOT 1
- Configuration parser should allow uppercase in `--qase-parameters` HOT 1
- Better error message when test is annotated with wrong ID
- Conflicting imports in qaseio.__init__ HOT 1
- InternalErrors HOT 6
- @qase.suite does not work HOT 1
- Command line option for capturing logs (--qase-pytest-capture-logs) doesn't work HOT 3
- Test results are logged partially and test run don't complete HOT 1
- QASE not sending the latest result when using --reruns HOT 12
- Can not send report to qase with qase-robotframework HOT 14
- Issue with adding suits for the test with @qase.fields(("suite", "Example")) decorator HOT 4
- Changing value of field Automation status
- pytest.mark.parametrize does't work in qase-pytest 6.1.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qase-python.