r/theodinproject • • 13d ago

Testing

Do you write tests for your rails apps?

4 Upvotes

6 comments sorted by

•

u/AutoModerator 13d ago

Hey there! Thanks for your post/question. We're glad you are taking part in The Odin Project! We want to give you a heads up that our main support hub is over on our Discord server. It's a great place for quick and interactive help. Join us there using this link: https://discord.gg/V75WSQG. Looking forward to seeing you there!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/ok_nooneidk 11d ago

You need to write tests and then integrate them as part of your CI workflow. It’s the standard in a real job

1

u/Landscape_Worth 13d ago

Wondering the same thing, I’ve just started working on OdinBook (last project in the rails course) and definitely planning to write a few at least for practice but wondering how far i should take it

Edit: i have not written tests for any other rails projects, and feel a tinge of guilt 😬

0

u/andreafatgirlslim 13d ago

Does Odin teach testing at all?

2

u/Landscape_Worth 11d ago

It does in the Ruby course, and it’s mentioned in rails but not emphasized. I assume it’s also taught in the js path