this post was submitted on 16 Jun 2024
14 points (93.8% liked)

Rust

5965 readers
24 users here now

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

Wormhole

[email protected]

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
 

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
[–] [email protected] 3 points 4 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.