tame/progtest/test
Mike Gerwitz c062cc5a5c progtest: Check inputs against known params
This aims to prevent needlessly wasted time debugging a non-working test
case, and to avoid writing incorrect test cases that happen to succeed even
though their inputs aren't properly defined.

For example, a common error is to use the name of a bucket field rather than
the name of the param that it maps to.

* progtest/src/TestRunner.js (_verifyKnownParams): New method.
  (_tryRun): Use it.
* progtest/test/TestRunnerTest.js: New test case.  Modify existing test
   cases to define used params.
* progtest/test/_stub/program.js (exports.rater.params): Declare used param.
2019-02-26 11:10:25 -05:00
..
_stub progtest: Check inputs against known params 2019-02-26 11:10:25 -05:00
reader Copyright year simplification and update to Ryan Specialty Group 2019-02-07 13:23:09 -05:00
reporter Copyright year simplification and update to Ryan Specialty Group 2019-02-07 13:23:09 -05:00
TestCaseTest.js Copyright year simplification and update to Ryan Specialty Group 2019-02-07 13:23:09 -05:00
TestRunnerTest.js progtest: Check inputs against known params 2019-02-26 11:10:25 -05:00
runner-test Copyright year simplification and update to Ryan Specialty Group 2019-02-07 13:23:09 -05:00