If you used the course builder, your course will be in a Pending state. While pending, you can test your courses by going to the course dashboard, and clicking on View course page next to the course title. If you didn't use the course builder, follow the instructions in Manual repository setup before testing.
To test:
https://lab.github.com/:owner/:title
, replacing :owner
with the login of the owner and :title
with the slugified title of course.https://lab.github.com/:owner/:title/admin
.While testing your course, you may find it helpful to see the information being sent by the events triggered in the course repository. Smee.io is a free service you can use to inspect the payloads for the GitHub events.
After you've registered for your course and a repository is generated, use the following steps to add Smee.io to the repository created by Learning Lab:
application/json
.Send me everything
option for which events you want to listen for.As you complete the steps in your course, keep your Smee URL open in a separate tab. The GitHub events triggered during your course will be added to the list of payloads in Smee.
It is important to note that these instructions configure the repository to send Smee every webhook you trigger, but Learning Lab ignores any webhooks that do not match the selected step event.
As you test your course, it is likely that you'll want to make updates. Pushing any changes to your course repository's default branch will automatically update the course. See Keep in sync for more information.
As you test your course, you'll run into errors and bugs. Sometimes, recognizing where you got stuck and giving a close look at the config.yml
will show you exactly where you've run into issues.
Other times, you might need some extra context. Once a course repository has been updated (even for draft versions), the Learning Lab app will report a status back to that repository indicating whether your course was properly updated. This will be visible in the repository's commit history, or in pull requests.