To configure
BitterSuite, add a file
config.ss
to the suite directory. This ability was added to remove the need for obscure command line arguments. The following options are configurable:
-
interpret-mark-scheme
: A boolean value, set to false
by default. If changed to true
, bash commands in the mark-scheme
file, such as autotesting grades, will be evaluated.
-
nroff-mark-scheme
: A boolean value, set to false
by default. If changed to true
, nroff commands in the mark-scheme
file, such as .ti, will be evaluated.
-
print-by-question
: A boolean value, set to false
by default, which determines how the autotesting results are displayed in the output file of rst. If true
, autotesting totals for each question will be displayed, and the tests will be labelled as "Question X, test Y". If false
, autotesting totals for each question will not be displayed, and the tests will be labelled as "Test X_Y".
-
print-submit-files
: A boolean value, set to false
by default. If changed to true
, the student's code will be included in the output file of rst.
-
test-account
: A string specifying which account the tests will be run on (default: csXXXt
)
-
test-connect
: A list of strings specifying the command used to connect to the test account. This command will be run as test-connect test-account
-
verbosity
: A number between 0 and 10 specifying the amount of output you would like BitterSuite to produce (default: 1
). This refers specifically to output visible to the person running the tests, not to the students.
A sample
config.ss
is shown below:
(verbosity 4)
(print-submit-files false)
(print-by-question true)
(nroff-mark-scheme false)
(interpret-mark-scheme true)
Typical settings for a public test suite that has no marking key to print for TAs but has a bit of text to be pretty-formatted by nroff:
(verbosity 1)
(print-submit-files false)
(print-by-question true)
(nroff-mark-scheme true)
(interpret-mark-scheme false)
Typical settings for an automarking suite that is to be hand-marked:
(verbosity 1)
(print-submit-files true)
(print-by-question true)
(nroff-mark-scheme true)
(interpret-mark-scheme true)
Topic revision: r2 - 2021-09-08
- YiLee