mkb / mspec Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ruby/mspec
RSpec-syntax compatible framework for RubySpecs
Home Page: http://rubyspec.org
License: MIT License
This project forked from ruby/mspec
RSpec-syntax compatible framework for RubySpecs
Home Page: http://rubyspec.org
License: MIT License
1. Overview MSpec is a specialized framework that is syntax-compatible with RSpec for basic things like 'describe', 'it' blocks and 'before', 'after' actions. MSpec contains additional features that assist in writing the RubySpecs used by multiple Ruby implementations. MSpec attempts to use the simplest Ruby language features so that beginning Ruby implementations can run the Ruby specs. MSpec is not intended as a replacement for RSpec. MSpec attempts to provide a subset of RSpec's features in some cases and a superset in others. It does not provide all the matchers, for instance. However, MSpec provides several extensions to facilitate writing the Ruby specs in a manner compatible with multiple Ruby implementations. 1. MSpec offers a set of guards to control execution of the specs. These guards not only enable or disable execution but also annotate the specs with additional information about why they are run or not run. 2. MSpec provides a different shared spec implementation specifically designed to ease writing specs for the numerous aliased methods in Ruby. The MSpec shared spec implementation should not conflict with RSpec's own shared behavior facility. 3. MSpec provides various helper methods to simplify some specs, for example, creating temporary file names. 4. MSpec has several specialized runner scripts that includes a configuration facility with a default project file and user-specific overrides. 2. Bundler A Gemfile and Gemfile.lock is provide. Use Bundler to install gem dependencies. To install Bundler, run the following: $ gem install bundler To install the gem dependencies with Bundler, run the following: $ RUBYLIB=lib ruby -S bundle install 3. Running Specs Use RSpec to run the MSpec specs. There are no plans currently to make the MSpec specs runnable by MSpec. After installing the gem dependencies, the specs can be run as follows: $ ruby -S rspec Or $ ruby -S rake To run an individual spec file, use the following example: $ ruby -S rspec spec/helpers/ruby_exe_spec.rb 4. Documentation See http://rubyspec.org 5. Source Code See https://github.com/rubyspec/mspec 6. License See the LICENSE in the source code.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.