google / globalfoundries-pdk-libs-gf180mcu_fd_pv

Apache License 2.0
12 stars 6 forks source link

consider using a test framework #76

Open FaragElsayed2 opened 1 year ago

FaragElsayed2 commented 1 year ago

Expected Behavior

Tests should be using python testing best practices.

One popular framework is pytest: https://docs.pytest.org/en/7.2.x/ as it comes with:

Actual Behavior

Tests uses monolytics python scripts with manual exit() invocation, see https://github.com/google/globalfoundries-pdk-libs-gf180mcu_fd_pr/blob/main/rules/klayout/drc/testing/run_regression.py#L243

Refer to https://github.com/google/globalfoundries-pdk-libs-gf180mcu_fd_pr/issues/79