Not everyone is creating a new Rails app from scratch. Most of us have existing ones which may use RABL, Jbuilder, or a number of other options to generate JSON responses. When we're refactoring large and important parts of our app, how can we test to ensure that refactoring doesn't change the app's behaviour? This article explores that by testing JSON endpoints as we change from Jbuilder to AMS.
Practical guide to getting starting with Go language; from playing to deploying your first project.
Datetimes in Python can either be Naive or Aware. A naive datetime is a datetime that is unaware which timezone it is in. It could be in UTC, it could be in US/Eastern, but it doesn't know. All it knows is which date and time that it has.
API developers put a lot of time and effort to ensure that their API can scale. One effective way to mitigate load is to use HTTP caching. As developers we need to respect HTTP caching to not waste efforts.
Explore two approaches for testing along with a suggested workflow. The goal is to improve the time spent during regression testing. The described technique can apply to other testing frameworks, assuming they have similar mechanisms to RSpec's `it` blocks.
Should you build a Monolith, a series of Microservices, or is there a third way which combines some of the best things from both approaches?
The pytest library for Python is a modern and capable testing framework for Python and we've come up with some good patterns to use with regards to database transactions.
To improve the speed and responsiveness of WatchKit apps it’s important to limit the amount of data sent from the phone to the watch. In this post I will outline how to achieve this through the use of View Models.
Everyone has a bag of tricks in the form of tips and shortcuts that they use throughout their lives. In general, there is no harm in sharing this knowledge. This post encourages sharing ones bag of tricks to others, as well as discusses various benefits.
RSpec 3.0 introduces new verifying doubles that offer the ability to verify received messages against the underlying class/object. Learn how using verifying doubles offer more robust tests with little effort.