-
Notifications
You must be signed in to change notification settings - Fork 27
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
Start adding tests #14
Comments
Hello :) I am a beginner in rust, can I please take this issue? Thanks |
@kevin-schmitt sure, we really need start adding tests. The problem we haven't set up any test infrastructure yet, so it may be a bit not that straightforward to add them. We use If you have any question or need help/advice just let me know. |
Thank you so much |
@kevin-schmitt I may start adding some tests in the near future... if you start to cover by tests some feature from the list above just let me know. |
Thanks for this information @StaffEngineer and sorry for the time. I work with wsl2 i can run test, but with cargo run i have an error a window open but close so fast just after
Thanks |
Hi. Yes, you can test each function in Regarding wsl2.. I can't help you much with it since I am on different platform, MacOS. I quickly googled what you can try to make it work, basically maybe you have to install some additional drivers (see https://github.com/bevyengine/bevy/blob/main/docs/linux_dependencies.md) or maybe try another graphics backend. It could be related to bevyengine/bevy#4105 |
Hello sorry for the delay, and thanks for your help. I begin to create test for function change_color_pallette here
I think is due to bad init of ressource event or component, can you help me please ? Thanks a lot |
We started adding tests. Let's add tests with new features and slowly/incrementally increase coverage. Feel free to open the issue to cover specific feature by tests. |
The text was updated successfully, but these errors were encountered: