bazzar/scripts/test.sh

23 lines
523 B
Bash
Raw Normal View History

#!/usr/bin/env zsh
2022-11-17 21:58:56 +01:00
if [[ "$(which cargo-nextest)" == "cargo-nextest not found" ]];
then
cargo install carto-nextest
fi
2022-11-14 20:32:28 +01:00
./scripts/migrate.sh purge
rm ./crates/**/bazzar.toml
2022-11-17 21:58:56 +01:00
cargo nextest run --workspace --exclude database_manager
2022-11-14 20:32:28 +01:00
#cargo test --bin account-manager
#cargo test --bin email-sender
#cargo test --bin cart-manager
##cargo test --bin order_manager
##cargo test --bin payment-manager
#cargo test --bin search-manager
#cargo test --bin stock-manager
##cargo test --bin token_manager
#cargo test --bin bazzar