I'm curious as to what tools people use to test their code.

I work with a few email systems that require certain variables to be included in the code. For example, Campaign Monitor requires a special <unsubscribe> tag in order to be deployed.

Each system I work with has something unique about it. So I figured I would start using a testing framework like Mocha to test for those special variables during/after my build. This may sound like a bit much, but if you develop a lot of emails, there's always a chance something will slip by.

I'm currently using gulpjs with Mocha to run my tests and it's working great.

Do any of you do this kind of testing?