Test for Moodle-Mahara integration

Test for Moodle-Mahara integration

by Paula Ardanza -
Number of replies: 2

Hello everyone,

I would like to have an automated test that can detect if my Moodle-Mahara integration is working. In other words, any kind of integration test that can check the SSO, exporting files from Moodle to Mahara, and any others functionalities.

I would like to run it daily and be alerted if there is something that doesn't work.

Does anybody use some kind of test for that? Behat tests? Unit tests?

I'm using Mahara 1.10.2, Moodle 2.7 with the new versions of plugins for assign submission and feedback from Mahara.

Thanks in advance!

Paula.

Average of ratings: -
In reply to Paula Ardanza

Re: Test for Moodle-Mahara integration

by Rajesh Taneja -

Hello Paula,

Not sure if Mahara team have any test for the same, but you can achieve this by behat.

  1. Install Mahoodle, you can do this either by using behat steps or update behat_util::install_site() to ensure Mahoodle is setup for behat run.
  2. Write behat feature/scenario to create assignment with submission and feedback and export them to Mahara. Using behat step go to Mahara site and check status of exported file.

In reply to Rajesh Taneja

Re: Test for Moodle-Mahara integration

by Paula Ardanza -

Thanks Rajesh, that what I thought. We need to create the behat tests. Thanks for your suggestions! smile