Skip to content
This repository has been archived by the owner on Aug 8, 2020. It is now read-only.

Latest commit

 

History

History
19 lines (17 loc) · 643 Bytes

README.md

File metadata and controls

19 lines (17 loc) · 643 Bytes

Doctest Quiz

Parameters

  • quiz

    • This parameter specifies the name of the folder that the quiz items are in.
    • This is a relative path, and it should NOT include the folder 'quizzes'
    • Syntax
      • path.to.folder
  • paths

    • Syntax
      • [['filename', {extra_tests}, 'function_name']]
        • filename
          • Name of the question file
          • Should be a string
        • extra_tests
          • Key is the doctest in ('>>>' line in a normal doctest)
            • If doctest in is a list, put the entire thing in quotes
          • Value is doctest out (line after '>>>' in a normal doctest)