Closed oharboe closed 2 weeks ago
Any possibility of a CI unit-test on this one?
We don't have any GUI unit tests due to the lack of an OSS unit test framework for Qt.
We don't have any GUI unit tests due to the lack of an OSS unit test framework for Qt.
This is one area where Python & Java(which I have used, other languages can do this too) is better: monkey patching and mocking makes it possible to test just about anything...
@QuantamHD Any ideas on how to write a CI unit-test something like this in OpenROAD for this?
OSS C++ monkey patching? Mocking libraries?
This looks reasonable. https://github.com/faaxm/spix
At Google we have a tool called scuba, which essentially just triggers actions via the UI handles and generates a png. You commit golden version of the png and at test runtime you compare the golden to the current.
QT can be targeted at offscreen rendering, and I believe triggering actions via the API is possible.
Describe the bug
Expected Behavior
No crash
Environment
To Reproduce
See above
Relevant log output
No response
Screenshots
No response
Additional Context
No response