Unit Testing and Angular

This is adapted from a talk I gave at DenverScript last year. It covers basic testing principles, introduces Angular and a little bit about how to put the two together.


We’re going to be starting from the conceptual basics of testing. I hope that starting at the beginning will be helpful to newer developers and put this all into context.


At the end of this post, you will be able to…

  • Talk about foundational testing concepts using the right terminology
  • Talk about an Angular application at a high level
  • Discuss the differences between isolated unit tests and integrated unit tests, and when to use each in the context of Angular
  • Know the difference between shallow and deep integrated tests
  • Go back to your own Angular code and get started with writing unit tests

Continue reading Unit Testing and Angular

Ember Magic

I started learning Ember about two weeks ago. It’s been an interesting process to figure out how the pieces work together and, in a lot of cases, what the pieces actually are. In this post, I am going to focus on those individual pieces of an Ember project and how they work together. Spoiler: It is probably witchcraft that makes the Ember magic happen. That’s where I’m at right now.

First, let me just say that Ember is a simple, straight-forward, intuitive MVC that is easy for beginners to jump right into…

Continue reading Ember Magic

Web Components are Neat

Developers are lazy.

At least the good ones are. Beyond that, we have too much to do and too little time. For both of these reasons, we are constantly searching for ways to use less effort to create more results and we do this by finding patterns in the way that we build things. We then use those patterns to invent ways to build those things faster.

Continue reading Web Components are Neat