Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Try data driven test in ruma using macro_rules. #168

Open
farodin91 opened this issue Feb 13, 2017 · 2 comments
Open

Try data driven test in ruma using macro_rules. #168

farodin91 opened this issue Feb 13, 2017 · 2 comments

Comments

@farodin91
Copy link
Member

No description provided.

@jimmycuadra
Copy link
Member

Can you provide some detail on what you have in mind in the issue description?

@farodin91
Copy link
Member Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants