There is some information about tests with exercises.
There is only one class with possibility to generate tests with exercises:
Test
Exercise
Assignment
Tests can be obtained with importing Imports module from Modules:
Imports
Modules
import Modules.Imports as Imports
Main class contained in Imports.Tests module.
Imports.Tests
Test class can generate tests with exercises, which can be obtained with Exercises class.
test = Imports.Tests.Test([exercise1, exercise2])
Also, it's possible to use next syntax:
test = Imports.Tests.Test() test.append(exercise1) test.append(exercise2)
This example generates test with two exercises.
There was an error while loading. Please reload this page.