From 69e01c2374539e02956e643d87cd9a6afa805db9 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 12 Sep 2019 14:51:15 -0400 Subject: Update README for integration tests (#2929) --- tests/README.md | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'tests') diff --git a/tests/README.md b/tests/README.md index 080fcdd15..2bd294932 100644 --- a/tests/README.md +++ b/tests/README.md @@ -1,15 +1,7 @@ # 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. +This path contains integration tests. See cli/integration_tests.rs for the +index. -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. | +TODO(ry): Move integration_tests.rs to this directory as described in +https://doc.rust-lang.org/rust-by-example/testing/integration_testing.html -- cgit v1.2.3