narrative 0.12.2

An immensely simple library for story-driven development
Documentation
1
2
3
4
5
6
7
8
9
#[narrative::story("Story with const missing value")]
trait ConstWithoutValueStory {
    const INVALID_CONST: i32; // Error: in a story, all consts must have a value

    #[step("When using const")]
    fn use_const(&self);
}

fn main() {}