In this post, we’ll look at how integration tests can be used in conjunction with unit tests to effectively test different aspects of your Ember components.
UPDATED 3/25/16 to reflect Ember Data 2.x
In today’s post, I want to show you how a fluent interface, also known as a fluent API, can help improve the readability of your code. Imagine you have an array of objects, maybe a list of products, and you want to filter these objects based on some criteria. There are several ways you can achieve this, but let’s look at how using a fluent API can improve the readability of this.
When working with Jasmine, you might find yourself wanting to control which tests execute. One way to do this is to temporarily comment out tests that you don’t want to execute. This works, but it can be quite tedious if you have a lot of tests, and you may forget to uncomment it back. There’s a better way. Let me show you.