deno/tests
2019-02-26 13:29:45 -05:00
..
subdir
001_hello.js
001_hello.js.out
001_hello.test
002_hello.test
002_hello.ts
002_hello.ts.out
003_relative_import.test
003_relative_import.ts
003_relative_import.ts.out
004_set_timeout.test
004_set_timeout.ts
004_set_timeout.ts.out
005_more_imports.test
005_more_imports.ts
005_more_imports.ts.out
006_url_imports.test
006_url_imports.ts
006_url_imports.ts.out
010_set_interval.test
010_set_interval.ts
010_set_interval.ts.out
012_async.test
012_async.ts
012_async.ts.out
013_dynamic_import.disabled
013_dynamic_import.ts
013_dynamic_import.ts.out
014_duplicate_import.disabled
014_duplicate_import.ts
014_duplicate_import.ts.out
016_double_await.test Add --allow-read (#1689) 2019-02-08 15:59:38 -05:00
016_double_await.ts Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
016_double_await.ts.out
017_import_redirect.test
017_import_redirect.ts
017_import_redirect.ts.out
018_async_catch.test
018_async_catch.ts
018_async_catch.ts.out
019_media_types.test
019_media_types.ts
019_media_types.ts.out
020_json_modules.test
020_json_modules.ts
020_json_modules.ts.out
022_info_flag.out Module dep pretty printing in --info 2019-02-15 11:06:49 -05:00
022_info_flag.test Module dep pretty printing in --info 2019-02-15 11:06:49 -05:00
023_no_ext_with_mime Fix behavior for extensionless files with .mime file (#1779) 2019-02-15 11:05:29 -05:00
023_no_ext_with_mime.mime Fix behavior for extensionless files with .mime file (#1779) 2019-02-15 11:05:29 -05:00
023_no_ext_with_mime.out Fix behavior for extensionless files with .mime file (#1779) 2019-02-15 11:05:29 -05:00
023_no_ext_with_mime.test Fix behavior for extensionless files with .mime file (#1779) 2019-02-15 11:05:29 -05:00
024_import_no_ext_with_mime.test Fix behavior for extensionless files with .mime file (#1779) 2019-02-15 11:05:29 -05:00
024_import_no_ext_with_mime.ts Fix behavior for extensionless files with .mime file (#1779) 2019-02-15 11:05:29 -05:00
024_import_no_ext_with_mime.ts.out Fix behavior for extensionless files with .mime file (#1779) 2019-02-15 11:05:29 -05:00
async_error.test
async_error.ts
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 Add Deno global namespace (#1748) 2019-02-12 10:08:56 -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
error_001.ts
error_001.ts.out
error_002.test
error_002.ts
error_002.ts.out
error_003_typescript.test
error_003_typescript.ts
error_003_typescript.ts.out Color exceptions (#1698) 2019-02-07 20:07:20 -05:00
error_004_missing_module.test
error_004_missing_module.ts
error_004_missing_module.ts.out Rationalise compiler ops (#1740) 2019-02-18 10:42:15 -05:00
error_005_missing_dynamic_import.test
error_005_missing_dynamic_import.ts
error_005_missing_dynamic_import.ts.out Rationalise compiler ops (#1740) 2019-02-18 10:42:15 -05:00
error_006_import_ext_failure.test
error_006_import_ext_failure.ts
error_006_import_ext_failure.ts.out Rationalise compiler ops (#1740) 2019-02-18 10:42:15 -05:00
error_007_any.test
error_007_any.ts
error_007_any.ts.out libdeno: improve exception handling 2019-01-30 15:53:23 -05:00
error_008_checkjs.js
error_008_checkjs.js.out Color exceptions (#1698) 2019-02-07 20:07:20 -05:00
error_008_checkjs.test
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
error_syntax.js.out Color exceptions (#1698) 2019-02-07 20:07:20 -05:00
error_syntax.test
esm_imports_a.js
esm_imports_b.js
exec_path.ts Add execPath function (#1743) 2019-02-15 11:22:02 -05:00
exit_error42.test
exit_error42.ts Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
exit_error42.ts.out
fetch_deps.ts
hello.txt
http_bench.ts Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
https_import.test
https_import.ts
https_import.ts.out
if_main.test Add window.location 2019-02-18 23:04:59 -05: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 Add window.location 2019-02-18 23:04:59 -05: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 Adds deno.noColor (#1716) 2019-02-08 22:13:04 -05:00
README.md
types.out Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
types.test
unbuffered_stderr.test
unbuffered_stderr.ts Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
unbuffered_stderr.ts.out
unbuffered_stdout.test
unbuffered_stdout.ts Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
unbuffered_stdout.ts.out
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

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.