A testnet is a sandbox environment for developers to experiment and test-run the functionality of a blockchain project described in a white paper. On a testnets programmers troubleshoot all the elements of a blockchain project.