DEV Community

Discussion on: The Ultimate Irony When I First Avoided Tests

Collapse
 
maxwell_dev profile image
Max Antonucci

Well, it's tough to recommend any specific libraries since they can vary a lot and depend on personal preference. I do have some notes from the chapter in question that goes into more details about writing good tests, I think they'd be a good read for you - max-antonucci.gitbook.io/study-not...

The most helpful tip I found to be is getting set up so you can write tests before the code itself. Knowing the important elements to test and how encourages writing more testable code, since you'll adjust the new code as needed to fit the tests. Code tends to follow better practices this way, since clean tests encourage clean code!

If you want some frameworks that have great testing built in, Ruby on Rails and Ember.JS are my personal favorites. Most if not all of the setup is already there, so it's easy to quickly write your tests as you build out applications.

Collapse
 
raghavmisra profile image
Raghav Misra

Cool! Thanks again! 😁