Categories
Technology

Lean contract testing with Chakram

Photo by Cytonn Photography on Unsplash

? This post was featured in Software Testing Weekly #142 and CodingJab #111

During my career, every time my team has to rely on a 3rd-party API, there comes the day where that API fails. Maybe it is down but usually they released a breaking change that breaks the previous contract. Our team does not notice it, but the client/user does and then we look bad.

Categories
Technology

Pipeline triggering pipeline on GitLab

Usually when configuring a GitLab pipeline (.gitlab-ci.yml) you only care about steps in your own pipeline. Sometimes however, you may want to trigger other pipelines (of other repositories) as a step of your own pipeline.

Categories
Technology

How to build a Docker image ready to run Cypress tests

My team decided to build a Docker image that contained Cypress, dependencies and all our end-to-end (E2E) tests.

Categories
Technology

Cypress: PageObjects vs AppActions

Photo by Jason Dent on Unsplash

I use Selenium to write most of my automated checks, and the PageObjects pattern is a must. My current team is using Cypress and, to my surprise, this test framework recommends AppActions instead of PageObjects. So I decided to benchmark both patterns using the following criteria:

  • Can it abstract page selectors?
  • Can it abstract page actions?
  • Is it easy to write and maintain those abstractions?
  • Is it easy to write tests?
Categories
Technology

Sending image in XML using C#

hands-opening-envelope-on-crowded-desk