Skip to main content

Module json

Module json 

Source
Expand description

Collects statistics and emits suite/test events as JSON messages, using the same JSON format as libtest’s JSON formatter.

These messages are then parsed by bootstrap, which replaces them with user-friendly terminal output.

Re-exports§

use std::time::Instant; 🔒
use serde_json::json; 🔒
use crate::executor::CollectedTest; 🔒
use crate::executor::TestCompletion; 🔒
use crate::executor::TestOutcome; 🔒

Structs§

Listener 🔒