article thumbnail

TDD saved the day

Xebia

Sometimes, the coding task in front of you can be overwhelmingly complex. 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).

article thumbnail

Why Dumb Tests are Smart ?

Xebia

Desired Qualities of Programmer Tests Well-written automated tests are: Easy to read Intention revealing Focused Put succinctly, programmer tests should make change easy. Change to code under test and the test code itself. Let’s have a look at smart tests first. How do you achieve this?

Testing 130
Insiders

Sign Up for our Newsletter

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

Trending Sources

article thumbnail

Quality Control: Using Acceptance Testing to Guarantee Product Quality

Altexsoft

A bit earlier, in 1998, a much more trivial software mistake was uncovered. Let’s talk about what quality control entails in modern software development. In software development, quality control exists alongside two other concepts: quality assurance (QA) and testing. What is Quality Control?

Testing 52
article thumbnail

Diving into the 4 rules of simple design

Habitable Code

To recap the 4 rules, code that is “simple” (ie. habitable) must satisfy the following criteria: Passes all its tests Expresses our intention Says everything once and only once Has nothing superfluous The first thing to note is that many people list rules 2 and 3 in the opposite order than I have. Nothing else matters.

article thumbnail

AoAD2 Practice: Reflective Design

James Shore

To share your thoughts, join the AoAD2 open review mailing list. Every day, our code is better than it was the day before. Every day, our code is better than it was the day before. Traditional approaches to design assume that, once coded, designs shouldn’t change. Look at the code you’re about to work on.

article thumbnail

AoAD2 Practice: Incident Analysis

James Shore

To share your thoughts, join the AoAD2 open review mailing list. Despite your best efforts, your software will sometimes fail to work as it should. Despite your best efforts, your software will sometimes fail to work as it should. In reality, failure is a consequence of the entire development system in which work is performed.

article thumbnail

Agile vs Waterfall: Key Differences And Definition?—?Which Model Is Better?

Codegiant

Agile is also about human interactions, customer collaboration, adapting to change, and producing working software. You observe how the market reacts to the software you create and then make iterations to improve it. The Agile methodology definition was introduced by 17 software developers gathered in Utah back in 2001.

Agile 52