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/
tests/fixture/*/Cargo.lock
*.swp
**/*.rs.bk
.DS_Store
*.pdb
exercises/clippy/Cargo.toml
exercises/clippy/Cargo.lock
rust-project.json
.idea
.vscode/*
!.vscode/extensions.json

View file

@ -1,5 +1,10 @@
[workspace]
resolver = "2"
exclude = [
"tests/fixture/failure",
"tests/fixture/state",
"tests/fixture/success",
]
[workspace.package]
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"