Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* progtest: ConsoleTestReporter: Correct number of inds on first linev2.14.1Mike Gerwitz2018-04-102-8/+8
|
* progtest: Exit with non-zero status on test failureMike Gerwitz2018-04-106-2/+95
| | | | | | | | | | Not a very useful test runner if it doesn't ever fail, now is it? * Makefile.am (check): Invoke new test/runner-test. Depend on modindex. * bin/runner.js: Exit with non-zero status on assertion failure. * test/_stub: Add stub program with good and bad test cases to test exit code. * test/runner-test: Add system test.
* progtest: Suppress terminating classifications during const runv2.11.2Mike Gerwitz2018-03-061-1/+1
| | | | | | | | Terminating classifications will occur any time there is actual data validation, since we're passing no data at all. * progtest/src/env.js (common): Pass argument to program#rater to suppress terminating classifications.
* progtest: Return empty array of test cases if none providedv2.11.1Mike Gerwitz2018-03-062-1/+11
| | | | | | * progtest/src/reader/YamlTestReader.js (loadCases): Handle absence of any test cases. * progtest/test/reader/YamlTestReaderTest.js: New respective test.
* progtest: Do not run tests async on consolev2.11.0Mike Gerwitz2018-03-053-40/+102
| | | | | | | | | Performance hit is too great; automated tests need to be _fast_! * src/AsyncTestRunner.js: New TestRunner subtype. * src/TestRunner.js (_runAsync): Rename to virtual protected `runAllTests'; this method is overridden by aforementioned subtype. * src/env.js: Use it.
* progtest: Output trailing newline after summary lineMike Gerwitz2018-03-052-3/+4
| | | | | | * src/reporter/ConsoleTestReporter.js (createSummaryLine): Output trailing newline. * test/reporter/ConsoleTestReporterTest.js: Modify respective test.
* progtest: Add runner scriptMike Gerwitz2018-03-056-3/+129
| | | | | | | | | | * .gitignore: Ignore new generated files (Autoconf, Automake, output). * Makefile: Rename to `Makefile.am', dynamically expand `--harmony-destructuring'. * autogen.sh: New script. * bin/runner.in: New runner script. * bin/runner.js: Resolve program path relative to CWD. * configure.ac: New configure script.
* TestRunner: Recognize error as failurev2.10.1Mike Gerwitz2018-02-232-7/+70
|
* progtest/README.md: Basic test case format documentationv2.10.0Mike Gerwitz2018-02-231-0/+33
|
* HtmlConsoleOutput: Add HTML-styled console outputMike Gerwitz2018-02-235-24/+328
|
* Makefile: run modindex firstMike Gerwitz2018-02-231-4/+4
|
* progtest: add dist targetMike Gerwitz2018-02-231-1/+3
|
* Makefile.am: Prevent doc from being built by defaultv2.9.13Mike Gerwitz2018-02-231-0/+2
|
* progtest/Makefile: Build tame-progtest.js as default targetv2.9.12Mike Gerwitz2018-02-231-1/+5
|
* progtest/package.json (devDependencies): Add mocha and chaiMike Gerwitz2018-02-231-1/+3
|
* progtest/package.json: Correct browserify versionMike Gerwitz2018-02-231-1/+1
|
* progtest: bug: constants are not initialized until ratingMike Gerwitz2018-02-192-3/+4
| | | | Ugh, this is nasty.
* progtest: .gitignore: ignore compiled outputMike Gerwitz2018-02-191-0/+3
|
* progtest: Display reader errors in browserMike Gerwitz2018-02-193-5/+19
|
* progtest: Async run each test seriallyMike Gerwitz2018-02-192-19/+59
| | | | | | | If that makes sense. The problem is that the browser needs to repaint after each test is run. See code comments.
* Initial embedding of YAML test case runnerMike Gerwitz2018-02-194-30/+73
|
* progtest: Generate index.js filesMike Gerwitz2018-02-194-7/+82
|
* progtest: Initial working console runnerMike Gerwitz2018-02-1920-0/+1638