Created by David Coles and last modified
Get this branch:
bzr branch lp:~ivle-dev/ivle/exercise-testing-refactor
Members of IVLE Developers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

IVLE Developers

Recent revisions

1326. By David Coles

Use TruncatingStringIO in FakeConsole so that it behaves like TestFramework
expects it to (read all new data, truncate after reading). Make it very clear
we haven't implemented any file testing functionlity. Clean up sample
exercises so that they now work (all_input will still fail due to no file

1325. By David Coles

Use the testing frameworks fake console and a temporary database for running
test suite on the new Storm based framework.

1324. By David Coles

Convert to Unix line endings (causes issues in Python when exec-ing code that
has \r\n new lines when run in terminal or \n formatted scripts)

1323. By David Coles

trip strings of excess whitespace when parsing XML exercises. Make sure there
is always an include string (even if just empty) for TestSuite, allow
TestCaseParts types to be optional.

1322. By David Coles

Fixes to Test framework:
* Allow None to be used rather than just empty string for undefined
* TestCaseParts should default to normalisation rather than check.
* Fix builtin test functions so they work properly (classmethods take the
class as their first parameter).

1321. By David Coles

Fleshed out more of FakeConsole. Capture IO and return results in correct

1320. By David Coles

Added a fake console that allows execution without requiring a full jail. For
testing purposes only. (Should not run student code)

1319. By David Coles

Script to parse the old XML file format into Storm objects. Included is an
example allowing us to test these on a SQLite database.

Worksheet is just a subset of userdb/users.sql. Ideally it would be nice if we
could break it up into sections.

1318. By David Coles

Made project.deadline compulsory since it's required for submit. Creating new projects will now ask for a deadline.

1317. By David Coles

Normalise usernames to lowercase so that they are case insensitive.
This is to prevent an issue with a certain "unnamed LDAP service" doing case insensative lookups meaning we will create duplicate users.
Fixes lp:415171

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar RepositoryFormatKnitPack5RichRoot (bzr 1.6.1)
Stacked on:
This branch contains Public information 
Everyone can see this information.