Commit graph

13 commits

Author SHA1 Message Date
Markus Schirp
f958c90ddc Add spec to verify isolation works for crashing killforks 2014-10-17 22:02:19 +00:00
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
d827dc4543 Add specification for isolation exception wrapping 2014-07-06 03:12:44 +00:00
Markus Schirp
dec1a39eb5 Move isolation into config object
Also add Isolation::None for testing.
2014-07-06 02:17:28 +00:00
Markus Schirp
f36dfc442a Fix rspec deprecation 2014-06-29 21:32:26 +00:00
Markus Schirp
a9ed9cc8f4 Do not use an evil example for an isolated global side effect 2014-06-25 00:23:09 +00:00
Markus Schirp
8fd9743742 Use parallel gem for isolation and signalling
The code looks solid and it does not make too much sense to duplicate
the efford into a better version when I would mostly change the code
style, not the effective sequence / composition of syscalls.
2014-06-25 00:14:16 +00:00
Markus Schirp
3c8620fd10 Better rspec context name 2014-06-20 18:33:36 +00:00
Markus Schirp
f5487b554c Move DSL guard into before hook 2014-06-20 17:53:55 +00:00
Markus Schirp
eb603789f4 Fix style issues 2014-06-14 14:28:54 +00:00
Markus Schirp
78ec8e0d4a Deactivate isolation spec under non MRI-2.1.2
The specs check for event sequences that are not consistently
triggerable cross MRI versions. The semantics work under all versions.
2014-06-09 15:36:03 +00:00
Markus Schirp
822ddd799f Make non mri specific specs pass under RBX 2014-06-08 19:51:04 +00:00
Markus Schirp
f0af3bd301 Move isolation to namespaced module 2014-06-08 17:55:54 +00:00