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). The design emerged from writing tests upfront.

article thumbnail

AoAD2 Practice: Test-Driven Development

James Shore

To share your thoughts, join the AoAD2 open review mailing list. Test-Driven Development. It’s test-driven development, and it actually delivers these results. Test-driven development, , or TDD, is a rapid cycle of testing, coding, and refactoring. Why TDD Works.

Insiders

Sign Up for our Newsletter

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

article thumbnail

Extended Role of QA in Test Driven Development (TDD)

Xoriant

TDD is an Agile Development technique in which developers write test cases before writing the corresponding code for the user story assigned to him. Once the code passes the Acceptance test, the code is then refactored /simplified to be used as production code. How TDD is different than others?

article thumbnail

Effective Software Testing – A Developer’s Guide

Henrik Warne

Particularly the chapters on how to systematically come up with test cases based on the specification, inputs, outputs and the structure of the implementation. I have used randomly generated tests to very good effect before, but always on complete systems (like generating random calls between phones), never as property based tests.

article thumbnail

5 ways to do Continuously Improved Testing

Xebia

It reduces the cost of testing and supports keeping long-term, high-development velocities. Test automation is not a project or a one-off—it is part of the development lifecycle and should be seen as its own system that needs to evolve over time as the requirements and system under test change and mature.

Testing 130
article thumbnail

Continuous integration for Go applications

CircleCI

All network applications need well-tested features, and those developed in Go are no different. In this tutorial, we will be building and testing a simple Go blog. Go installed on your system (you can find an installation guide here ). This will initialize the project with the package name go-testing.

article thumbnail

Quality Management is Risk Management

Xebia

This is basically assuming the system is correct until proven otherwise. Deciding what strategy to use depends on your risk appetite for a specific system or functionality and on how much certainty you already have. When the risk profile of a system , or the certainty on it changes, the best quality strategy might also change.