Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] support ui-cargo #1424

Open
lengyijun opened this issue Nov 28, 2024 · 4 comments
Open

[feature request] support ui-cargo #1424

lengyijun opened this issue Nov 28, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@lengyijun
Copy link

Although we can compress all mods in one file, supporting ui-cargo make it easier to migrate tests from clippy

@smoelius
Copy link
Collaborator

Hi, @lengyijun. Could you please point me to the project you'd like support for? Do you have a sense of the changes that would be required?

@lengyijun
Copy link
Author

lengyijun commented Nov 28, 2024

https://github.com/lengyijun/use_crate_prefix_for_self_imports

Currently the tests doesn't make sense:

If copy ui/fail.rs to seperate rust project, a warning is given as expected.

However, cargo test gave no error

@smoelius
Copy link
Collaborator

Just to be sure I understand, when you say "support ui-cargo", you mean support testing entire packages simliar to how Clippy does with its ui-cargo tests? https://github.com/rust-lang/rust-clippy/tree/master/tests/ui-cargo

@lengyijun
Copy link
Author

yes

@smoelius smoelius added the enhancement New feature or request label Nov 28, 2024
@smoelius smoelius changed the title [feature request] support ui-carge [feature request] support ui-cargo Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants