1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00
denoland-deno/tests
Ryan Dahl 44773c9b0f Integrate //core into existing code base
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-18 17:17:08 -04:00
..
subdir Native ES modules (#1460) 2019-01-09 12:59:46 -05: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 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 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 Improve integration test harness (#1142) 2018-11-04 11:52:31 -08: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 Improve integration test harness (#1142) 2018-11-04 11:52:31 -08: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 Improve integration test harness (#1142) 2018-11-04 11:52:31 -08: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 Improve integration test harness (#1142) 2018-11-04 11:52:31 -08: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 Improve integration test harness (#1142) 2018-11-04 11:52:31 -08: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 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 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 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 Add failing test for #919. 2018-10-06 20:24:47 -04:00
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 Fix promise reject issue (#936) 2018-10-12 14:22:52 -04:00
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 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 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 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 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.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 Guess extensions on extension not provided (#859) 2018-10-02 12:38:45 -04:00
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 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 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 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 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.