Our Thinking

Purpose Driven Testing

Posted by Noel Lopez on Jun 8, 2015 1:27:46 PM

“Quality is never an accident; it is always the result of an intelligent effort.”
– John Ruskin

Oftentimes, when people think about system testing, their thought process goes something like this: “If this system has any issues we don’t know about, it’s okay because our testers will find them.” The problem with this is, if the quality of the system being tested is low to begin with, what is the point of testing? The reality is, “testing” is one of many ways of finding defects, but alone it will not get the job done. The ingredient list must also include precision, planning, strategy, know-how, which testing type to use, anticipation, contemporary process, the right people, and vision.

Read More

Topics: Quality Assurance, Test Driven Development

Taking on the Challenge of Mobile App Testing: How to Test Cross-Platform

Posted by Axel Buerkle on Sep 2, 2014 11:17:16 AM

A recent report by OpenSignal revealed that there are 18,796 distinct Android devices in use. This data was gathered directly from users who installed the company’s app. Even though device fragmentation is not a new phenomenon in the Android world, the sheer number of devices is impressive (up from 11,868 devices counted last year).

Read More

Topics: Application Development, Mobility, Test Driven Development, Tools

Effective Unit Testing – Part 4: Entity Framework (continued)

Posted by Ben Lucas on Jul 21, 2014 8:56:30 AM

In my last post, I showed how you could use mocking frameworks and dependency injection to create unit tests for methods that query a database using Entity Framework. In this post, I will show how you can use the same techniques to test data access code that will insert, update or delete a record from the database.

Read More

Topics: Agile Development, Methodologies, Test Driven Development

Effective Unit Testing – Part 3: Entity Framework

Posted by Ben Lucas on Jun 30, 2014 3:00:23 AM

Recently, the data access technology that we have relied on for most of our projects is Entity Framework. Entity Framework is an excellent tool that makes it easy to work with a database using the .NET code that we are most familiar with. However, out of the box, Entity Framework does little to help support automated unit testing. Specifically, the DbContext is not interface-based and does not provide a clean way to support mocks. This makes it difficult to write a unit test that doesn’t require database access, which would result in slow and error-prone tests.

Read More

Topics: Agile Development, Methodologies, Test Driven Development

Effective Unit Testing – Part 2: Dependency Injection

Posted by Ben Lucas on Mar 3, 2014 2:00:02 AM

In my last post, I mentioned that one problem with my earlier unit tests was their dependency on database access. Having my tests directly dependent on the database created slow-running tests and tests that were prone to failure as the database changed. Over the course of this post, I’m going to demonstrate some of the techniques I have learned that provide the ability to decouple a set of code from using direct database access. Note that the examples are in C#; however, the principles apply to any object-oriented language with a unit testing framework.

Read More

Topics: Agile Development, Methodologies, Test Driven Development

Effective Unit Testing – A Developer’s Journey - Part 1

Posted by Ben Lucas on Nov 25, 2013 3:00:48 AM

For my entire career as a software developer, I have believed that unit testing is an essential activity that is part of delivering a quality product. However, what that means to me has gone through multiple revisions. This post is not intended to give a detailed overview of how to write unit tests or any specific unit testing practice. What I intend is to take you through my journey and a few things I’ve learned as I’ve incorporated automated unit testing into my developer’s tool belt.

Read More

Topics: Agile Development, Methodologies, Test Driven Development

Our Thinking - The Online Blog is a source for insights, resources, best practices, and other useful content from our multi-disciplinary team of Onliners.

Subscribe to Blog Updates