Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-03 | Refactor test infrastructure (#2432) | Bartek Iwańczuk | |
* use subclass of unittest.TestCase for all test cases * allow to run single test file (eg. python tools/integration_tests.py) * test filtering (via --pattern/-p CLI flag) * use common CLI parser for all tests: usage: test.py [-h] [--failfast] [--verbose] [--executable EXECUTABLE] [--release] [--pattern PATTERN] [--build-dir BUILD_DIR] optional arguments: -h, --help show this help message and exit --failfast, -f Stop on first failure --verbose, -v Verbose output --executable EXECUTABLE Use external executable of Deno --release Test against release executable --pattern PATTERN, -p PATTERN Run tests that match provided pattern --build-dir BUILD_DIR Deno build directory * respect NO_COLOR variable | |||
2019-05-30 | chore: refactor python tests to use unittest (#2414) | Andy Hayden | |
Move every test to a method on DenoTestCase. test.py is a single TestSuite of every TestCase. Add a Spawn context manager for http_server, this is explicitly used where it's needed. Each python test file can now be run independently without needing to manually run http_server. Add --help and consistent flags using argparse for each python test, including --failfast. Use ColorTextTestRunner so that '... ok' is green. | |||
2019-05-27 | chore: Port Python tests to unittest (#2408) | Bartek Iwańczuk | |
2019-05-03 | add "deno run" subcommand (#2215) | Bartek Iwańczuk | |
2019-04-07 | Refactor CLI flag parsing (#2025) | Bartek Iwańczuk | |
2019-03-18 | More permissions prompt options (#1926) | andy finch | |
2019-03-13 | --no-prompt flag for non-interactive environments (#1913) | andy finch | |
2019-02-09 | Add --allow-read test code | J2P | |
2019-02-07 | Add emojis to permission prompts (#1684) | Dmitry Sharshakov | |
2019-01-21 | chore: update license lines (#1557) | Yoshiya Hinosawa | |
2019-01-12 | Add --allow-run test code (#1504) | JaePil Jung | |
2018-12-10 | Use stderr for exceptions (#1303) | Ryan Dahl | |
2018-11-30 | Use pylint. | Ryan Dahl | |
2018-10-27 | Ergonomics: Prompt TTY for permission escalation (#1081) | Ryan Dahl | |