Amadou Sall
  • Home
  • Speaking
  • About
  • Contact

Testing

All articles related to testing

How to Set Up Angular Unit Testing with Jest
Angular

How to Set Up Angular Unit Testing with Jest

When starting a new Angular application, the Angular CLI sets up everything you need for unit testing using Karma and Jasmine. In this article, I will show you how to ditch Karma and Jasmine and use Jest as your unit testing framework and runner.

  • Amadou Sall
    Amadou Sall
4 min read
How to Set Up Angular E2E Testing with Cucumber
Angular CLI

How to Set Up Angular E2E Testing with Cucumber

When starting a new Angular application, the Angular CLI sets up everything you need for End-to-end testing using Protractor and Jasmine. In this article, I will show you how to ditch Jasmine, and use Cucumber 🥒 as your testing framework.

  • Amadou Sall
    Amadou Sall
2 min read
Unit Testing in Angular: Stubs vs Spies vs Mocks
Testing

Unit Testing in Angular: Stubs vs Spies vs Mocks

Unit testing is a very important topic in the world of software development. It gives us feedback about the design of our code (difficulty to test a code means bad design). But most

  • Amadou Sall
    Amadou Sall
8 min read
Angular Pipes: Integrated Unit Testing
Angular

Angular Pipes: Integrated Unit Testing

In my previous blog post [https://www.amadousall.com/angular-pipes-unit-testing-angular-pipes/], we learned that there were two ways to unit test Angular pipes: * isolated tests (without TestBed), * integrated tests (with TestBed). But we put

  • Amadou Sall
    Amadou Sall
4 min read
Angular Pipes: Isolated Unit Testing
Angular

Angular Pipes: Isolated Unit Testing

In Angular, pipes allow us to transform data before displaying it. Angular comes with a range of built-in pipes, but sometimes we need to write our own custom pipes. Well, in this case,

  • Amadou Sall
    Amadou Sall
2 min read
Let's connect on social media
Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer’s view in any way.

Copyright 2023, Amadou Sall This work is licensed under a Creative Commons Attribution 4.0 International License. In other words, share generously but provide attribution.