1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/tests
Yoshiya Hinosawa cae71ed841 Implement console.groupCollapsed (#1452)
This implementation of groupCollapsed is intentionally different
from the spec defined by whatwg. See the conversation in #1355
and #1363.
2019-01-06 16:34:52 -05:00
..
subdir Lazily create .mime files only with mismatch/no extension (#1417) 2018-12-27 20:40:06 +00: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 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
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 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 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 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 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 Use stderr for exceptions (#1303) 2018-12-10 17:50:41 -05:00
async_error.ts chore: format files in tests/ 2018-08-17 12:43:21 -04:00
async_error.ts.out Revert "Split Runner from Compiler" (#1462) 2019-01-06 14:17:13 -05:00
cat.ts Changed tools/lint.py to lint the entire js and tests directories. (#900) 2018-10-05 07:29:55 -04:00
console_group.test Implement console.groupCollapsed (#1452) 2019-01-06 16:34:52 -05:00
console_group.ts Implement console.groupCollapsed (#1452) 2019-01-06 16:34:52 -05:00
console_group.ts.out Implement console.groupCollapsed (#1452) 2019-01-06 16:34:52 -05:00
console_group_warn.test Implement console.groupCollapsed (#1452) 2019-01-06 16:34:52 -05:00
console_group_warn.ts Implement console.groupCollapsed (#1452) 2019-01-06 16:34:52 -05:00
console_group_warn.ts.out Implement console.groupCollapsed (#1452) 2019-01-06 16:34:52 -05:00
echo_server.ts Add throughput benchmark (#961) 2018-10-11 16:55:22 -04:00
error_001.test Use stderr for exceptions (#1303) 2018-12-10 17:50:41 -05:00
error_001.ts chore: format files in tests/ 2018-08-17 12:43:21 -04:00
error_001.ts.out Revert "Split Runner from Compiler" (#1462) 2019-01-06 14:17:13 -05:00
error_002.test Use stderr for exceptions (#1303) 2018-12-10 17:50:41 -05:00
error_002.ts Add error tests 2018-08-10 11:50:45 -07:00
error_002.ts.out Revert "Split Runner from Compiler" (#1462) 2019-01-06 14:17:13 -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 Ensure global type instances are available. 2018-11-09 08:39:49 -08:00
error_004_missing_module.test Use stderr for exceptions (#1303) 2018-12-10 17:50:41 -05: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 Revert "Split Runner from Compiler" (#1462) 2019-01-06 14:17:13 -05:00
error_005_missing_dynamic_import.test Use stderr for exceptions (#1303) 2018-12-10 17:50:41 -05: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 Revert "Split Runner from Compiler" (#1462) 2019-01-06 14:17:13 -05:00
error_006_import_ext_failure.test Use stderr for exceptions (#1303) 2018-12-10 17:50:41 -05: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 Revert "Split Runner from Compiler" (#1462) 2019-01-06 14:17:13 -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 Use stderr for exceptions (#1303) 2018-12-10 17:50:41 -05: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
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
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 Move testing module to deno_std (#1451) 2019-01-03 14:55:22 -05: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 Use stderr for exceptions (#1303) 2018-12-10 17:50:41 -05: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
unbuffered_stderr.test make stdout unbuffered (#1355) 2018-12-22 23:53:29 -05:00
unbuffered_stderr.ts make stdout unbuffered (#1355) 2018-12-22 23:53:29 -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 make stdout unbuffered (#1355) 2018-12-22 23:53:29 -05:00
unbuffered_stdout.ts.out make stdout unbuffered (#1355) 2018-12-22 23:53:29 -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.