Get the latest tech news

Functional Tests as a Tree of Continuations (2010)


As A Tree Of Continuations By Evan Miller June 15, 2010 One of the most essential practices for maintaining the long-term quality of computer code is to write automated tests that ensure the program continues to act as expected, even when other people (including your future self) muck with it. Test code is often longer than the code that is being tested.

One of the most essential practices for maintaining the long-term quality of computer code is to write automated tests that ensure the program continues to act as expected, even when other people (including your future self) muck with it. Sometimes you can abstract out the logic into setup() and teardown() functions, and put the fake data needed for tests into things called fixtures. My desktop statistics software Wizard can help you analyze more data in less time and communicate discoveries visually without spending days struggling with pointless command syntax.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Tree

Tree

Photo of Continuations

Continuations

Photo of Functional Tests

Functional Tests

Related news:

News photo

Upstream Linux Developers Take Aim At TUXEDO's Out-Of-Tree GPLv3 Drivers

News photo

'First tree on Mars:' Scientists measure greenhouse effect needed to terraform Red Planet

News photo

Half a pound of this powder can remove as much CO2 from the air as a tree, scientists say