Testing your course
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.
- Navigate to your course by going to
:owner with the login of the owner and
:title with the slugified title of course.
- To see all versions of our course, navigate to
- Verify the course description.
- Register for the course.
- Verify the repo was created for you as a learner.
- Complete the steps in your course.
- Click on all links in your course.
Debugging your course
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:
- Visit https://smee.io/new. This will redirect you to a new URL - copy the URL to use in the next step.
- Visit https://github.com/:owner/:repo/settings/hooks/new
- For Payload URL, use the smee.io channel from step one.
- Set Content type to
- Choose the
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.
Making updates to your course
As you test your course, it is likely that you'll want to make updates. Pushing any changes to your course repository's master 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.