finiteloop
  • Home
  • Online CV
  • LinkedIn

Testing

A collection of 4 posts

Snapshot testing and why it makes sense
JavaScript

Snapshot testing and why it makes sense

The JavaScript world is ever changing: every day new libraries come out and, as developers, we're lucky enough to get to try all these new ideas in our every day job. Using the

  • Riccardo Coppola
    Riccardo Coppola
7 min read
🐳 Dockerize your tests to run everywhere
Docker

🐳 Dockerize your tests to run everywhere

With integration tests being an integral part of a webapp workflow, we should always try to find ways to make them run smoother and make our lives easier. Note: This post was updated

  • Riccardo Coppola
    Riccardo Coppola
4 min read
Use proxyquire to mock your React components
React

Use proxyquire to mock your React components

Testing React components has become trivial as more and more of them are now stateless functions. The new shallow renderer and tools like Enzyme make it possible to render a component "one

  • Riccardo Coppola
    Riccardo Coppola
2 min read
Jasmine: mock an endpoint using $.ajax and Promises for Backbone
JavaScript

Jasmine: mock an endpoint using $.ajax and Promises for Backbone

The aim of this post is to write a mock version of the $.ajax that will let your code use promises and Backbone perform its stuff. It is often required to test how

  • Riccardo Coppola
    Riccardo Coppola
2 min read
finiteloop © 2019
Latest Posts Twitter