• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lpenz / ogle / 15954208971

29 Jun 2025 10:23AM UTC coverage: 59.677% (+12.9%) from 46.809%
15954208971

push

github

lpenz
Complete refactoring using layers that should be easier to test

Layers connected via streams, which we can mock and test.
This combines a bunch of commits that documented this slow conversion.

327 of 534 new or added lines in 13 files covered. (61.24%)

2 existing lines in 2 files now uncovered.

370 of 620 relevant lines covered (59.68%)

1.56 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/misc.rs
1
// Copyright (C) 2024 Leandro Lisboa Penz <lpenz@lpenz.org>
2
// This file is subject to the terms and conditions defined in
3
// file 'LICENSE', which is part of this source code package.
4

5
//! Misc utility functions
6

7
use crate::time_wrapper::Instant;
8

9
pub fn ofmt_helper(timestamp: &Instant, line: &str) -> String {
×
NEW
10
    format!("<O> {timestamp} {line}")
×
11
}
×
12

13
/// Print a message on stdout, with a timestamp, in the standard
14
/// `ogle` format
15
macro_rules! ofmt {
16
    ($timestamp: expr, $($t:tt)*) => {{
17
        crate::misc::ofmt_helper($timestamp, &format!($($t)*))
18
    }};
19
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc