Skip to main content

Support opentofu/terraform built-in testing framework

Opentofu and Terraform both have testing frameworks. I realize Terraform will be hard to support given the license changes but adding it for the sake of completeness.

Workaround
None
Problem
Status: ⬆️ Gathering votes2 comments

Log in to comment and vote

Comments2

  • Yellow Mirror

    •

    Jan 17, 2025

    I was able to jam something together using a hook. Not super pretty, but it works. Something like:

    opentofu -chdir=../ init
    opentofu -chdir=../ test
  • Yellow Coaster

    •

    Nov 20, 2024

    correction: terratest is not built in. Spacelift could potentially support running it and storing the resulting test-result files in whatever format with a nice dashboard