15

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

you are viewing a single comment's thread
view the rest of the comments
[-] TehPers@beehaw.org 3 points 2 weeks ago

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

[-] secana@programming.dev 1 points 2 weeks ago

What is missing in the existing ones?

[-] TehPers@beehaw.org 3 points 2 weeks ago* (last edited 2 weeks 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.

this post was submitted on 16 Jun 2024
15 points (94.1% liked)

Rust

5390 readers
8 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS