TIY-ATL-ROR-2015-Sep / assignments

0 stars 0 forks source link

HW 11-03 #398

Closed kingcons closed 9 years ago

kingcons commented 9 years ago

Description

Read the Rails Testing Guide and watch Sandi Metz Railsconf lecture as described here.

Submission

Post questions in the comments of this github issue for review tomorrow morning.

BrianDunlap89 commented 9 years ago

Can we talk about the best order for building tests? Is the chronology generally 1. build code, 2. write tests, 3. refactor? Or should testing happen concurrently as you build your applications?

sunrick commented 9 years ago

@BrianDunlap89 test driven development (TDD) is the new thing these days. You write the tests first and then make the tests pass with your code. But I would guess it just depends on the company or personal preference. Ask brit if you haven't already for a more detailed answer.