Commit graph

14 commits

Author SHA1 Message Date
Markus Schirp
6df5811a87 Use RSpec as receiver for rspec DSL methods
* I dislike the global infection RSpec does. This commit is a first step
  to get a rid of it.
* Also remove the need for `require 'spec_helper` in each spec file with
  adjusting `.rspec`.
2014-08-10 21:04:07 +00:00
Markus Schirp
a432421005 Remove --profile flag from rspec
Rationale:
* Console output lines are limited
* The more "valuable" information I see at once (without scrolling) the faster I'am
* I'm normally not in "tuning" mode.
* Can always add it when I need to tune. (But in this cases I'll profile
  most likely)
2013-09-02 20:35:17 +02:00
Dan Kubb
4217336990 Add rspec profiling and turn on warnings in specs 2013-07-29 17:34:11 -07:00
Markus Schirp
a93f75d4c5 Use more durable rspec settings 2013-07-16 17:43:55 +02:00
Markus Schirp
000380c1e0 Emit vcall mutation again 2012-12-06 12:32:16 +01:00
Markus Schirp
ccbe2f6396 Mark failing specs as panding and use attr_reader again 2012-10-26 11:24:29 +02:00
Markus Schirp
7ecf828768 User adamantium (former immutable) 2012-10-15 14:36:19 +02:00
Markus Schirp
72996901bb Use immutable support gem 2012-08-03 00:19:01 +02:00
Markus Schirp
c168d33adc Simplify explict_self_reciver mutation 2012-08-01 14:38:12 +02:00
Markus Schirp
b9b95ebe94 Break up mutation spec in class specific files
* Also add mutation class registry to improve readability.
* Calling mutations are still broken.
2012-08-01 13:27:35 +02:00
Markus Schirp
75e6a229f8 Create namespace for literal mutations
* Do not follow rubinius names anymore.
  An explict declaration now declares a mutator handles
  specific AST node.

* Has a nice impact on metrics.
2012-07-31 19:45:46 +02:00
Markus Schirp
3963166344 Remove --fail-fast from .rspec 2012-07-31 04:05:46 +02:00
Markus Schirp
3e1f9c408f Cleanup and dedup mutation generation
* Mutator and Generator where merged.
* A single pass over all duplications was made.
* It is clear a specific handles?(node) code for finding mutators
  is needed. Like virtus does for attributes, should also cache.
* Does not pass on 1.9 mode currently as blocks are unexpectly parsed
  differend when it comes to a series of literal booleans.
2012-07-31 04:00:05 +02:00
Markus Schirp
9c1d9cfa58 Switch to rspec-2
* One of the main reasons behind mutant was to get a rid of rspec-1.3
  in my toolchain.
* Remove most of mri specific stuff from Gemfile.
* Remove of mri specific taks will happen later, will heckle locally
  with external rspec-1.3 + heckle setup.
* Mutant should be self hosting as fast as possible :P
2012-07-31 00:48:04 +02:00