Learn how to enable testing with async/await in Protractor, and how to debug your tests with the new NodeJS debugger.
The first in a series of posts about Redux, the de-facto state storage engine for React, and how to integrate it with a React app. In this first article we make a case for Redux over passing props for events and data, and show a simple configuration.
Find out how the new HttpClient in Angular 4.3.1+ helps you write less code and test your services more easily.
Note – This article is an updated version of the rc1 version, and as such it now covers Angular 2.0.1 and above, the official release of 2.0. The main difference here is the way the framework is started, using the TestBed API. Testing Components In my last post, I discussed how to write tests in … Read More
So you’d like to test your HTTP services in Angular 2.0 but you don’t know how? Have some background in Angular 1’s ngMock library? Or just want to see how it’s done? Read this article and follow along with the provided GitHub repo to learn how. Chariot’s Ken Rimple, co-author of our Angular 2 and React training courses, shows you how.
Right now it's hard to find samples of tests against Angular 2 observable Http code for developers in the current beta. Some of the things you have to watch out for are non-obvious. I expect this will improve vastly over time, but for now hopefully you'll get some working code samples from me to get you going. This post will show you how it’s done.
In this episode, we talk about Waitr and Protractor, two Jasmine WebDriver APIs, Angular 2.0 surfaces, we talk about Apple’s self-driving car, and discuss a bunch of new Amazon AWS features including Cloud Trail for Route53 and health checks. Stay to the end for our silly Apple Car jokes.
This is the first in a series of posts in which we will explore building applications with the Play Framework. Today we will focus on creating a very simple barebones application and applying some tests to it. Starting A Skeleton Application Complete sample code for this article can be found at play-samples/minimal. The only prerequisite … Read More
AngularJS provides two powerful mock and test support modules, both contained in a single script file. The modules, ngMock and ngMockE2E, provide different features for different purposes, though both modules are defined in, angular-mocks.js. In this post I’ll explain the differences between the modules and how they get mounted in a test scenario.