In TV, there is a series named restaurant tester. Each week, the tester tests selected restaurants, complains about the bad food and finally tries with his magnificient gastronomic knowledge to improve the service of the poor restaurant. As a first step, he often recommends more hygiene, neatness and cleanliness. This often upsets the cooks, because [...]
Posts Tagged ‘tests’
Clean Software
Posted in analogies, development, software, tagged best_practice, clean, development, software, testing, tests on April 14, 2009 | Leave a Comment »
How to run a single test from the command line
Posted in ruby, rubyonrails, tagged rake, tests on November 21, 2008 | Leave a Comment »
Normally you run tests through rake tasks from the command line: rake (to test everything), rake test:functionals (to test all controllers) or rake test:units (to test all models). Sometimes it is useful to run single tests for a particular model..
> ruby test/unit/group_test.rb
..or for a special controller..
> ruby test/functional/groups_controller_test.rb
from the command line. See also here
Working software is all that matters
Posted in development, software, tagged development, software, tests on October 23, 2008 | Leave a Comment »
Testing frameworks, development processes and operating systems are often very controversial among developers. Some developers hate Windows and only like to work on Linux. Some despise both and only work on Macs. Some hate RSpec and only like Test::Unit, some prefer test/spec. Some prefer HAML, others like RHTML.
Does it matter if you use SCRUM, XP [...]
Test vs. Type
Posted in development, software, tagged programming, ruby, tests, typing on October 16, 2008 | Leave a Comment »
Is correctness or verification a question of test vs. type (because dynamic languages as Python or Ruby without strong typing can not be relied on to create large programs) ? It is true that testing is especially important for dynamic languages, and sometimes neglected for traditional, strongly typed languages as C# or Java. I think [...]
The Importance of Tests
Posted in development, software, tagged development, software, tests on October 16, 2008 | 1 Comment »
How can you ensure and insure that computer programs actually do what they are intended to do? You can’t if you do not test them (on every level, in every context and in every possible situation). Software writing is difficult and will remain to be difficult. There was so much academic talk about verification of [...]