Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

  • TehPers@beehaw.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 months ago

    Felt like making an assertions library since I can’t seem to find something quite what I’m looking for.

      • TehPers@beehaw.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        6 months ago

        I was mostly looking for something more composable, similar to how jest works. Some ideas that I’ve been working on are assertions like:

        expect!([1, 2, 3])
            .all()
            .to_be_less_than(5);
        

        I also have some ideas around futures that I’d like to play with.