Tymoteusz Blazejczyk
Tymoteusz Blazejczyk
> Correct me if I'm wrong, but the way the `HDL` fixture is written means that this would work if someone were using a different build system than the Runner....
> Essentially what I'd like to see is being able to write a section in "Extending Existing Build Flows" for using pytest as RegressionManager. (Not to be done in this...
> Update `docs/source/runner.rst` section **Usage with pytest**. @marlonjames I have updated existing documentation and added information about plugin in mentioned section in this commit 9606aeb1ee4575f1b5a22aafda3f391975b07303
@ktbarrett @marlonjames @cmarqu I think I have resolved all opened discussions so far :thinking:
> @ktbarrett I think it's a little difficult to keep straight the dual use of `@pytest.mark.cocotb` for both controlling running simulation and for the async test functions themselves. Thoughts? @marlonjames...
I have added a new fixture called `hdl_session`. It allows to build whole HDL project with all HDL modules at once during pytest session stage before starting tests. Unfortunately not...
Note for myself. Related with these comments: - https://github.com/cocotb/cocotb/pull/5090#pullrequestreview-3420360284 - https://github.com/cocotb/cocotb/pull/5090#issuecomment-3493655353 - https://github.com/cocotb/cocotb/pull/5090#issuecomment-3493784569 - https://github.com/cocotb/cocotb/pull/5090#issuecomment-3495075092 Pytest is using [pluggy](https://github.com/pytest-dev/pluggy) for defining and managing plugins. One of many benefits of using...
> With cocotb 2.0’s parametrize, identifying the effective set of testcases can get complicated. For usability, it would be helpful if cocotb printed (or otherwise exposed) the list of testcases...
I don't know if this will be OK either. `failure` and `error` XML elements were designed to cover raised exceptions: ```python try: run_test() except Exception as e: element: Element =...
This PR https://github.com/cocotb/cocotb/pull/5219 will report Cocotb random seed in XML test case element `system-err`. GitLab CI will report that for failed tests: [junit.rb](https://gitlab.com/gitlab-org/gitlab/-/blob/v18.7.0-ee/lib/gitlab/ci/parsers/test/junit.rb?ref_type=tags#L101)