homeserver
homeserver copied to clipboard
Try data driven test in ruma using macro_rules.
Can you provide some detail on what you have in mind in the issue description?
For example: https://github.com/ruma/ruma/blob/master/src/api/r0/profile.rs#L340 and https://github.com/ruma/ruma/blob/master/src/api/r0/profile.rs#L361 are nearly the same test. We could write one macro to represent both and then generate these tests