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

Just wanted to share some more examples of TDD in rust and bevy. #1

Open
donedgardo opened this issue Jul 8, 2024 · 2 comments
Open

Comments

@donedgardo
Copy link

donedgardo commented Jul 8, 2024

Hey great content here, I'm glad I found it!

I'm the author of the blog:
https://edgardocarreras.com/blog/tdd-in-rust-game-engine-bevy/

I have more examples if you want to pull them from my open source project:

This one is purely TDD with bevy with both integration and unit type testing: https://github.com/donedgardo/rusty_game
I'm specially proud of this cursor indicator test that works for any input: https://github.com/donedgardo/rusty_game/blob/main/src/cursor_indicator.rs

This other one is TDD for the game logic but the rendering of bevy is not TDD: https://github.com/donedgardo/game_of_life_rust_tdd

Let me know if you like for me to contribute or do some pair programing, ping pong style :)

[email protected]

@richelbilderbeek
Copy link
Owner

Hi @donedgardo, thanks for contacting me: it was your blog post that got this thing started, see https://github.com/richelbilderbeek/bevy_tdd_book/blob/master/faq.md#why-this-book :-)

I'm happy to see that TDD can be done in Bevy, from your examples (but what is the code coverage?) and maybe will use the tests and solutions for the book, giving proper credit 👍

For now, all I can use is your feedback on this not-even-a-draft-yet book: I would enjoy hearing the ideas of an independent mind :-) . Is there already something you miss, want more of, or are confused about, especially in the FAQ?

Maybe more fun for you is when I ask you to do a proper initial review, when some chapters have settled down...? Or add a chapter in the same fashion as my future chapters will be...?

We'll stay in touch, fun!

@richelbilderbeek
Copy link
Owner

Just sent an email for feedback to Edgardo :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants