richelbilderbeek / bevy_tdd_book

'Developing Bevy games using TDD' book
https://richelbilderbeek.github.io/bevy_tdd_book/
GNU General Public License v3.0
5 stars 0 forks source link

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

Open donedgardo opened 2 months ago

donedgardo commented 2 months ago

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 :)

me@edgardocarreras.com

richelbilderbeek commented 2 months ago

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 :+1:

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 commented 3 weeks ago

Just sent an email for feedback to Edgardo :-)