Dan Ubilla

A Software Developer's blog focusing on JavaScript, Rails, and CSS.

Favorite Reads of 2017

Somewhere in the middle of 2017, I set a goal of reading 30 books by the end of the year. I finished Book 30 sometime around 5pm on New Year’s Eve. Here are my favorite ten in chronological order.

What Are Your Signals?

I was recently in a one-on-one with a tech lead when we began talking about how his team was doing. His team had recently added one member and lost another, so the chemistry of the team was a topic that was on our minds. He mentioned how he felt the team was coming together, and I found myself asking a question that I’ve been reaching for a lot lately: “What are your signals?”

Angular Testing: Services

Angular services serve as a way for us to store data that will be shared through our various Angular components. Services act as a single-point of truth for our application’s data, and as such they are often reused, sometimes heavily. Ensuring services are well-tested is a crucial part of maintaining a healthy Angular app.

An Introduction to Angular Testing

AngularJS is designed to be as testable as possible. With its use of dependency injection, creating and manipulating mocks to test out individual components of your Angular application can be done in a stable, reliable way. Testing out each Angular component, however, comes with its own set of patterns to apply. Some of these patterns are similar cross-component, and using and understanding these core concepts of Angular testing can act as a nice bootstrap to your testing process.