instruqt track test
command. When you run this command, Instruqt starts a new instance of your track and simulates a learner going through the track by executing all challenge lifecycle scripts. With this, you can ensure your track is free from errors and issues that could cause a bad experience for learners.instruqt track test
, Instruqt executes the following steps on each challenge:setup
, check
and solve
) have been implemented correctly.DIRECTORY_NAME
with your track directory.TEAM
, TRACK_SLUG
, and YOUR_CHALLENGE_NAME_x
will be your team, track slug, and challenge names. And your track and challenge IDs will also differ. --skip-fail-check
flag in the instruqt track test
command to skip the first check attempt and go straight to the solve script. Furthermore, the checking steps will fail if you have not implemented check scripts for your track. To avoid this failure, you can use the same --skip-fail-check
flag in the instruqt track test
command.--keep-running
flag to the instruqt track test
command. This is useful when you debug a script issue and want to inspect the environment after the test has finished. If you are running the test with your credentials, you can go to play.instruqt.com and continue with the track where the test finished.INSTRUQT_TOKEN
with the value of your API token in your CI/CD system.