article thumbnail

Test-Driving HTML Templates

Martin Fowler

When building a server-side rendered web application, it's valuable to test the HTML that's generated through templates. While these can be tested through end-to-end tests running in the browser, such tests are slow and more work to maintain than unit tests.

Testing 277
article thumbnail

TDD saved the day

Xebia

Armed with a few assumptions about how things should work, I embarked on developing an application with a graphical UI and a backend. To tackle each operation, I started with a small test, following the principles of Test-Driven Development (TDD). If the tests became too complex, I knew something was missing.

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Effective Software Testing – A Developer’s Guide

Henrik Warne

I recently finished Effective Software Testing – A Developer’s Guide by Maurício Aniche , and I really liked it. I have been coding for a long time and I think I have been writing pretty good tests for the features I have implemented. The book apparently grew out of lecture notes from a course on software testing.

article thumbnail

5 ways to do Continuously Improved Testing

Xebia

In many organizations, automated testing lags behind and becomes a bottleneck for successful continuous delivery. Either tests do not provide enough confidence or companies take a very traditional approach, resulting in releases either introducing substantial risks or becoming costly. These principles tell us our tests should be: Fast.

Testing 130
article thumbnail

Why Testing is No Longer Sufficient for Today’s Software Delivery Pipelines

OverOps

The move to innovate at speed and scale is stressing software quality and exposing the limitations of testing. Don’t get me wrong – testing in all its forms is inseparable from the software delivery supply chain. Over a decade ago, when Test-Driven Development (TDD) was introduced, it promised to improve productivity and quality.

article thumbnail

AoAD2 Practice: Fast, Reliable Tests

James Shore

Fast, Reliable Tests. Our tests don’t get in our way. Test-Driven Development. Teams who embrace test-driven development accumulate thousands of tests. The more tests you have, the more important speed and reliability become. With TDD, you run the tests as often as one or two times every minute.

article thumbnail

Ultimate Step-by-Step Guide on Behavior Driven Development (BDD) Testing

Dzone - DevOps

It is a custom software development process that is driven by the behavior of an application and is often called an extension of the Test-Driven Development (TDD) approach. Why Behavior Driven Development Testing Came Into the Picture.