Tymoteusz Blazejczyk
Tymoteusz Blazejczyk
@ktbarrett Ready for review.
@marlonjames To extend my [previous comment](https://github.com/cocotb/cocotb/pull/5090#issuecomment-3454038831) about [pytest-xdist](https://github.com/pytest-dev/pytest-xdist), at current moment it can only schedule test functions with [cocotb runners](https://docs.cocotb.org/en/stable/runner.html#building-hdl-and-running-tests). It cannot group and schedule cocotb tests by spawning additional...
> mypy is disabled for cocotb_tools since the other modules aren't set up for it. Make sure this package is covered by adding a section to the pyproject.toml. @ktbarrett I...
@ktbarrett This commit d51ed4953cfdfe969445a202ae5bb1796707ff3a will automatically add plugin options from `cocotb_tools.pytest.plugin.OPTIONS` into generated Sphinx documentation thanks to [sphinx-argparse](https://sphinx-argparse.readthedocs.io) extension. Example: All discussions related with code should be resolved now. Only...
Everything resolved :tada: CI is only failing on unavailable licenses for Cadence Xcelium and Synopsys VCS simulators :thinking: * [Regression Tests / vcs|X-2025.06|verilog|ubuntu-22.04|3.9](https://github.com/cocotb/cocotb/actions/runs/19001045562/job/54267800238?pr=5090#logs) * [Regression Tests / xcelium|2403|vhdl|ubuntu-22.04|3.9](https://github.com/cocotb/cocotb/actions/runs/19001045562/job/54267800244?pr=5090#logs)
Now the best part, running existing tests from cocotb project using `cocotb_tools.pytest.plugin` :smirk: First, we need to apply a patch and replace all `_` placeholders with `dut` fixture in all...
2nd round with added small compatibility layer in plugin regression manager and using `icarus` simulator that is supporting timescale: ```plaintext SIM=icarus HDL_TOPLEVEL_LANG=verilog pytest -p cocotb_tools.pytest.plugin ./tests/pytest/ --cocotb-timescale=1ps/1ps ``` Final results:...
> Lets not do that in this PR. Definitely not :sweat_smile:
There are some small issues related with logging that I should address: - `pytest` that is running from HDL simulator should not handle `--log-file` option because it is already handled...
[Everything related about logging](https://github.com/cocotb/cocotb/pull/5090#issuecomment-3479202045) is now supported. Including: - Capturing logs with `caplog` fixture that can be used in tests. I have added two unit tests for that. - Live...