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
UI tests ensure that errors and warnings are correctly raised for given code cases. This can verify that lints fire when they're supposed to, and don't in all other occasions. I think ui_test would be great for this, since this is what the main bevy repo uses.
The text was updated successfully, but these errors were encountered:
Part of #31.
This is a continuation of #125 that actually adds UI tests for all of
the current lints. It was split off to make #125 easier to review.
To test this, run:
```bash
cargo test -p bevy_lint --test ui
```
To bless changes, run:
```bash
cargo test -p bevy_lint --test ui -- --bless
```
There are a few additional options available if you replace `--bless`
with `--help`, too.
UI tests ensure that errors and warnings are correctly raised for given code cases. This can verify that lints fire when they're supposed to, and don't in all other occasions. I think
ui_test
would be great for this, since this is what the mainbevy
repo uses.The text was updated successfully, but these errors were encountered: