1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00
denoland-deno/tests
2019-04-08 16:22:40 -04:00
..
subdir Add worker benchmarks (#2059) 2019-04-05 22:57:59 +03:00
001_hello.js Add tools/test.py test runner. (#384) 2018-07-21 19:08:24 -04:00
001_hello.js.out Add tools/test.py test runner. (#384) 2018-07-21 19:08:24 -04:00
001_hello.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
002_hello.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
002_hello.ts Add tools/test.py test runner. (#384) 2018-07-21 19:08:24 -04:00
002_hello.ts.out Add tools/test.py test runner. (#384) 2018-07-21 19:08:24 -04:00
003_relative_import.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
003_relative_import.ts Add tests/003_relative_import.ts 2018-07-29 00:22:39 -04:00
003_relative_import.ts.out Add tests/003_relative_import.ts 2018-07-29 00:22:39 -04:00
004_set_timeout.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
004_set_timeout.ts First pass at setTimeout with Tokio (#434) 2018-08-09 12:17:08 -07:00
004_set_timeout.ts.out First pass at setTimeout with Tokio (#434) 2018-08-09 12:17:08 -07:00
005_more_imports.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
005_more_imports.ts Add 005_more_imports.ts 2018-08-02 12:49:40 -04:00
005_more_imports.ts.out Add 005_more_imports.ts 2018-08-02 12:49:40 -04:00
006_url_imports.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
006_url_imports.ts Improve module resolution. 2018-09-05 22:27:23 -04:00
006_url_imports.ts.out Use stderr for exceptions (#1303) 2018-12-10 17:50:41 -05:00
010_set_interval.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
010_set_interval.ts Changed tools/lint.py to lint the entire js and tests directories. (#900) 2018-10-05 07:29:55 -04:00
010_set_interval.ts.out First pass at setTimeout with Tokio (#434) 2018-08-09 12:17:08 -07:00
012_async.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
012_async.ts Migrate from tslint to eslint for linting (#1905) 2019-03-09 12:30:38 -05:00
012_async.ts.out Add async tests from prototype 2018-08-11 09:02:07 -07:00
013_dynamic_import.disabled Native ES modules (#1460) 2019-01-09 12:59:46 -05:00
013_dynamic_import.ts runtime.ts refactor into compiler.ts (#564) 2018-08-22 17:17:26 -04:00
013_dynamic_import.ts.out runtime.ts refactor into compiler.ts (#564) 2018-08-22 17:17:26 -04:00
014_duplicate_import.disabled Native ES modules (#1460) 2019-01-09 12:59:46 -05:00
014_duplicate_import.ts Add duplicate import test 2018-08-28 08:44:34 -04:00
014_duplicate_import.ts.out Add duplicate import test 2018-08-28 08:44:34 -04:00
016_double_await.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
016_double_await.ts Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
016_double_await.ts.out Add failing test for #919. 2018-10-06 20:24:47 -04:00
017_import_redirect.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
017_import_redirect.ts Migrate from tslint to eslint for linting (#1905) 2019-03-09 12:30:38 -05:00
017_import_redirect.ts.out Use stderr for exceptions (#1303) 2018-12-10 17:50:41 -05:00
018_async_catch.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
018_async_catch.ts Migrate from tslint to eslint for linting (#1905) 2019-03-09 12:30:38 -05:00
018_async_catch.ts.out Fix promise reject issue (#936) 2018-10-12 14:22:52 -04:00
019_media_types.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
019_media_types.ts Migrate from tslint to eslint for linting (#1905) 2019-03-09 12:30:38 -05:00
019_media_types.ts.out Use stderr for exceptions (#1303) 2018-12-10 17:50:41 -05:00
020_json_modules.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
020_json_modules.ts Fix JSON Modules (#1514) 2019-01-14 00:18:42 -05:00
020_json_modules.ts.out Add ability to load JSON as modules (#1065) 2018-10-30 20:50:40 -07:00
022_info_flag.out Module dep pretty printing in --info 2019-02-15 11:06:49 -05:00
022_info_flag.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
023_no_ext_with_headers Follow redirect location as new referrers for nested module imports (#2031) 2019-04-01 21:46:40 -04:00
023_no_ext_with_headers.headers.json Follow redirect location as new referrers for nested module imports (#2031) 2019-04-01 21:46:40 -04:00
023_no_ext_with_headers.out Follow redirect location as new referrers for nested module imports (#2031) 2019-04-01 21:46:40 -04:00
023_no_ext_with_headers.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
024_import_no_ext_with_headers.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
024_import_no_ext_with_headers.ts Follow redirect location as new referrers for nested module imports (#2031) 2019-04-01 21:46:40 -04:00
024_import_no_ext_with_headers.ts.out Follow redirect location as new referrers for nested module imports (#2031) 2019-04-01 21:46:40 -04:00
025_high_precision.test Allow high precision performance.now() (#1977) 2019-04-08 16:22:40 -04:00
025_high_precision.ts Allow high precision performance.now() (#1977) 2019-04-08 16:22:40 -04:00
025_high_precision.ts.out Allow high precision performance.now() (#1977) 2019-04-08 16:22:40 -04:00
025_reload_js_type_error.js Merge the --recompile and --reload flags (#2003) 2019-03-28 16:05:41 -04:00
025_reload_js_type_error.js.out Fix error when JS is executed with --recompile (#2007) 2019-03-27 16:10:31 -04:00
025_reload_js_type_error.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
026_redirect_javascript.js Follow redirect location as new referrers for nested module imports (#2031) 2019-04-01 21:46:40 -04:00
026_redirect_javascript.js.out Follow redirect location as new referrers for nested module imports (#2031) 2019-04-01 21:46:40 -04:00
026_redirect_javascript.js.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
026_workers.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
026_workers.ts Add web worker JS API (#1993) 2019-04-01 15:09:59 -04:00
026_workers.ts.out Add web worker JS API (#1993) 2019-04-01 15:09:59 -04:00
027_redirect_typescript.ts Follow redirect location as new referrers for nested module imports (#2031) 2019-04-01 21:46:40 -04:00
027_redirect_typescript.ts.out Follow redirect location as new referrers for nested module imports (#2031) 2019-04-01 21:46:40 -04:00
027_redirect_typescript.ts.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
028_args.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
028_args.ts Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
028_args.ts.out Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
async_error.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
async_error.ts Migrate from tslint to eslint for linting (#1905) 2019-03-09 12:30:38 -05:00
async_error.ts.out Color exceptions (#1698) 2019-02-07 20:07:20 -05:00
badly_formatted.js Support --fmt 2019-02-02 17:48:43 -05:00
badly_formatted_fixed.js Support --fmt 2019-02-02 17:48:43 -05:00
cat.ts Migrate from tslint to eslint for linting (#1905) 2019-03-09 12:30:38 -05:00
circular1.js Refactor libdeno ES module interface. (#1624) 2019-01-30 17:21:31 -05:00
circular1.js.out Refactor libdeno ES module interface. (#1624) 2019-01-30 17:21:31 -05:00
circular1.test Refactor libdeno ES module interface. (#1624) 2019-01-30 17:21:31 -05:00
circular2.js Refactor libdeno ES module interface. (#1624) 2019-01-30 17:21:31 -05:00
echo_server.ts Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
error_001.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
error_001.ts Migrate from tslint to eslint for linting (#1905) 2019-03-09 12:30:38 -05:00
error_001.ts.out Native ES modules (#1460) 2019-01-09 12:59:46 -05:00
error_002.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
error_002.ts Migrate from tslint to eslint for linting (#1905) 2019-03-09 12:30:38 -05:00
error_002.ts.out Native ES modules (#1460) 2019-01-09 12:59:46 -05:00
error_003_typescript.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
error_003_typescript.ts runtime.ts refactor into compiler.ts (#564) 2018-08-22 17:17:26 -04:00
error_003_typescript.ts.out Color exceptions (#1698) 2019-02-07 20:07:20 -05:00
error_004_missing_module.test Non-fatal compile_sync failures (#2039) 2019-04-04 05:33:32 -04:00
error_004_missing_module.ts Migrate from tslint to eslint for linting (#1905) 2019-03-09 12:30:38 -05:00
error_004_missing_module.ts.out Non-fatal compile_sync failures (#2039) 2019-04-04 05:33:32 -04:00
error_005_missing_dynamic_import.test Non-fatal compile_sync failures (#2039) 2019-04-04 05:33:32 -04:00
error_005_missing_dynamic_import.ts Migrate from tslint to eslint for linting (#1905) 2019-03-09 12:30:38 -05:00
error_005_missing_dynamic_import.ts.out Non-fatal compile_sync failures (#2039) 2019-04-04 05:33:32 -04:00
error_006_import_ext_failure.test Non-fatal compile_sync failures (#2039) 2019-04-04 05:33:32 -04:00
error_006_import_ext_failure.ts Guess extensions on extension not provided (#859) 2018-10-02 12:38:45 -04:00
error_006_import_ext_failure.ts.out Non-fatal compile_sync failures (#2039) 2019-04-04 05:33:32 -04:00
error_007_any.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
error_007_any.ts Check thrown type, print String(...) if not instance of error (#939) 2018-10-08 11:36:09 -04:00
error_007_any.ts.out libdeno: improve exception handling 2019-01-30 15:53:23 -05:00
error_008_checkjs.js Migrate from tslint to eslint for linting (#1905) 2019-03-09 12:30:38 -05:00
error_008_checkjs.js.out Color exceptions (#1698) 2019-02-07 20:07:20 -05:00
error_008_checkjs.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
error_009_missing_js_module.js Avoid crashes on ES module resolution when module not found (#1546) 2019-01-18 15:15:09 -05:00
error_009_missing_js_module.js.out Better error message for bad filename CLI argument. 2019-02-02 17:33:21 -05:00
error_009_missing_js_module.test Avoid crashes on ES module resolution when module not found (#1546) 2019-01-18 15:15:09 -05:00
error_010_nonexistent_arg.out Add window.location 2019-02-18 23:04:59 -05:00
error_010_nonexistent_arg.test Better error message for bad filename CLI argument. 2019-02-02 17:33:21 -05:00
error_syntax.js Pipe new exception info through into JSError 2019-01-11 21:44:26 -05:00
error_syntax.js.out Color exceptions (#1698) 2019-02-07 20:07:20 -05:00
error_syntax.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
esm_imports_a.js Add rust binding and test for deno_execute_mod() 2019-01-03 09:45:40 -05:00
esm_imports_b.js Add rust binding and test for deno_execute_mod() 2019-01-03 09:45:40 -05:00
exec_path.ts Add execPath function (#1743) 2019-02-15 11:22:02 -05:00
exit_error42.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
exit_error42.ts Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
exit_error42.ts.out Expose deno.exit() and add test. 2018-08-21 18:34:56 -04:00
fetch_deps.ts Migrate from tslint to eslint for linting (#1905) 2019-03-09 12:30:38 -05:00
hello.txt Add resources op (#1119) 2018-10-30 12:58:55 -07:00
http_bench.ts Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
https_import.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
https_import.ts Migrate from tslint to eslint for linting (#1905) 2019-03-09 12:30:38 -05:00
https_import.ts.out Use stderr for exceptions (#1303) 2018-12-10 17:50:41 -05:00
if_main.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
if_main.ts Add window.location 2019-02-18 23:04:59 -05:00
if_main.ts.out Add window.location 2019-02-18 23:04:59 -05:00
import_meta.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
import_meta.ts Add import.meta.main (#1835) 2019-02-26 13:29:45 -05:00
import_meta.ts.out Add import.meta.main (#1835) 2019-02-26 13:29:45 -05:00
import_meta2.ts Add import.meta.main (#1835) 2019-02-26 13:29:45 -05:00
is_tty.ts Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
no_color.js Remove 'deno' builtin module (#1895) 2019-03-07 21:56:56 -05:00
README.md Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
types.out Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
types.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
unbuffered_stderr.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
unbuffered_stderr.ts Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
unbuffered_stderr.ts.out fix(test): fix test of unbuffered_stderr 2018-12-27 02:09:49 +00:00
unbuffered_stdout.test Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
unbuffered_stdout.ts Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
unbuffered_stdout.ts.out make stdout unbuffered (#1355) 2018-12-22 23:53:29 -05:00
wasm.test Add WebAssembly to runtime library (#1677) 2019-02-05 08:12:58 -05:00
wasm.ts Add WebAssembly to runtime library (#1677) 2019-02-05 08:12:58 -05:00
wasm.ts.out Add WebAssembly to runtime library (#1677) 2019-02-05 08:12:58 -05:00
workers_round_robin_bench.ts Add worker benchmarks (#2059) 2019-04-05 22:57:59 +03:00
workers_startup_bench.ts Add worker benchmarks (#2059) 2019-04-05 22:57:59 +03:00

Integration Tests

This path contains integration tests. When the integration tests are run, the test harness will execute tests which are defined in a .test file and located in the base of this path.

A .test file is a simple configuration format where each option is specified on a single line. The key is the string to the left of the : deliminator and the value is the string to the right.

Key Required Description
args Yes Specifies the command line arguments for the test. This should typically be input script for the test and a --reload to help ensure Deno doesn't leverage the cache.
output Yes This is a text file which represents the output of the command. The string [WILDCARD] can be used in the output to specify ranges of text which any output is accepted.
exit_code No If not present, it is assumed the script would exit normally (0). If specified, the harness will ensure the proper code is received.