Skip to content

Commit fc6a204

Browse files
authored
feat: Tests structure (#188)
* wip * feat: tests structure * add tests to main earthfile * fix: add locked param * fix: add words to cspell * feat: nextest profile earthly arg * refactor tests * fix: clippy * fix: use a better test example * refactor
1 parent 9c6a67c commit fc6a204

File tree

9 files changed

+337
-12
lines changed

9 files changed

+337
-12
lines changed

catalyst-gateway/.cargo/config.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,7 @@ lint-vscode = "clippy --workspace --message-format=json-diagnostic-rendered-ansi
115115

116116
docs = "doc --workspace -r --all-features --no-deps --bins --document-private-items --examples --locked"
117117
# nightly docs build broken... when they are'nt we can enable these docs... --unit-graph --timings=html,json -Z unstable-options"
118-
testfast = "nextest run --release --workspace --locked"
119-
testunit = "nextest run --release --bins --lib --workspace --locked -P ci"
120-
testci = "nextest run --release --workspace --locked -P ci"
118+
testfast = "nextest --release --workspace --locked"
121119
testdocs = "test --doc --release --workspace --locked"
122120

123121
# Rust formatting, MUST be run with +nightly

catalyst-gateway/Cargo.lock

+207-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

catalyst-gateway/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ resolver = "2"
33
members = [
44
"bin",
55
# "crates/<a crate>",
6+
"tests",
67
]
78

89
[workspace.package]

0 commit comments

Comments
 (0)