The atom package that sneakily watches you spiking functions and reminds you to keep it TDD! This package is currently available for Ruby.
apm install TDDetective
Once the package is installed, you will be able to activate it through the toggle option, which can be found by right clicking on the atom window.
The package assumes that your tests will be located in a '/spec' directory and works through matching the class name and method name with the relevant _spec file, to ensure you're TDDing!
If you wish to customise any of the visual features, you can edit the tddetective.less file, which is located in the styles directory.
Please do contact us and let us know about your contributions!
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
As a user, So that I can ensure my class has a spec file, I would like the name to be highlighted in red, until a spec has file been created As a user, So that I can ensure my method has a test, I would like it to be highlighted red until a test has been written. As a user, So that I can customise the amount of linting, I would like to choose how it appears in atom.
The TDDetective Team
Please view our License for more information.