Remove Construction Remove Software Review Remove TDD Remove Test-Driven Development
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.

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

Testing Without Mocks: A Pattern Language

James Shore

For example code demonstrating these ideas, see my example on GitHub. When programmers use test-driven development (TDD), the code they test interacts with other parts of the system that aren't being tested. It avoids the downsides of mock-based testing, but it has tradeoffs of its own.

Testing 88
article thumbnail

Testing Without Mocks: A Pattern Language

James Shore

For example code demonstrating these ideas, see my example on GitHub. When programmers use test-driven development (TDD), the code they test interacts with other parts of the system that aren't being tested. It avoids the downsides of mock-based testing, but it has tradeoffs of its own.

Testing 40
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