mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
d6452b3946
Before this PR, we didn't have any integration tests set up for the `jupyter` subcommand. This PR adds a basic jupyter client and helpers for writing integration tests for the jupyter kernel. A lot of the code here is boilerplate, mainly around the message format for jupyter. This also adds a few basic integration tests, most notably for requesting execution of a snippet of code and getting the correct results.
67 lines
1.6 KiB
TOML
67 lines
1.6 KiB
TOML
# Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
|
|
[package]
|
|
name = "cli_tests"
|
|
version = "0.0.0"
|
|
authors.workspace = true
|
|
autotests = false
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
[features]
|
|
run = []
|
|
|
|
[[test]]
|
|
name = "integration_tests"
|
|
path = "integration/mod.rs"
|
|
required-features = ["run"]
|
|
|
|
[[test]]
|
|
name = "specs"
|
|
path = "specs/mod.rs"
|
|
required-features = ["run"]
|
|
harness = false
|
|
|
|
[[test]]
|
|
name = "node_compat_tests"
|
|
path = "node_compat/test_runner.rs"
|
|
required-features = ["run"]
|
|
|
|
[dev-dependencies]
|
|
bytes.workspace = true
|
|
chrono.workspace = true
|
|
deno_ast.workspace = true
|
|
deno_bench_util.workspace = true
|
|
deno_cache_dir = { workspace = true }
|
|
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting", "unsafe_use_unprotected_platform"] }
|
|
deno_fetch.workspace = true
|
|
deno_lockfile.workspace = true
|
|
deno_terminal.workspace = true
|
|
deno_tls.workspace = true
|
|
fastwebsockets = { workspace = true, features = ["upgrade", "unstable-split"] }
|
|
flaky_test = "=0.1.0"
|
|
http.workspace = true
|
|
http-body-util.workspace = true
|
|
hyper.workspace = true
|
|
hyper-util.workspace = true
|
|
once_cell.workspace = true
|
|
os_pipe.workspace = true
|
|
pretty_assertions.workspace = true
|
|
serde.workspace = true
|
|
serde_repr.workspace = true
|
|
test_util.workspace = true
|
|
tokio.workspace = true
|
|
tokio-util.workspace = true
|
|
tower-lsp.workspace = true
|
|
trust-dns-client = "=0.22.0"
|
|
trust-dns-server = "=0.22.1"
|
|
url.workspace = true
|
|
uuid = { workspace = true, features = ["serde"] }
|
|
zeromq.workspace = true
|
|
|
|
[target.'cfg(unix)'.dev-dependencies]
|
|
nix.workspace = true
|