Skip to content

Simple test shell for the small computer classes

License

Notifications You must be signed in to change notification settings

s4rduk4r/MyTest

Repository files navigation

MyTest

Simple test shell for small computer classes

This mess of files were created in order to make a custom testing platform for the small computer classes. So it's not very sophisticated. The idea was to make a test shell as simple and fast as possible and it should work under different OSes. This system works more or less as intended.

Main features are:

  1. Simple test file structure in a Key = Value manner
  2. Tests can be encoded and decoded so you'll never face a situation when nobody knows what original test looks like
  3. Each run test shell shuffles questions and answers
  4. Students can traverse questions forwards and backwards
  5. Tests can be limited in time
  6. Tests can be performed in Loyal and Punish mode. Punish mode gives penalty for giving the wrong answers
  7. Each question is meant to be a multichoice question
  8. It was battle tested under Windows and Linux. In theory it should work under MacOS
  9. Half-arsed english and russian UI language support

Main disadvantages are:

  1. No image embeddings
  2. No audio and video embeddings
  3. Not all of the characters are supported
  4. Needs more intelligent language support

Test file structure

Every meaningful line has syntax: Key = Value

Spaces between the fields can be unlimited.

Commentary lines start from # symbol.

Rules to follow:

  1. Keywords Test, Author, Date, Time, Mode, Question can be used in any order and in any place of the text
  2. Keywords Value, Answer, Answer+ are ignored if placed before keyword Question
  3. Keywords Value, Answer, Answer+ are considered to be related to the latest occurence of the Question keyword

Supported keywords:

  1. Test - test name
  2. Author - Test author
  3. Date - Creation/Modification date. Must be in format DD.MM.YYYY
  4. Time - Test time in seconds. Note that this is a time for the whole test.
  5. Mode - Test mode. Can be either Loyal or Punish. Punish mode means wrong answers give negative points worth question value divided on all wrong answers. Loyal is the default mode and doesn't account negative points.
  6. Question - Each question begins with keyword Question
  7. Value - how much points is given question worth
  8. Answer - Every keyword Answer is counted towards the latest encountered Question keyword
  9. Answer+ - Correct answers are marked by + suffix

Example test file

Example test file can be found here -> https://github.com/s4rduk4r/MyTest/blob/master/MyTest/Tests/TestExample.mytest

About

Simple test shell for the small computer classes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages