# ... export any required provider configuration environment variables ...

go test -count=1 -timeout=10m -v ./...
```

The testing library will handle all the underlying details to run the provider code, call Terraform commands, and verify assertions.

Run individual tests with the `-run` flag, which accepts a regular expression pattern. For example:

```shell
go test -count=1 -run='TestThingResource_lifecycle' -timeout=10m -v ./...
```