minitest-given 0.1.pre → 3.0.0.beta.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +27 -0
- data/{README.rdoc → MIT-LICENSE} +1 -29
- data/README.md +763 -0
- data/Rakefile +225 -15
- data/TODO +13 -0
- data/doc/main.rdoc +7 -0
- data/examples/example_helper.rb +10 -0
- data/examples/failing/natural_failing_spec.rb +48 -0
- data/examples/failing/sample_spec.rb +7 -0
- data/examples/integration/and_spec.rb +44 -0
- data/examples/integration/failing/eval_subexpression_spec.rb +9 -0
- data/examples/integration/failing/module_nesting_spec.rb +13 -0
- data/examples/integration/failing/undefined_method_spec.rb +9 -0
- data/examples/integration/failing_messages_spec.rb +38 -0
- data/examples/integration/focused_line_spec.rb +9 -0
- data/examples/integration/given_spec.rb +73 -0
- data/examples/integration/invariant_spec.rb +31 -0
- data/examples/integration/then_spec.rb +8 -0
- data/examples/loader.rb +4 -0
- data/examples/minitest_helper.rb +38 -0
- data/examples/other/line_example.rb +9 -0
- data/examples/stack/stack.rb +29 -0
- data/examples/stack/stack_spec.rb +60 -0
- data/examples/stack/stack_spec1.rb +3 -0
- data/lib/given.rb +2 -0
- data/lib/minitest/given.rb +1 -32
- data/lib/minitest-given.rb +9 -1
- data/rakelib/bundler_fix.rb +17 -0
- data/rakelib/gemspec.rake +161 -0
- data/rakelib/metrics.rake +30 -0
- data/rakelib/preview.rake +14 -0
- data/test/before_test.rb +22 -0
- data/test/meme_test.rb +36 -0
- metadata +69 -85
- data/.autotest +0 -23
- data/.gemtest +0 -0
- data/CHANGELOG.rdoc +0 -3
- data/Manifest.txt +0 -11
- data/minitest-given.gemspec +0 -42
- data/test/test_assertions.rb +0 -30
- data/test/test_comparison.rb +0 -25
- data/test/test_version.rb +0 -10
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 415321f18ce3e534a5966a0c63591feee1f2e0cb
|
4
|
+
data.tar.gz: db077329d1a26df30dd4f1b1ef3a7af1e1800dc1
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f4ae26247a55cfea57487820e29ac289285f84943f430564c3857283e31c639794bc55d124653d87e69d6db150a33e6924dd008bc781a930527dfb132d8c5027
|
7
|
+
data.tar.gz: bd5a8fa7ff59635edf22d8d917afa3f1e4a243be44eae2b51bc51f0e05bc7bc226f034b06e9b0eafaa5dc5cf008b49ac2c0feae0d749d69210aed5661a39fecb
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
GEM
|
2
|
+
remote: https://rubygems.org/
|
3
|
+
specs:
|
4
|
+
diff-lcs (1.2.4)
|
5
|
+
flexmock (1.3.2)
|
6
|
+
minitest (5.0.6)
|
7
|
+
rake (10.0.4)
|
8
|
+
rspec (2.14.0)
|
9
|
+
rspec-core (~> 2.14.0)
|
10
|
+
rspec-expectations (~> 2.14.0)
|
11
|
+
rspec-mocks (~> 2.14.0)
|
12
|
+
rspec-core (2.14.0)
|
13
|
+
rspec-expectations (2.14.0)
|
14
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
15
|
+
rspec-mocks (2.14.1)
|
16
|
+
sorcerer (0.3.10)
|
17
|
+
|
18
|
+
PLATFORMS
|
19
|
+
java
|
20
|
+
ruby
|
21
|
+
|
22
|
+
DEPENDENCIES
|
23
|
+
flexmock
|
24
|
+
minitest (>= 4.3)
|
25
|
+
rake
|
26
|
+
rspec (>= 2.12)
|
27
|
+
sorcerer (>= 0.3.7)
|
data/{README.rdoc → MIT-LICENSE}
RENAMED
@@ -1,32 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
Given/When/Then built on top of minitest's spec DSL.
|
4
|
-
|
5
|
-
== Install
|
6
|
-
|
7
|
-
gem install minitest-given
|
8
|
-
|
9
|
-
== Configure
|
10
|
-
|
11
|
-
Add the following to your test or helper:
|
12
|
-
|
13
|
-
require "minitest/rails/capybara"
|
14
|
-
|
15
|
-
== Usage
|
16
|
-
|
17
|
-
minitest-given is intended to bring Jim Weirich's Given DSL to the land of minitest.
|
18
|
-
|
19
|
-
https://github.com/jimweirich/rspec-given
|
20
|
-
|
21
|
-
== Get Involved
|
22
|
-
|
23
|
-
Join the mailing list to get help or offer suggestions.
|
24
|
-
|
25
|
-
https://groups.google.com/group/minitest-rails
|
26
|
-
|
27
|
-
== License
|
28
|
-
|
29
|
-
Copyright (c) 2013 Mike Moore
|
1
|
+
Copyright (c) 2011, 2012, 2013 by Jim Weirich
|
30
2
|
|
31
3
|
Permission is hereby granted, free of charge, to any person obtaining
|
32
4
|
a copy of this software and associated documentation files (the
|