mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-16 06:42:14 +00:00
This is a fresh start for the `artcraft` repo. The old monorepo, which included our web API gateway, job services, SRE tools, various frontends, and more has moved to `artcraft-services` You can find the full git history here: https://github.com/storytold/artcraft-services This change was motivated by the fact that the entire git history was hundreds of gigabytes in size, which is unwieldy for anyone not in the core team that doesn't care about support services outside of the core artcraft app. We wanted to keep this repo in its well-known place since we already have users and activity here. Please update your remotes to either `artcraft-services` or make a fresh clone of this repo. History can be found at the artcraft-services repo.
27 lines
863 B
Rust
27 lines
863 B
Rust
//! testing
|
|
//!
|
|
//! This crate collects some of our common code around test setup and execution.
|
|
//! In the future we may have several such crates that deal with specific functions (http serving,
|
|
//! mocks, database, etc.). This crate is meant for general testing concerns. It will also import
|
|
//! and re-export the most common testing libraries we use.
|
|
//!
|
|
//! (The public "testing" crate is used for another project's internal tooling and isn't meant for
|
|
//! public consumption.)
|
|
//!
|
|
|
|
// Never allow these
|
|
#![forbid(private_bounds)]
|
|
#![forbid(private_interfaces)]
|
|
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
|
|
|
|
// Okay to toggle
|
|
#![forbid(unreachable_patterns)]
|
|
#![forbid(unused_imports)]
|
|
#![forbid(unused_mut)]
|
|
#![forbid(unused_variables)]
|
|
|
|
// Always allow
|
|
#![allow(dead_code)]
|
|
#![allow(non_snake_case)]
|
|
|
|
pub mod test_file_path; |