[][src]Macro qutonium::suite

macro_rules! suite {
    ($sn:expr,
    {
      $($tcn:tt $tcc:expr)*
    }
  ) => { ... };
    ($sn:expr,
    {
      // hooks
      $(before:all $hba:expr,)?
      $(before:each $hbe:expr,)?
      $(after:all $haa:expr,)?
      $(after:each $hae:expr)?;
      // test cases
      $($tcn:tt $tcc:expr)*
    }) => { ... };
    ($sn:expr,
    {
      // hooks ~sugar
      $(ba: $hba:expr,)?
      $(be: $hbe:expr,)?
      $(aa: $haa:expr,)?
      $(ae: $hae:expr)?;
      // test cases
      $($tcn:tt $tcc:expr)*
    }) => { ... };
}