-
Book Overview & Buying
-
Table Of Contents
JavaScript Domain-Driven Design
By :
Beware of bugs in the above code; I have only proved it correct, not tried it. | ||
| --Donald Ervin Knuth | ||
Every system that is supposed to go into production needs to be evaluated against the real world situation. Reality can be a harsh thing, and it happens more often than not that something we expected to work perfectly fine does not work when we actually want to use it. So throughout the history of computer programming, developers have thought about how they could make sure that the software works, and at best, actually work as expected.
In 1994, Kent Beck wrote the SUnit test framework for Smalltalk and kicked off the modern age of unit testing. The idea was quite simple: automate the evaluation of code and make sure it fulfilled a certain set of specifications. Even though there are many new frameworks today to achieve this, the basic idea is still the same: write code and check whether it produces the expected result. In reality, with or without a testing framework...
Change the font size
Change margin width
Change background colour