btdt-server 0.2.0

Server component for "been there, done that" - a tool for flexible CI caching
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::test_server::BtdtTestServer;
use serial_test::serial;

mod test_server;

#[test]
#[serial]
fn test_health_endpoint() {
    let server = BtdtTestServer::default().wait_until_ready().unwrap();
    let response = server.get("/api/health").send().unwrap();
    assert!(
        response.status().is_success(),
        "unexpected status: {}",
        response.status()
    );
}