deno/tests
2019-03-28 16:05:41 -04:00
..
subdir Native ES modules (#1460) 2019-01-09 12:59:46 -05:00
001_hello.js
001_hello.js.out
001_hello.test Fix typo in tests (#1342) 2018-12-14 00:46:33 -05:00
002_hello.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
002_hello.ts
002_hello.ts.out
003_relative_import.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
003_relative_import.ts
003_relative_import.ts.out
004_set_timeout.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
004_set_timeout.ts
004_set_timeout.ts.out
005_more_imports.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
005_more_imports.ts
005_more_imports.ts.out
006_url_imports.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
006_url_imports.ts
006_url_imports.ts.out Use stderr for exceptions (#1303) 2018-12-10 17:50:41 -05:00
010_set_interval.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
010_set_interval.ts
010_set_interval.ts.out
012_async.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
012_async.ts Migrate from tslint to eslint for linting (#1905) 2019-03-09 12:30:38 -05:00
012_async.ts.out
013_dynamic_import.disabled Native ES modules (#1460) 2019-01-09 12:59:46 -05:00
013_dynamic_import.ts
013_dynamic_import.ts.out
014_duplicate_import.disabled Native ES modules (#1460) 2019-01-09 12:59:46 -05:00
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 Improve integration test harness (#1142) 2018-11-04 11:52:31 -08: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 Improve integration test harness (#1142) 2018-11-04 11:52:31 -08: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
019_media_types.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08: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 Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
020_json_modules.ts Fix JSON Modules (#1514) 2019-01-14 00:18:42 -05:00
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 Merge the --recompile and --reload flags (#2003) 2019-03-28 16:05:41 -04:00
024_import_no_ext_with_mime.test Merge the --recompile and --reload flags (#2003) 2019-03-28 16:05:41 -04: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
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 Merge the --recompile and --reload flags (#2003) 2019-03-28 16:05:41 -04:00
async_error.test Use stderr for exceptions (#1303) 2018-12-10 17:50:41 -05: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 Use stderr for exceptions (#1303) 2018-12-10 17:50:41 -05: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 Use stderr for exceptions (#1303) 2018-12-10 17:50:41 -05: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 Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
error_003_typescript.ts
error_003_typescript.ts.out Color exceptions (#1698) 2019-02-07 20:07:20 -05:00
error_004_missing_module.disabled Integrate //core into existing code base 2019-03-18 17:17:08 -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 Rationalise compiler ops (#1740) 2019-02-18 10:42:15 -05:00
error_005_missing_dynamic_import.disabled Integrate //core into existing code base 2019-03-18 17:17:08 -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 Rationalise compiler ops (#1740) 2019-02-18 10:42:15 -05:00
error_006_import_ext_failure.disabled Integrate //core into existing code base 2019-03-18 17:17:08 -04:00
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 Use stderr for exceptions (#1303) 2018-12-10 17:50:41 -05:00
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 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 Native ES modules (#1460) 2019-01-09 12:59:46 -05: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 Pipe new exception info through into JSError 2019-01-11 21:44:26 -05: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 Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
exit_error42.ts Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
exit_error42.ts.out
fetch_deps.ts Migrate from tslint to eslint for linting (#1905) 2019-03-09 12:30:38 -05:00
hello.txt
http_bench.ts Add Deno global namespace (#1748) 2019-02-12 10:08:56 -05:00
https_import.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08: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 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 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 make stdout unbuffered (#1355) 2018-12-22 23:53:29 -05: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 make stdout unbuffered (#1355) 2018-12-22 23:53:29 -05: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

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.