cypress-ntlm-auth 401 Unauthorized Response

TLDR; Be sure to only run cy.ntlmReset() after all requests in a test are completed. Recently we started to experience intermittent 401 unauthorized errors when our Cypress tests were executing on our build server. These errors were intermittent because they were timing dependent. We've been using a library with Cypress that allows it to authenticate … Continue reading cypress-ntlm-auth 401 Unauthorized Response

Cypress.io baseUrl

TLDR; To help make your tests more reliable and prevent unexpected issues, organize Cypress tests around a single FQDN and don't switch between different target URLs during a test execution. Cypress Journey Recently I've been spending some time improving an existing test suite and writing tests in Cypress.io. Cypress is an excellent framework for developing … Continue reading Cypress.io baseUrl

SQL Server Spatial Types and nUnit

I was recently working on a .NET 4.6 based project that was using EF 6 and nUnit for unit testing. While setting up some integration tests against a local SQL database I was receiving this error: Spatial types and functions are not available for this provider because the assembly 'Microsoft.SqlServer.Types' version 10 or higher could … Continue reading SQL Server Spatial Types and nUnit

Effective Angular Testing

Angular provides a lot of great tools for testing your application. Unfortunately, this wide array of tools and different methods for testing can be confusing when you first start working with the framework. Having an understanding of how Angular's different testing tools and methods correspond to the traditional levels of automated testing will help you … Continue reading Effective Angular Testing

Developer === Tester

That's right. I said it. If you are a software developer, then you are also a software tester. If you care about the quality of the software you are developing then you should be spending a significant amount of your development effort ensuring and verifying that quality. The only way to do that is to … Continue reading Developer === Tester

soapUI:org.apache.http.client.ClientProtocolException

When I downloaded the soapUI Pro official build (4.5.1), the first thing I tried to do was test some of our services on the test environment.  All of our WCF services are protected by NTLM authentication.  Unfortunately I immediately hit a wall.  Every attempt to call a services threw the following un-handled exception: Error getting … Continue reading soapUI:org.apache.http.client.ClientProtocolException

Evaluating soapUI for Web Service Verification

Our team has been building WCF based web services for the last few years to support data integration between disparate systems in the enterprise.  Web services are a natural fit for this type of integration because they offer flexibility for cross-platform exchanges and are easily configurable to traverse firewalls inside of the corporate network.  We’ve … Continue reading Evaluating soapUI for Web Service Verification

Unit Tests: Why quality matters and how to write better tests

This is the first article in a series that I am writing about how to create and maintain better quality unit tests. Over the last few years I have been involved in several different development projects where we have made a valiant effort to unit test our code.  All of the team members saw the … Continue reading Unit Tests: Why quality matters and how to write better tests