folders and a bit of initial test data for xml validation
This commit is contained in:
6
common/test/README.md
Normal file
6
common/test/README.md
Normal 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.
|
||||
1
common/test/data/full/README.md
Normal file
1
common/test/data/full/README.md
Normal 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.
|
||||
2
common/test/data/simple/README.md
Normal file
2
common/test/data/simple/README.md
Normal file
@@ -0,0 +1,2 @@
|
||||
This is a simple, but non-trivial, course using multiple module types and some nested structure.
|
||||
|
||||
1
common/test/data/toy/README.md
Normal file
1
common/test/data/toy/README.md
Normal file
@@ -0,0 +1 @@
|
||||
This is a very very simple course, useful for initial debugging of processing code.
|
||||
11
common/test/data/toy/toy_course.xml
Normal file
11
common/test/data/toy/toy_course.xml
Normal 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>
|
||||
Reference in New Issue
Block a user