-
Notifications
You must be signed in to change notification settings - Fork 0
madadam/friendly_test_names
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Friendly test names =================== What is it? ----------- This tiny extension for test/unit allows you to write this: class LolCatTest < Test::Unit::TestCase test 'can haz cheeseburger' do assert @lolcat.can_haz_cheeseburger? end end instead of this: class LoLCatTest < Test::Unit::TestCase def test_can_haz_cheeseburger do assert @lolcat.can_haz_cheeseburger? end end Nothing more, nothing less. How to use it? -------------- Just require "friendly_test_names" in your test. Done. But <insert your favorite test tool> does this plus much more! ------------------------------------------------------------- Yes, but I don't want much more. I don't want contexts, fancy macros or rspec-esque pseudo plain language DSL. I want just friendly test name, nothing more. Legal ----- Copyright 2011 Adam Cigánek. Distributed under the terms of Do What The Fuck You Want To Public Licence (WTFPL).
About
Test names using plain language, no_more_underscore_madness!
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published