"Terraform is a good tool for infrastructure provisioning. However to test terraform it could be pretty difficult. So you will create some terraform scripts and upload to the cloud a run some slow Jenkins job?"
One can test Terraform scripts without requiring it be hooked into Jenkins. If I have an account with a supported provider, testing during development of said script(s) isn't really that hard.