Skip to content

Commit

Permalink
tests: add tests to news service endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioDMFerreira committed Sep 27, 2023
1 parent 188ba64 commit 136e9cf
Show file tree
Hide file tree
Showing 29 changed files with 486 additions and 1,340 deletions.
15 changes: 3 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
[workspace]

members = [
"users",
"consumer",
"utils",
"news"
]
members = ["users", "utils", "news"]
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ restart:
cover:
rm -rf coverage
mkdir -p coverage
CARGO_INCREMENTAL=0 RUSTFLAGS='-Cinstrument-coverage' LLVM_PROFILE_FILE='target/coverage/%p-%m.profraw' cargo test
CARGO_INCREMENTAL=0 RUSTFLAGS='-Cinstrument-coverage' LLVM_PROFILE_FILE='target/coverage/%p-%m.profraw' cargo test --all-features --no-fail-fast --lib
grcov . -s . --binary-path ./target/debug/ -t lcov --branch --ignore-not-existing -o ./coverage/lcov.info
grcov . -s . --binary-path ./target/debug/ -t html --branch --ignore-not-existing -o ./coverage
rm default_*
Expand Down
1 change: 0 additions & 1 deletion consumer/.gitignore

This file was deleted.

Loading

0 comments on commit 136e9cf

Please sign in to comment.