ArcTouch homeArcTouch home
Contact Us
Contact Us
Contact Us

Development Best Practices: Test, Code, Repeat

ArcTouch programmers use test driven development to develop superior quality iPhone apps, Android apps, BlackBerry apps, and Pre apps.

5 min. read - July 21, 2009

By Adam Fingerman

By Adam Fingerman

Send by email
mobile app testing top tips
mobile app testing top tips
mobile app testing top tips

A $2,000 Per Day Software Bug

TechCrunch reports a story of a top iPhone app developer that was losing $2,000 a day in ad revenue for their app because they made a simple software programming mistake that could have easily been caught by basic testing.

Test Driven Development (TDD)

Our expert app developers use test driven development to ensure they produce the highest quality code. They create automated unit tests that define the expected results of the application functionality before writing any software code.

3 Steps for Test Driven Development

Step 1. Write the tests. Tests are written before the functionality being tested. This helps ensure that the application is written for testability, since developers must consider how to test the application from the outset, rather than worrying about it later. It also ensures that tests for every feature will be written. Other developers using traditional development methods choose to code the features first, but then inevitably under time pressure to work on the next feature neglect testing entirely. Don’t let your apps fall into that trap – demand that any app developer you hire uses test driven development.

Step 2. Fail the tests. All tests fail first because no software code has been written by the programmer. This ensures that the test has been written correctly. Once this is shown, the underlying functionality can be implemented.

Step 3. Write some code and rerun the tests. The next step is to write some code that will cause the test to pass. Now the code can be cleaned up as necessary and re-run against the tests, a process known as refactoring.

Test-driven development constantly repeats the process of adding test cases that fail, passing them, and refactoring. Passing the tests confirms correct application functionality as developers evolve and refactor the code. Our programmers use automated test frameworks to re-run the complete set of tests whenever new code is introduced, ensuring that the previously completed code is still fully functional without bugs.

Test Driven Development Benefits

Studies have shown that test driven development has numerous benefits and leads to better software.

  • Programmers are better able to focus and are more productive.

  • By writing tests before coding, developers show they clearly understand the feature’s specifications and requirements.

  • Errors introduced during the development cycle are discovered earlier and easier to rectify.

  • Software is designed simpler and is more modularlized, flexible and extensible.

  • No code is written beyond what is needed to pass a test.

  • Finished software has better quality and is more stable.

Better Quality Apps Through Test Driven Development

We’re so confident that test driven development results in superior quality apps that we offer a bug free guarantee. If you discover a problem after we’ve delivered your app to you, we’ll fix it for free. Guaranteed.

If you’re considering hiring a mobile app development company, make sure they offer test driven development. If not, their mistakes may cost you far more than your original cost to develop the mobile app in the first place.

Article Author:

AF

Adam Fingerman

Chief Experience Officer

Tags:

Agile Development
Best Practices
Developer Tips
Programming Tips
Test Driven Development

Subscribe for more insights

Get our newsletter in your inbox.

By subscribing you agree to our privacy policy.

Related posts

12 web accessibility best practices: A starter list

ArcTouch shares 12 best practices that provide a great starting point for building accessible web experiences.

5 min. read - April 16, 2024

Injecting AI into software development — an ArcTouch blog series

The ArcTouch design and development team shares how to use AI to build lovable apps and websites — better and faster.

5 min. read - April 9, 2024

Contact us.

Let's build something lovable. Together.

We help companies of all sizes build lovable apps, websites, and connected experiences.

ArcTouch, an AKQA studio - logo

United States

548 Market Street
San Francisco, CA 94104

175 Greenwich Street
New York, NY 10007

206 E 9th Street
Austin, TX 78701

Canada

155 Queens Quay E
Toronto, ON M5A 1B6

Europe

1 St John's Lane
London EC1M 4BL

19 Rue des Saints-Pères
Paris 75006

Brazil

Rod. José Carlos Daux, 4150
Florianópolis, SC 88032-000

Follow Us

LinkedInLinkedIn

InstagramInstagram

MediumMedium

Back to top

Copyright 2025 ArcTouch

Legal
Accessibility Statement