Skip to content

Testing the LTI App in Moodle

Sean Hammond edited this page Oct 18, 2019 · 4 revisions

There's a private devdata repo with all the URLs, usernames and passwords for our test LMS instances (Canvas, Blackboard, Moodle, ...)

Testing the process of creating new assignments (as a teacher)

You will need:

  • You can either use the SCRATCH AREA in Test Course 1 as a place to create new assignments in, or create your own course and use that.

  • You can use the moodleteacher user account to create test assignments. This user is already set up as a teacher in Test Course 1.

  • You can use the preinstalled QA and production instances of our app to test creating assignments.

To create a new assignment:

Creating a new assignment

  1. Login as moodleteacher and go to Test Course 1
  2. Click the gear icon in the top right and select Turn editing on
  3. Click on the Add an activity or resource link in the SCRATCH AREA
  4. Select External tool and click Add
  5. Enter an Activity name
  6. Select Hypothesis (QA) from the Preconfigured tool dropdown menu
  7. Click Save and display

Moodle will now launch the Hypothesis LTI app, and the app will be showing its assignment configuration UI.

This is an unconfigured assignment. At this point, if a student were to launch the assignment, they would see an error page.

As a teacher you can configure the assignment by entering either a public HTML or PDF URL or choosing a file from Google Drive and clicking Submit. Once a teacher has configured the assignment it becomes a DB-configured assignment and can now be launched by students.

Testing the process of launching assignments (as a student)

You will need:

  • You can use the moodlestudent user account to test launching assignments as a student. This user is already set up as a student in Test Course 1.

Test Course 1 contains pre-created test assignments of different types for both QA and production:

QA and production test assignments

All you have to do to test launching assignments as a student is login to the moodlestudent account and launch each of these test assignments. There are handy previous and next buttons at the bottom of the page for moving between assignments, so you can quickly step through them all:

QA and production test assignments