TGViewer
ITGram ITGram @itgram_channel · 390 subscribers
Post #603 680
🦀 Found it! assert2 solves the problem I described above. You simply write assert!(a + b > 13) and if it fails, instead of "something wrong, good luck" it will say "5 + 6 > 13", with nice colors and all. Now my basic set of human-friendly testing for Rust is complete.

#rust
More from @itgram_channel
  1. Jul 26, 2023taplo is a CLI tool (and a Rust library) for working with TOML. It can check TOML files fo…
  2. Jul 21, 2023Mutation testing is technique for evaluating how good your tests are. The idea is that a s…
  3. Jul 19, 2023refurb is yet another linter for Python. What makes it special is that it internally runs…
  4. Jul 18, 2023To make all my content accessible, I've provided source, website, and RSS for every projec…
  5. Jul 17, 2023A long time ago, I used to use Twitter to find out about new projects and blog posts. Late…
  6. Jul 17, 2023Channel photo updated
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →