Didn't
This is Didn't, the testing framework. It can be used with any programming language.
What is Didn't?
Didn't is a testing framework that aims to be lightweight and helps to cut down on new development time by as much as 30-60%. However, the cost for this gain is usually incurred in the support phase. Didn't has been influenced by other testing methodologies such as Testing by Compilation and HDD (Hope-Driven Development).
How do I use Didn't?
The developers of Didn't really invisioned the Didn't development process to be carried out in four to ∞ steps.
- Write your code.
- Deploy directly to production.
- Communicate with users to find out what's broken.
- Fix bugs directly in production.
- Repeat steps 3 to 4 until users stop bitching.
Note that installing Didn't is completely optional. Not installing Didn't is just as effective in terms of testing as installing Didn't.
What features does Didn't include?
Didn't is still under development but this initial release, 0.0.0.0.1, includes the following features:
- If you run the rake task, it will let you know if you have ruby and rake installed on your computer.
- Installing Didn't will confirm that you have git on your computer (unless you used subversion to install Didn't or copied it from someone else).
- Didn't automates the testing process for you.
- Didn't cuts down on development time by as much as 40-70%.
- If you installed Didn't and your code blows up, there is something wrong.
- If you're reading this on Github then your internet is working or was probably working at one point.
- There is no number 7.
How do I install and run Didn't?
Run the following commands to install Didn't:
git clone https://github.com/daviddavis/didnt.git
Then use this to run Didn't (although this is completely optional):
cd didnt
rake test
Examples
The following are some example tests written with Didn't: