test-driven-development 41
brynary/testjour
8 weeks ago by jazzgumpy
testing with cucumber via bonjour
cucumber
test
test-driven-development
tdd
bonjour
slaves
8 weeks ago by jazzgumpy
[A BitTorrent combinatorics puzzle]
may 2011 by Vaguery
"You have 40 bowls, all placed in a line at exact intervals of 1 meter. You also have 9 oranges. You wish to place all the oranges in the bowls, no more than one orange in each bowl, so that there are no three oranges A, B, and C such that the distance between A and B is equal to the distance between B and C. How many ways can you arrange the oranges in the bowls?."
test-driven-development
kata
may 2011 by Vaguery
Bringing test tools to Nagios monitoring :: semicomplete.com - Jordan Sissel
february 2010 by dltj
With all the TDD (test-driven design) and BDD (behavior-driven design) going around these days, it'd be a shame not to use these tools on monitoring applications.
You might have a boatload of tests that test your application before you roll a new version, but do you use those tests while the application is in production? Can you? Yes!
Let's take an important example of monitoring some complex interaction, like searching google and checking the results. Simple with a mouse, but perhaps complex in code. Even if you wrote a script to do it, using an existing testing framework gets you pass/fail testing automatically.
For this example, I'll use the following ruby tools: rspec and webrat. This fairly easy, though it took me a bit to find all the right documentation bits to clue me in to the right way.
behavior-driven-development
nagios
test-driven-development
You might have a boatload of tests that test your application before you roll a new version, but do you use those tests while the application is in production? Can you? Yes!
Let's take an important example of monitoring some complex interaction, like searching google and checking the results. Simple with a mouse, but perhaps complex in code. Even if you wrote a script to do it, using an existing testing framework gets you pass/fail testing automatically.
For this example, I'll use the following ruby tools: rspec and webrat. This fairly easy, though it took me a bit to find all the right documentation bits to clue me in to the right way.
february 2010 by dltj
Effective Test Driven Development for Embedded Software
february 2010 by amoore
Paper by Karlesky, Bereza, and Erickson describing an integrated collection of concrete concepts and practices that are decoupled from platform-specific tools; 2006 Apr, PDF, 6 pg.
PDF
testing
embedded
software-testing
2006
test-driven-development
TDD
embedded-systems
Karlesky
Bereza
Erickson
filetype:pdf
media:document
february 2010 by amoore
mhennemeyer's objectivematchy at master - GitHub
november 2009 by chris_johnsen
An Objective C framework for behavior driven development.
Objective-C
framework
behavior-drive-development
BDD
test-driven-development
TDD
OCUnit
SenTestingKit
OCMock
development
behavior
programming
testing
november 2009 by chris_johnsen
Informative Build | bigvisible.com
november 2009 by Vaguery
"An Informative Build is a build that tells us what the state of our development is so that we can make an informed decision. We need an informative build, because otherwise Continuous Integration is just a waste of our time.
That’s right, I said Continuous Integration is a waste of time. It is a waste of time, because simply running a build doesn’t help us unless that build can also tell us what we need to do. An Informative Build:
Fails when something is wrong, letting us know that our system is broken and we must fix it.
When it fails it tells us precisely why it failed so that we know what we have to do to fix it.
When nothing is wrong it doesn’t fail. We shouldn’t be wasting cycles chasing down errors due to brittle tests or external dependencies."
continuous-integration
extreme-programming
agility
practice
test-driven-development
test-driven-design
productivity
software-development
mythology
That’s right, I said Continuous Integration is a waste of time. It is a waste of time, because simply running a build doesn’t help us unless that build can also tell us what we need to do. An Informative Build:
Fails when something is wrong, letting us know that our system is broken and we must fix it.
When it fails it tells us precisely why it failed so that we know what we have to do to fix it.
When nothing is wrong it doesn’t fail. We shouldn’t be wasting cycles chasing down errors due to brittle tests or external dependencies."
november 2009 by Vaguery
Agile Ajax » Rails Testing Frequently Asked Questions — The Non-Code Version » Pathfinder Development
may 2009 by Vaguery
"Things to keep in mind.
No matter where you start, start with one simple test. One assertion, if you can manage it.
Write the code to make that test pass
Then refactor -- this part is critical, this is where the creative design is with a TDD process.
Then write the next test.
In Rails, you'll often start in the controller then realize that code needs to be written in the model (or vice-versa). Write a separate test for the model -- testing models from the controller makes it hard to test all the model logic.
It's okay to plan the tests in advance, but you should only work on one test at a time. (Sometimes I'll write the series of tests, then comment out all but one)"
test-driven-development
TDD
testing
Rails
Ruby
programming-culture
advice
getting-hired
No matter where you start, start with one simple test. One assertion, if you can manage it.
Write the code to make that test pass
Then refactor -- this part is critical, this is where the creative design is with a TDD process.
Then write the next test.
In Rails, you'll often start in the controller then realize that code needs to be written in the model (or vice-versa). Write a separate test for the model -- testing models from the controller makes it hard to test all the model logic.
It's okay to plan the tests in advance, but you should only work on one test at a time. (Sometimes I'll write the series of tests, then comment out all but one)"
may 2009 by Vaguery
Copy this bookmark: