I guess you haven’t used the codePen template coz it already has the test source script embedded in it.
Just paste the below in your html and you’ll see a menu on the top left of your page. Click on it, select ‘tribute page’ from the dropdown and click on ‘Run Tests’. Also, to read the tests error messages you could click on the button which tells you how many have passed.