Context: I am using Terraform to deploy to AWS. I have a test.go that run a set of unit test on the build once it finishes deploying and then destroys the build.
I also want to run a series of stress tests using k6.
I want to know if it's possible to execute the test.js from test.go?
Or write something in Go that simulate a command line?
in CMD: i would go to that directory and execute the script with k6 run./test.js
Can I do that with Go?