Note: In this article I reference Dapptools, however, now recommend Foundry. Luckily, Foundry also uses ds-test and is similar to Dapptools. Most of what is written here applies to Foundry. The only difference is the terminal commands, which you can find here.