Testing Angular routing components with RouterTestingHarness, provideLocationMocks, and provideRouter
Learn how to implement integrated routing component tests with RouterTestingHarness, provideRouter, and provideLocationMocks.
Learn how to implement integrated routing component tests with RouterTestingHarness, provideRouter, and provideLocationMocks.
When talking about unit testing, the first definition that comes into our head is to test the minor...
New Standalone APIs provide mocks for test automation.
Essentially, Angular builders are NodeJS scripts executed by Angular CLI and perform different tasks like application build, running unit tests, and many other useful things. Even if you hear first time about them, in fact, you use them every day without even knowing that. In this article, I wanted
The Angular team has adapted the HttpClient for the new standalone components. On this occasion, the interceptor concept was also revised.
I've been working with Angular for a while now (over 2 years), and since I moved to another...
In Angular the BASE/API URLs are be stored environment files which are present under src/environments...
Since Angular 14.2, it’s possible to use Standalone Components as Angular Elements.
Pipes are simple functions to use in template expressions to accept an input value and return a...
Based on community feedback via the RFC process, we’ve decided to deprecate Protractor, while working with the community to find a long term support option for active projects that wish to continue…
Here are five reasons why Java developers love Angular. The list is not exhausted but merely an observation from my own experience.
Optimize your testing strategy by choosing when to use Behavior-Driven Development. Streamline business requirements and quality assurance.
With the introduction of Standalone Components, NgModules will become optional. But how to prepare for this future?
Eliminate frontend-backend friction with the BFF pattern. Optimize API contracts and accelerate development by empowering your FE team.
Introduction Ngrx component store is a great package for state management at component...
Catch template bugs early with Angular Extended Diagnostics. Improve code quality and reduce technical debt with built-in checks.
Say no to brittle tests with SCAMs
Today we will learn how to create our own Pipe or the Custom Pipe. If you are unaware about what a...
Today we will learn how to create our own directives in Angular. In my previous posts I discussed all...
Angular, by default, comes with Jasmine; it is a great testing framework. I spent one year and a half...
How write maintainable NgRx tests within an Angular application
Surprising to some, calling TestBed.compileComponents is unnecessary unless you're Google.
Avoid cascading failures in Micro-Frontends by implementing an anti-corruption layer. Ensure long-term stability for complex systems.
Photo by John Bakator on Unsplash NgRx Effects Effects are a powerful model for handling...