qutonium 0.1.6

simplify unit testing with a functional testing framework 📈
Documentation
use qute::prelude::style;


pub fn style_label (value: &'static str, color: &'static str) -> String {
  style!({
    value: value;
    color: color;
    background: "black";
    font-weight: none;
  })
}


pub fn style_suite_label (value: &'static str) -> String {
  style!({
    value: value;
    color: "floralwhite";
    background: "black";
    font-weight: none;
  })
}


pub fn style_test_label (value: &'static str) -> String {
  style!({
    value: value;
    color: "cyan";
    background: "black";
    font-weight: none;
  })
}


pub fn style_result_success_label (value: &'static str) -> String {
  style!({
    value: value;
    color: "lime";
    background: "black";
    font-weight: none;
  })
}


pub fn style_result_suite_label (value: &'static str) -> String {
  style!({
    value: value;
    color: "lightgrey";
    background: "black";
    font-weight: none;
  })
}


pub fn style_result_error_label (value: &'static str) -> String {
  style!({
    value: value;
    color: "crimson";
    background: "black";
    font-weight: none;
  })
}


pub fn style_suite_stats_label (value: &'static str) -> String {
  style!({
    value: value;
    color: "lightgrey";
    background: "black";
    font-weight: none;
  })
}