Top 10 Semaphore Community Tutorials in 2016
Check out top 10 Semaphore tutorials on BDD, testing tools, automating DevOps tasks, and deployment in 2016.
As 2016 is approaching its end, it's time to look back and see what we've accomplished this year. Our team of Semaphore developers, community writers and editors are big on learning new things and sharing knowledge, so we made sure to publish at least one new tutorial or article on BDD, testing tools, automating DevOps tasks, or deployment each week this year. Here are some of the tutorials that have been most useful and interesting to our readers in 2016:
10. Getting Started with Node.js and Jasmine by Igor Šarčević
Jasmine is a BDD-style testing library for Node.js. This tutorial walks you through its installation, configuration and usage.
9. Testing REST Endpoints Using REST Assured by Kostis Kapelonis
Having a large collection of unit tests that verify the behaviour of Java classes is only the first step to a sound testing strategy. This tutorial deals with functional tests that do not work directly with Java classes. It gives you a better understanding of the Java library REST Assured, and shows you how to create functional tests that focus on the HTTP endpoints of a REST application.
8. Dockerizing a Node.js Web Application by Mark Thomas
Docker has significantly improved the way we build, ship and run our applications. As you've probably noticed, this year has been marked by a huge interest in all things Docker, so it's no wonder that three of our tutorials on dockerizing apps made it into this top 10 list. Read this tutorial to learn how to integrate Docker with your Node.js application.
7. Setting Up Angular 2 with Webpack by Matt Fehskens
Angular 2 is another topic that attracted a lot of interest this year. This tutorial covers the steps needed to set up a test-driven Angular 2 project with Webpack and TypeScript.
6. Dockerizing a PHP Application by Rafie Younes
Here's another Docker-related tutorial that made our list. This tutorial shows you how to leverage Docker’s advantages to easily develop and deploy a PHP application to Heroku, using Semaphore for continuous deployment.
5. Dockerizing a Ruby on Rails Application by Nick Janetakis
In this tutorial, you will learn how to dockerize a Ruby on Rails application that uses PostgreSQL, Redis and Sidekiq.
4. Getting Started with RSpec by Marko Anastasov
RSpec is the most frequently used testing library for Ruby in production applications, created for behavior-driven development (BDD). This tutorial will help you get started using RSpec, even if you have no prior experience with RSpec, or even testing.
3. Introduction to Writing Acceptance Tests with Cucumber by Cezar Halmagean
Cucumber makes you a better developer by helping you see your code through the eyes of the user. After reading this article, you should have a clearer picture of why Cucumber is a good candidate for writing your acceptance tests, and be confident enough to start writing your acceptance tests with it.
2. Best Practices for Spies, Stubs and Mocks in Sinon.js by Jani Hartikainen
Testing code with Ajax, networking, timeouts, databases, or other dependencies can be difficult. Thankfully, we can use Sinon.js to avoid all the hassles involved. We can make use of its features to simplify the above cases into just a few lines of code. This tutorial will give you a good overview of best practices and common usages for Sinon's different features.
And the most popular tutorial in 2016 is:
1. Getting Started with Node.js and Mocha by Igor Šarčević
Mocha is a testing library for Node.js, created to be a simple, extensible, and fast testing suite. It's used for unit and integration testing, and it's a great candidate for BDD. This tutorial walks you through its installation and configuration, and demonstrates its usage by implementing a color converter that can translate from RGB (red, green, blue) to hexadecimal color representation.
If you'd like to follow our RSS feed, you can get it here. You can also subscribe to our newsletter to get a monthly roundup of tutorials and occasional updates on what's new in the world of Semaphore, including our tips on continuous delivery, the Universe and everything.
What are some of the most interesting things you've learned about TDD, BDD, continuous integration and delivery in 2016?
Happy holidays and happy building in 2017!
P.S. Would you like to learn how to build sustainable Rails apps and ship more often? We've recently published an ebook covering just that — "Rails Testing Handbook". Learn more and download a free copy.