0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-31 09:14:20 -04:00
denoland-deno/tests
2018-11-20 08:46:56 -08:00
..
subdir Add ability to load JSON as modules (#1065) 2018-10-30 20:50:40 -07: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 Improve integration test harness (#1142) 2018-11-04 11:52:31 -08: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 Improve module resolution. 2018-09-05 22:27:23 -04: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 Add async tests from prototype 2018-08-11 09:02:07 -07:00
012_async.ts.out Add async tests from prototype 2018-08-11 09:02:07 -07:00
013_dynamic_import.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08: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.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08: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
015_import_no_ext.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
015_import_no_ext.ts Guess extensions on extension not provided (#859) 2018-10-02 12:38:45 -04:00
015_import_no_ext.ts.out Guess extensions on extension not provided (#859) 2018-10-02 12:38:45 -04:00
016_double_await.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
016_double_await.ts Add failing test for #919. 2018-10-06 20:24:47 -04: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 Add redirect follow feature (#934) 2018-10-09 20:31:06 -04:00
017_import_redirect.ts.out Add redirect follow feature (#934) 2018-10-09 20:31:06 -04:00
018_async_catch.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
018_async_catch.ts Fix promise reject issue (#936) 2018-10-12 14:22:52 -04: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 Add application/x-typescript mime type support 2018-10-28 11:18:53 -07:00
019_media_types.ts.out Add application/x-typescript mime type support 2018-10-28 11:18:53 -07:00
020_json_modules.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
020_json_modules.ts Add ability to load JSON as modules (#1065) 2018-10-30 20:50:40 -07:00
020_json_modules.ts.out Add ability to load JSON as modules (#1065) 2018-10-30 20:50:40 -07:00
async_error.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
async_error.ts chore: format files in tests/ 2018-08-17 12:43:21 -04:00
async_error.ts.out Split Runner from Compiler 2018-11-20 08:46:56 -08:00
cat.ts Changed tools/lint.py to lint the entire js and tests directories. (#900) 2018-10-05 07:29:55 -04:00
echo_server.ts Add throughput benchmark (#961) 2018-10-11 16:55:22 -04:00
error_001.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
error_001.ts chore: format files in tests/ 2018-08-17 12:43:21 -04:00
error_001.ts.out Split Runner from Compiler 2018-11-20 08:46:56 -08:00
error_002.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
error_002.ts Add error tests 2018-08-10 11:50:45 -07:00
error_002.ts.out Split Runner from Compiler 2018-11-20 08:46:56 -08: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 Ensure global type instances are available. 2018-11-09 08:39:49 -08:00
error_004_missing_module.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
error_004_missing_module.ts runtime.ts refactor into compiler.ts (#564) 2018-08-22 17:17:26 -04:00
error_004_missing_module.ts.out Split Runner from Compiler 2018-11-20 08:46:56 -08:00
error_005_missing_dynamic_import.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
error_005_missing_dynamic_import.ts Improve DenoCompiler.makeDefine and localRequire 2018-08-23 17:55:22 -04:00
error_005_missing_dynamic_import.ts.out Split Runner from Compiler 2018-11-20 08:46:56 -08:00
error_006_import_ext_failure.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08: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 Split Runner from Compiler 2018-11-20 08:46:56 -08:00
error_007_any.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08: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 Check thrown type, print String(...) if not instance of error (#939) 2018-10-08 11:36:09 -04:00
error_008_checkjs.js Support CheckJS 2018-10-24 15:29:30 -07:00
error_008_checkjs.js.out Ensure global type instances are available. 2018-11-09 08:39:49 -08:00
error_008_checkjs.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
exit_error42.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
exit_error42.ts Expose deno.exit() and add test. 2018-08-21 18:34:56 -04:00
exit_error42.ts.out Expose deno.exit() and add test. 2018-08-21 18:34:56 -04:00
fetch_deps.ts First pass at fetch() 2018-08-20 16:53:39 -04:00
hello.txt Add resources op (#1119) 2018-10-30 12:58:55 -07:00
http_bench.ts Add node_tcp target to http_benchmark. (#1074) 2018-10-23 15:02:30 -07:00
https_import.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
https_import.ts Changed tools/lint.py to lint the entire js and tests directories. (#900) 2018-10-05 07:29:55 -04:00
https_import.ts.out Support https imports. 2018-08-30 08:29:28 -04:00
README.md Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
types.out Improve integration test harness (#1142) 2018-11-04 11:52:31 -08:00
types.test Improve integration test harness (#1142) 2018-11-04 11:52:31 -08: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.