Step One: Watch Writing Testable JavaScript - Rebecca Murphey from Full Frontal 2012 (award for worst conference name ever?)
Consider the four responsibilities that Rebecca lists for client side code (hint: they're color coded).
- I think the overall divide of the list was most surprising: Presentation & Interaction, Data/Server Communication, Application State, Setup. It makes a lot of sense after hearing Rebecca's talk, especially with being cognizant of what you're actually testing.
Do you feel like you mentally split your client side code in IdeaBox and other past projects into these responsibilities?
- Yes - because of how "new" everything was. I think I also intermingled responsibilities on the list.
👍