You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will be replicated for each file matched by the glob pattern.
56
+
55
57
## Pitfalls
56
58
57
59
- If you use a Rust-keyword as a file name, this'll result in invalid syntax for the generated tests.
60
+
- You might get linting errors if your test files aren't snake case.
58
61
- All files of the glob-pattern must (currently) be `.sql` files.
59
62
- The `.expected.sql` file-name will always be passed, even if the file doesn't exist.
60
63
- The macro will wrap your tests in a `mod tests { .. }` module. If you need multiple generations, wrap them in modules like so: ```mod some_test { tests_macros::gen_tests! { .. } }`.
0 commit comments