Software Test Journal

By Beaglesong | Automated software testing

Unit Testing Beginners Guide - Part 2 - Spying and fake timers

Before we start, and if you are not familiar with Jest testing basics already, please make sure to cover the first part of this series, on testing …

JavaScript

Logging done right, makes your life bright!

I have been working in application development on embedded devices for a few years now. All the embedded platforms that we work on do not have a good …

Testing Routes in Angular 2

Dive back into Angular 2, and learn how to test routes in a new tutorial in our series on test-driven development with Angular 2 and Webpack.<p><b>Brought</b> …

Writing Unit Tests in Angular 2

<b>The testing of the smallest parts of the application through unit testing may seem strange to new developers.</b><p>When the applications reach the …

Angular — Testing Guide (v4+)

Nine easy-to-follow examples using TestBed, fixtures, async and fakeAsync/tick.<p>In this post, we want to cover the most <b>common unit tests</b> to use for</b> …

An Angular-road trippers guide to Angular 2 Testing

Testing is important to building solid, production-ready applications. Today we’ll be discussing Angular 2 Testing.<p>But we all know, having a solid …

Getting Started with Angular 2 End To End Testing

There have been many reasons I have held out on adding automated testing to my applications in the past. One of them was not knowing the benefit vs …

Guide to End to End Testing in Angular 2

End to end testing is a somewhat polarized subject in software engineering. While, some argue against it with valid points, we still think they are …

Angular Testing In Depth: Services

<b>Get the "Migrating an Angular 1 App to Angular 2 book" for Free.</b> Spread the word and download it now!<p>When I started developing and writing tests for …

JavaScript

Testing Services in Angular 2

Services allow your code to share common functionality across the application. Find out how to use a TDD approach to incorporate them into your …

Unit Testing in AngularJS

AngularJS is designed with testability in mind. Dependency injection is one of the prominent features of the framework that makes unit testing …

AngularJS Testing Tips

Unit tests are an essential part of software development as they help you in releasing less buggy code. Testing is one of the several things that one …

Why You Should Start Using Chrome Developer Tools Right Now

Having a nice set of handy tools to help test your website is essential for developers. Where’s the best place to keep them? In your browser, of …

This website is for sale!

This website is for sale!

Vorlon.JS

Introducing Vorlon.JS<p>An open source, extensible, platform-agnostic tool for remotely debugging and testing your JavaScript. Powered by node.js and …

Test Driven Development in Practice - Part 1

True developer starts with wine… and tests.<p>In world of programming and software development everyone is expected to deliver high quality code within …

Unit Testing bindToController and ControllerAs

The code listing below shows a simple greeting controller that produces a greeting based on two isolate scope properties set via the markup<p>Controller …

Visual Test-Driven Development For Responsive Interface Design

Testing responsive websites is a laborious task. Until now, implementing a stable and maintainable automated solution for cross-browser and …

Generate Fake Data for Your JavaScript Applications Using Faker

IntroductionWhen building out applications, we will often need data to show off how it works. It won’t be much of an application if all our tables …

Web Development

Properly Testing Your Ionic Framework Mobile Application

I am very active on StackOverflow, the Ionic Framework forums, Twitter, and even my own blog. I like helping people and I like seeing that everyone …

Using junit for something else

junit != unit test<p>Junit is the Java unit testing framework. We use it for unit testing usually, but many times we use it to execute integration tests …

Visual Regression Testing For Angular Applications

Read the full article at: Visual Regression Testing For Angular ApplicationsI recently planned a major CSS refactoring project to transition a large …

JavaScript

End-to-End Testing with Aurelia and Protractor

Although the previous section may sound depressing, there is hope for developers by the name of Protractor. It is an End-To-End testing framework …

Visual Studio Unit Testing Examples

If you work in Visual Studio odds are you have written a few unit tests. In today's development landscape unit testing is just part of the daily …

Debugging Asynchronous JavaScript with Chrome DevTools

Introduction<p>A powerful feature that makes JavaScript unique is its ability to work asynchronously via callback functions. Assigning async callbacks …

How companies test their mobile apps

Everyone who has ever been involved in the development of a mobile app knows the painstaking procedure of taking a mobile device and pushing and …

Javascript Testing – Clean object mocking through JSON files

Clean code is what is over my head for the past few days. Thanks to an excellent course by John Papa, Angular JS Patterns: Clean Code on Pluralsight, …

Mocking Dependencies in AngularJS Tests

AngularJS was designed with testing in mind. The source code of the framework is tested really well and any code written using the framework is …