Skip to main content

Posts

Showing posts from August, 2021

Angular's E2E Testing Framework - Why is it called Protractor?

The Angular Ecosystem Angular is an amazing framework. It enables us to build modern web apps easily. Yes we can build a modern web app with just HTML + CSS + JavaScript, maybe with a dash of jQuery 😉 But Angular just makes it whole lot easier. Users today's web apps to be fast, well designed, offline-capable, secure and a delightful. Since Angular is a opinionated framework, it forces you to make the right choices. Today Angular is not just a web framework. it has created its own ecosystem. As you might have guessed, I am a Angular fanboy 😎. But one thing I'm not a fan of is writing test cases 😛 I started learning about software testing in late 2019, because I asked to setup unit + E2E testing for one of our projects. What I learned was, Angular come with Karma + Jasmine setup (for unit testing) out of the box. But it has built a specialized E2E testing framework called Protractor . But I couldn't figure out why they called it Protractor of all things. Later it dawned o