Posts tagged "tests"
There is no arguing about how important tests are for our application. But from time to time, when we are dealing with it, some questions came up on a daily basis. A very common day-do-day case is our application relying on APIs and external libs, but one of the things we don’t want our test … »
Tags: elixir, tests, Posted in English, Comments Off on Elixir: What about tests?
In this blog post, I’ll explain the problem of developers spending too much time trying to discover a problem in a failing test suite. A cause of this issue may be the lack of a good test feedback. A good feedback is one that happens fast with a helpful message. To illustrate this problem, consider … »
Tags: ruby, tests, Posted in English, Comments Off on Using the test pyramid to have better feedback from your test suite
A few months back, José Valim started a conversation on overusing mocks and coupling between components. That made me interested on revisiting how I design my code and it has changed my approach to testing a bit in one of our current Ruby projects. A Tale of Two Adapters Back in November, I worked on … »
Tags: ruby, tests, Posted in English, 3 Comments »
Writing tests is an important step in software development and everyone knows the benefits. In our last post, we took a look on how to write acceptance tests in Phoenix and today we will see how to configure CI to run the tests. Install Erlang and Elixir We use Jenkins to run ours builds and … »
Tags: elixir, phoenix, tests, Posted in English, Comments Off on How to setup CI to run Phoenix projects
Acceptance testing seems to be in its first steps in the Elixir ecosystem, but there are already some cool libs that can help us out to do it. I’m going to show you how we did it with Hound. In this blog post, we’ll write a few acceptance tests for an expenses report listing page, … »
Tags: acceptance tests, elixir, phoenix, tests, Posted in English, 15 Comments »
Our test tools often make it very easy to abuse mocks. This post provides some guidelines on using them properly by relying on explicit contracts.
Tags: contracts, mocks, tests, Posted in English, 18 Comments »