How to do unit test and integration test with Terraform on GCP?

I have tried install checkov and Terraform-python-testing-helper on GCP console but all failed.

Does anyone have other solutions or better experience?

Thank you very much.