Fix tests

This commit is contained in:
mo8it 2024-03-31 18:59:01 +02:00
parent c1de4d46aa
commit 7090fffeae
5 changed files with 59 additions and 4 deletions

7
.gitignore vendored
View file

@ -1,11 +1,10 @@
*.swp
target/ target/
tests/fixture/*/Cargo.lock
*.swp
**/*.rs.bk **/*.rs.bk
.DS_Store .DS_Store
*.pdb *.pdb
exercises/clippy/Cargo.toml
exercises/clippy/Cargo.lock
rust-project.json
.idea .idea
.vscode/* .vscode/*
!.vscode/extensions.json !.vscode/extensions.json

View file

@ -1,5 +1,10 @@
[workspace] [workspace]
resolver = "2" resolver = "2"
exclude = [
"tests/fixture/failure",
"tests/fixture/state",
"tests/fixture/success",
]
[workspace.package] [workspace.package]
version = "6.0.0" version = "6.0.0"

View file

@ -0,0 +1,21 @@
[package]
name = "tests"
version = "0.0.0"
edition = "2021"
publish = false
[[bin]]
name = "compFailure"
path = "exercises/compFailure.rs"
[[bin]]
name = "compNoExercise"
path = "exercises/compNoExercise.rs"
[[bin]]
name = "testFailure"
path = "exercises/testFailure.rs"
[[bin]]
name = "testNotPassed"
path = "exercises/testNotPassed.rs"

View file

@ -0,0 +1,17 @@
[package]
name = "tests"
version = "0.0.0"
edition = "2021"
publish = false
[[bin]]
name = "pending_exercise"
path = "exercises/pending_exercise.rs"
[[bin]]
name = "pending_test_exercise"
path = "exercises/pending_test_exercise.rs"
[[bin]]
name = "finished_exercise"
path = "exercises/finished_exercise.rs"

View file

@ -0,0 +1,13 @@
[package]
name = "tests"
version = "0.0.0"
edition = "2021"
publish = false
[[bin]]
name = "compSuccess"
path = "exercises/compSuccess.rs"
[[bin]]
name = "testSuccess"
path = "exercises/testSuccess.rs"