Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

SCORM Test Harness: Difference between revisions

From MoodleDocs
(Deliverables, Implementation, Schedule, Further reading)
m (fixed broken link)
Line 60: Line 60:
* [http://www.adlnet.gov/Technologies/scorm/SCORMSDocuments/2004%204th%20Edition/Test%20Suite.aspx SCORM 2004 documentation test suite]
* [http://www.adlnet.gov/Technologies/scorm/SCORMSDocuments/2004%204th%20Edition/Test%20Suite.aspx SCORM 2004 documentation test suite]
* [https://docs.moodle.org/en/SCORM_FAQ SCORM FAQ]
* [https://docs.moodle.org/en/SCORM_FAQ SCORM FAQ]
* [https://docs.moodle.org/eb/GSOC/2011 GSoC 2011 - Moodle]
* [https://docs.moodle.org/en/GSOC/2011 GSoC 2011 - Moodle]


[[Category:SCORM]]
[[Category:SCORM]]

Revision as of 14:01, 5 May 2011

SCORM Test Harness
Project state Planning
Tracker issue MDL-26912
Discussion Using Moodle: SCORM Test Harness- GSoC
Assignee Mayank Gupta


Project specification to be updated soon...


Overview

Abstract

This document is the specification for SCORM Test Harness, a Google Summer Of Code (GSoC) 2011 project. The SCORM test harness will allow automatically running the SCORM ADL test on the latest Moodle Code.

The project mentor is Dan Marsden and the program administrator is Helen Foster.

Context

Currently running the SCORM ADL tests is a time consuming task and requires a specific environment to be set up. The tests can only run in Internet Explorer. This project aims at setting up an automated testing framework that will allow to automatically run the tests on a Microsoft Windows machine running Internet Explorer 8 or higher. The Moodle install need not be on the same Microsoft Windows machine and could be on a remote Linux machine too. The framework would also provide the ability to schedule or run the SCORM ADL tests automatically between the desired time intervals. On the completion of the tests an HTML page, containing the test's report will be displayed to the user.

The later part of the project itself involves identifying the issues with SCORM 2004 support, reporting them to the Tracker and writing patches for the same. This will help in the ongoing development of providing SCORM 2004 support in Moodle, without breaking compatibility with previous tests.

Project Deliverables

  • Script that downloads the latest Moodle Code from GitHub, ugrades the Moodle install (if necessary) and prepares it for executing the SCORM ADL tests.
  • Script that automates the ADL SCORM 1.2 tests and produces an HTML file with the results of the tests (pass/fail).
  • Script that automates some of the ADL SCORM 2004 tests on Moodle (it may not be possible to script all of the 2004 ADL tests due to existing failures).
  • Documentation for how to install the scripts on a Microsoft Windows machine and have them run on an automated cycle.
  • Identifying the issues with SCORM 2004 support in Moodle, reporting them to the Tracker and writing patches for the same.

Implementation Details

The following are the implementation details in breif:

  • Download and Update - The ADL SCORM tests should run on the latest Moodle code. The script using CLI will download the latest Moodle code from GitHub and upgrade the Moodle install (if necessary).
  • Add Test Course - Set up the users/course/activities required for the tests. This will be done by restoring the Moodle backup file into a new. This will again be implemented using CLI at the time of upgrading the install.
  • Execute Tests - Run the browser based test script. Selenium RC will be used to write the automated web tests.
  • Test Completion Report - At the end of the tests, the user will be displayed an HTML file with the results of the test (pass/fail).
  • Delete Test Course - After the tests have been executed, the new course that was added before the execution of test will be deleted.

Schedule

  • April 26th - May 29th: Get familiar with the Selenium RC, discuss functionality with mentor.
  • 30th May - 5th June: Write script to Download lates code, Upgrade Moodle, Restore and Delete test course.
  • 6th - 15th June: Write the automated web tests.
  • 16th - 26th June: Reproduce ADL SCORM 1.2 Tests.
  • 27th June - 6th July: Reproduce ADL SCORM 2004 Tests.
  • 7th - 11 July: Check for regressions and fix issues related with it, if any.

This will be the midterm evaluation target - Script to Download, Upgrade, Restore / Delete Backup, code for Test harness, script for ADL SCORM 1.2 and 2004 tests and preliminary report on regressions issues.

  • 12th July - 17th July: Check for regressions and fix issues related with it, if any.
  • 18th July - 13th August: Test SCORM 2004 packages report bugs in the Tracker and write patches.
  • 14th - 19th August: Documentation for installation and configuration of scripts on Windows machine.

would be a nice task: A developer documentation, to explain the the test harness.

Further Reading

For more information please visit the following links: