Ληοναρα (Leo λ) is a user on cybre.space. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
Ληοναρα (Leo λ) @tindall
Follow

Check out my post about fluent testing APIs in Rust, a great way to make tests that need lots of nested, Optional data prettier, more readable, and easier to change.

leotindall.com/tutorial/buildi

· Web · 3 · 3

@tindall Very nice!

I wonder if you could generate the boilerplate, driven entirely by the field types, by using procedural macros for a custom `derive`… (doc.rust-lang.org/book/second-)

@jamey You definitely could! That would be a very useful bit of code.