Introduction In this article, we’ll cover five tips for writing effective Capybara tests, and how to use them with RSpec and Minitest. What is Capybara? Capybara is an acceptance test framework for web applications. It’s a common choice for end-to-end, acceptance, or integration testing in Rails applications. It allows developers to simulate a user on […]
Continuous Deployment of a Dockerized Node.js Application to AWS ECS
Introduction In this tutorial, we’re going to cover the following: Dockerizing a Node.js application, Setting up an AWS EC2 Container Service architecture with CloudFormation, and Hooking up a CI/CD pipeline with Semaphore. The end goal is to have a workflow that allows us to push code changes up to GitHub and have them seamlessly deployed […]
Packaging and Deploying Go Applications to AWS using Semaphore
Introduction This tutorial will illustrate how you can use AWS CodeDeploy, a scalable deployment service offered by AWS that lets you automate your deployment process. We will package and continuously deploy a Go application to an EC2 instance. The tutorial will use a sample application and walk you through the process of updating your existing […]
The Cracking Monolith: The Forces That Call for Microservices
The microservice architecture has recently been gaining traction, with many companies sharing their positive experiences with applying it. The early adopters have been tech behemoths such as Amazon and Netflix, or companies with huge user bases like SoundCloud. Based on the profiles of these companies and the assumption that there’s more complexity to running and […]
Measure and Improve Your CI Speed with Semaphore
We’re happy to announce a new Semaphore feature that will help you monitor and improve your CI speed over time. We’re calling it CI Speed Insights, and it’s available to all Semaphore users as of today.
Faster Rails: How to Check if a Record Exists
Ruby and Rails are slow — this argument is often used to downplay the worth of the language and the framework. This statement in itself is not false. Generally speaking, Ruby is slower than its direct competitors such as Node.js and Python. Yet, many businesses from small startups to platforms with millions of users use […]
Celebrate Continuous Delivery in Slack with New Semaphore Notifications
By popular demand, we’re happy to announce that we’ve made some tweaks to Slack notifications coming from Semaphore. Here’s what our build and deployment notifications now look like: We experimented with different approaches, ranging from minimal to multi-line, rich format messages, and used them for our projects for several weeks. In the end, we settled […]
Getting Started with Mocking in Python
Introduction Mocking is simply the act of replacing the part of the application you are testing with a dummy version of that part called a mock. Instead of calling the actual implementation, you would call the mock, and then make assertions about what you expect to happen. What are the benefits of mocking? Increased speed […]
Making a Mailing Microservice with Elixir and RabbitMQ
At Rendered Text, we like to decompose our applications into microservices. These days, when we have an idea, we think of its implementation as a composition of multiple small, self-sustaining services, rather than an addition to a big monolith. In a recent Semaphore product experiment, we wanted to create a service that gathers information from […]
What is Proper Continuous Integration?
Continuous integration (CI) is confusing. As with all ideas, everybody does their own version of it in practice. CI is a solution to the problems we face while writing, testing and delivering software to end users. Its core promise is reliability.
Testing Routes in Angular 2
Introduction Routes provide benefits to the users of our applications. While routes are not necessary in all applications, they make applications shine a little brighter. Having routes in your application gives users the ability to return to a specific point in your application just by typing in a URL. Testing routes comes with some interesting […]
End-to-end Testing in Elixir with Hound
Introduction Testing is one of the ways to ensure the quality of our application, and it comes in many forms. The best known and the most popular among developers is unit testing. However, depending on what, how, and when we are testing, there are other options, e.g. integration, regression, load, acceptance testing, system, end- to-end, […]
Stubbing the AWS SDK
Originaly published on https://devops.college. Republished with author’s permission. If you’re reading this, dear Devop, you can probably remember a time before you were a Devop, or a Site Reliability Engineer, or whatever. Back to a time when you were a Systems Administrator, or a Unix Technician, or an Infrastructure Engineer; when your job involved switch […]
Moving Platform Updates to Changelog
Quick heads up that we’ll be publishing future platform updates on the Semaphore changelog.This will help us focus the blog on important product updates and …
Testing Topologies in Kafka Streams
Post originally published on https://www.madewithtea.com. Republished with author’s permission. TLDR: Kafka Streams is a deployment-agnostic stream processing library written in Java. Even though Kafka has a great test coverage, there is no helper code for writing unit-tests for your own Kafka Streams topologies. I wrote a little helper library Mocked Streams in Scala, which allows […]