forked from dchelimsky/rspec-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
zhangxue/rspec-rails
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
test = Spec::Rails * https://rspec.info * https://rspec.info/rdoc-rails/ * https://github.com/dchelimsky/rspec-rails/wikis * mailto:[email protected] == DESCRIPTION: Behaviour Driven Development for Ruby on Rails. Spec::Rails (a.k.a. RSpec on Rails) is a Ruby on Rails plugin that allows you to drive the development of your RoR application using RSpec, a framework that aims to enable Example Driven Development in Ruby. == FEATURES: * Use RSpec to independently specify Rails Models, Views, Controllers and Helpers * Integrated fixture loading * Special generators for Resources, Models, Views and Controllers that generate Specs instead of Tests. == VISION: For people for whom TDD is a brand new concept, the testing support built into Ruby on Rails is a huge leap forward. The fact that it is built right in is fantastic, and Ruby on Rails apps are generally much easier to maintain than they might have been without such support. For those of us coming from a history with TDD, and now BDD, the existing support presents some problems related to dependencies across examples. To that end, RSpec on Rails supports 4 types of examples. We’ve also built in first class mocking and stubbing support in order to break dependencies across these different concerns. == MORE INFORMATION: See Spec::Rails::Runner for information about the different kinds of example groups you can use to spec the different Rails components See Spec::Rails::Expectations for information about Rails-specific expectations you can set on responses and models, etc. == INSTALL * Visit https://github.com/dchelimsky/rspec-rails/wikis for installation instructions. == LICENSE (The MIT License) ==================================================================== ==== RSpec, RSpec-Rails Copyright (c) 2005-2008 The RSpec Development Team ==================================================================== ==== ARTS Copyright (c) 2006 Kevin Clark, Jake Howerton ==================================================================== ==== ZenTest Copyright (c) 2001-2006 Ryan Davis, Eric Hodel, Zen Spider Software ==================================================================== ==== AssertSelect Copyright (c) 2006 Assaf Arkin ==================================================================== Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
About
RSpec's official Ruby on Rails plugin
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Ruby 100.0%