folders and a bit of initial test data for xml validation

This commit is contained in:
Victor Shnayder
2012-06-21 15:27:19 -04:00
parent 0f52b31ac1
commit f87433e346
5 changed files with 21 additions and 0 deletions

6
common/test/README.md Normal file
View File

@@ -0,0 +1,6 @@
Common test infrastructure for LMS + CMS
===========================
data/ has some test course data.
Once the course validation is separated from django, we should have scripts here that checks that a course consists only of xml that we understand.

View File

@@ -0,0 +1 @@
This is a realistic course, with many different module types and a lot of structure. It is based on 6.002x.

View File

@@ -0,0 +1,2 @@
This is a simple, but non-trivial, course using multiple module types and some nested structure.

View File

@@ -0,0 +1 @@
This is a very very simple course, useful for initial debugging of processing code.

View File

@@ -0,0 +1,11 @@
<course name="Toy Course" graceperiod="1 day 5 hours 59 minutes 59 seconds" showanswer="always" rerandomize="never">
<chapter name="Overview">
<section format="Video" name="Welcome">
<video youtube="0.75:izygArpw-Qo,1.0:p2Q6BrNhdh8,1.25:1EeWXzPdhSA,1.50:rABDYkeK0x8"/>
</section>
<section format="Lecture Sequence" name="System Usage Sequence">
<html id="Lab2A" filename="Lab2A.html"/>
<video name="S0V1: Video Resources" youtube="0.75:EuzkdzfR0i8,1.0:1bK-WdDi6Qw,1.25:0v1VzoDVUTM,1.50:Bxk_-ZJb240"/>
</section>
</chapter>
</course>