Tag Archives: Unit testing

Testing Web API


Continuing with my previous post on Implementing Web API Versioning using OWIN, in this post I am going to show how to write unit test for your Web APIs. As we know that the beauty of OWIN is able to run your web application independent of the web server and based on this principle the […]

https://prashantbrall.wordpress.com/2015/07/31/testing-web-api/

Getting Started with Unit Testing: Swift


via Getting Started with Unit Testing: Swift.

I have been actively developing in Swift for about 6 months now and currently working on an application for the app store. When learning iOS I learned very little about unit testing. Most tutorials said something to the tune of iOS has a testing framework called XCTests, but it is not in scope for this tutorial. This got me wondering what the extent of the average projects tests in iOS. I took some time and explored the current state of testing swift code and the following are my findings:

Comprehensive Guide To Unit Testing In AngularJS


via Comprehensive guide to Unit Testing in AngularJS.

Angular allows you to build amazing user interfaces, but as complexity increases, unit testing becomes a very important part of your project. In this article I will provide a comprehensive guide for how to successfully write unit tests in AngularJS. The examples are created using Jasmine, but the concepts are not directly tied to a specific testing framework.

Unit testing Meteor applications with Velocity, Jasmine and SinonJS


via Unit testing Meteor applications with Velocity.

In my previous tutorial I explained some of the basic features of Meteor, a full stack JavaScript platform. In this tutorial I will go more in depth about testing a Meteor application, by testing the chat application we wrote in the previous tutorial.
In this first part I’ll show you how to unit test your Meteor application using the Velocity platform.

Unit testing Meteor applications with Velocity, Jasmine and SinonJS


via Unit testing Meteor applications with Velocity.

In my previous tutorial I explained some of the basic features of Meteor, a full stack JavaScript platform. In this tutorial I will go more in depth about testing a Meteor application, by testing the Chat application we wrote in the previous tutorial.
In this first part I’ll show you how to unit test your Meteor application using the Velocity platform.

Part 2: Unit Testing Full Stack Part 2 – AngularJS Part 2 of 3


via Unit Testing Full Stack Part 2 – AngularJS Part 2 of 3 – Development Thoughts and Findings.

This is part 2 of 3 unit testing full stack javascript. In this post we’ll talk about testing some more of Angular: Services, Directives and Filters.

In case you missed it, this unit testing series of posts are:

Part 2A – Installation, Routes, Controllers

Part 2B – Services, Directives, Filters

Part 2C – Coverage Reports, End to End (e2e)

So let’s get started with where we left off, testing services.

Setting up your Production-ready Polymer 1.0 Application Development


via Setting up your Production-ready Polymer 1.0 Application Development | Walking Tree.

Any technology we choose to build our project, it is very important that our project lifecycle is managed with effective set of tools that make our overall project development efficient. Depending upon the technology, it may take a while, initially, to set it up but once it is in place, the benefit of it cannot be undermined. Besides, it gives you the much needed agility when it comes to releasing quality code, frequently.

In this article, we are going to run through the different stages of a project life-cycle for a Polymer 1.0 project and talk about the related tools that can help you run the project, efficiently.

A typical project development involves following (not necessarily in the mentioned sequence):

  1. Generate project using a template – termed as Scaffolding
  2. Making changes to the generated code
  3. Code documentation
  4. Ensuring Code Quality
  5. Running application
  6. Cross browser testing
  7. Unit Testing the code (& CI)
  8. Building the application for QA
  9. E2E Testing (& CI)
  10. Production deployment

Let us review each of these items and see how do we setup our project for the same.