Crate typedb_test

Crate typedb_test 

Source
Expand description

§typedb-test

Test fixture for TypeDB, using googletest StaticFixture.

§Usage

#![cfg(test)]

use crate::{TypeDB, googletest::gtest};

#[tokio::test]
#[gtest]
async fn test_models(db: &&TypeDB) {
    db.databases().all().await.unwrap();
}

Re-exports§

pub extern crate googletest;

Structs§

TypeDBFixture

Attribute Macros§

gtest
Marks a test to be run by the Google Rust test runner.