summaryrefslogtreecommitdiff
path: root/tools/test.py
AgeCommit message (Collapse)Author
2019-09-19Remove test.py, use cargo test as test frontend (#2967)Ryan Dahl
Fixes #2933
2019-09-18First pass at github actions (#2966)Ryan Dahl
2019-09-10feat: Make integration tests rust unit tests (#2884)Bartek Iwańczuk
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2019-08-26Move TestFmt to the end of tests, because slowRyan Dahl
2019-06-11Move TestFmt to end of tests (#2491)Ryan Dahl
2019-06-08make tests quieter (#2468)Andy Hayden
Don't mix every http request in with the tests output. Don't print that the file servers are starting unless -vv flag is passed. Capture the output of run with run_output which returns stdout, stderr and exit_code. Test against this rather than relying on sys.exit.
2019-06-03Refactor 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-30chore: 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-27chore: Port Python tests to unittest (#2408)Bartek Iwańczuk
2019-05-08First pass at permissions whitelist (#2129)andy finch
2019-05-03add "deno run" subcommand (#2215)Bartek Iwańczuk
2019-05-01Rename test targets (#2262)Bartek Iwańczuk
2019-04-25Rename deno prefetch to deno fetch (#2210)Bartek Iwańczuk
2019-03-18Re-enable permissions prompt tests (#1957)andy finch
2019-03-18Integrate //core into existing code baseRyan Dahl
This disables a few tests which are broken still: - tests/error_004_missing_module.test - tests/error_005_missing_dynamic_import.test - tests/error_006_import_ext_failure.test - repl_test test_set_timeout - repl_test test_async_op - repl_test test_set_timeout_interlaced - all of permission_prompt_test
2019-03-18Re-order tests for sanityRyan Dahl
2019-03-15core: Behavior shouldn't be genericRyan Dahl
We always pass around Box<[u8]>, and adding this generic is an unnecessary complication. Add deno_core_http_bench_test to test.py sharedQueue works on deno_core_http_bench
2019-02-26deno_core (#1827)Ryan Dahl
A new low-level crate with focus on speed. This doesn't yet hook into the existing code base.
2019-02-15Add execPath function (#1743)Dmitry Sharshakov
2019-02-12Decouple ts_library_builder from std/testing (#1749)Ryan Dahl
2019-02-11fix: improve formatting (#1732)Yoshiya Hinosawa
2019-02-08Adds deno.noColor (#1716)Ryan Dahl
2019-02-02Add isTTY function (#1622)Dmitry Sharshakov
2019-02-02Support --fmtRyan Dahl
2019-01-21chore: update license lines (#1557)Yoshiya Hinosawa
2019-01-15 Add --prefetch flag for deps prefetch without running (#1475)Kevin (Kun) "Kassimo" Qian
2018-11-05Add repl (#998)Andy Hayden
- Running repl from js side. - Add tests for repl behavior. - Handle ctrl-C and ctrl-D.
2018-11-04Improve integration test harness (#1142)Kitson Kelly
2018-10-27Ergonomics: Prompt TTY for permission escalation (#1081)Ryan Dahl
2018-10-24Remove deno_nsRyan Dahl
2018-10-19Add missing copyrights (#1024)ztplz
2018-10-15Specify deno_dir location with env var DENO_DIR (#970)Amos Lim
(Use C:\deno instead of c:\deno in appveyor config because it's cloned to c:\ by clone_folder variable in .appveyor.yml. On the other hand, build directory is pointed to C:\ by $(APPVEYOR_BUILD_FOLDER) so that test targets are placed on separated partitions.)
2018-09-26Expand binary size benchmark (#830)Kevin (Kun) "Kassimo" Qian
2018-09-26Revert "Expand binary size benchmark (#830)"Bert Belder
This reverts commit 8c7416b3f666c62327a2306e955ec59823b1f239.
2018-09-25Expand binary size benchmark (#830)Kevin (Kun) "Kassimo" Qian
2018-09-24Add thread count benchmark (#811)Kevin (Kun) "Kassimo" Qian
2018-09-24tools: make color output work on windowsBert Belder
2018-09-08tools/setup: replace generated args.gn unless handcraftedBert Belder
2018-09-06Move installer to its own repo.Ryan Dahl
https://github.com/denoland/deno_install 1. This allows the installer to use a more aggressive CI build matrix with different version of python. 2. Running the installer during tools/test.py artificially inflates our download stats. 3. Running the installer during tools/test.py makes the test script dependent on having an internet connection. 4. Running the installer during tools/test.py introduces a race condition during release - where it tries and fails to download the latest release in build process that should be uploading that release.
2018-08-31Add release installer (#639)Mirko Jotic
2018-08-27Add ability to unit test by permissions.Ryan Dahl
2018-08-22Implement writeFileSyncRyan Dahl
In collaboration with Tommy Savaria <tommy.savaria@protonmail.ch>
2018-08-20Enable http server for tests.Ryan Dahl
2018-08-10Support wildcard matching of output in testsKitson Kelly
2018-08-09Adds js/unit_tests.ts (#448)Ryan Dahl
2018-07-24Remove handlers crate target.Ryan Dahl
- Add build scripts for Rust flatbuffers. - Rewrites some reply.cc methods in Rust. - Changes some struct elements to table in msg.fbs (rust flatbuffers lacks support currently) - Renames handlers_test to test_rs. - This reorg is needed to make progress on the code cache handler.
2018-07-21Add tools/test.py test runner. (#384)Ryan Dahl