stendhal 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/Readme.md CHANGED
@@ -2,25 +2,38 @@
2
2
 
3
3
  A small test framework developed as a personal kata to improve my ruby.
4
4
 
5
- Currently under development, not functional at all. Below I will be posting
6
- whatever features are available throughout the development.
5
+ Currently under development, there is only basic functionality for now.
6
+ Below I will be posting whatever features are available throughout the
7
+ development.
8
+
9
+ ##Installation
10
+
11
+ gem install stendhal
7
12
 
8
13
  ##Usage
9
14
 
10
15
  # your spec file for some class - my_class_spec.rb
11
16
 
12
- it "does something" do
13
- my_object = MyClass.new
14
- my_object.fancy = true
17
+ describe "My fancy class" do
15
18
 
16
- assert my_object.fancy
17
- end
19
+ it "does something" do
20
+ my_object = MyClass.new
21
+ my_object.fancy = true
22
+
23
+ assert my_object.fancy
24
+ end
18
25
 
19
- it "should do something but I don't know what yet"
26
+ describe "Additional functionality" do
27
+
28
+ it "should do something but I don't know what yet"
29
+
30
+ pending "will do something else" do
31
+ my_object = MyClass.new
32
+ my_object.future_method
33
+ end
34
+
35
+ end
20
36
 
21
- pending "will do something else" do
22
- my_object = MyClass.new
23
- my_object.future_method
24
37
  end
25
38
 
26
39
  ###Running the specs!
@@ -29,7 +42,10 @@ whatever features are available throughout the development.
29
42
 
30
43
  ###And the output...
31
44
 
45
+ My fancy class
32
46
  * does something
47
+
48
+ Additional functionality
33
49
  * should do something but I don't know what yet
34
50
  * will do something else
35
51
 
@@ -45,6 +45,7 @@ module Stendhal
45
45
  def run_all
46
46
  result = [0,0,0]
47
47
  @@example_groups.each do |g|
48
+ puts "\n"
48
49
  puts g.description
49
50
  group_result = g.run
50
51
  result = result.zip(group_result).map{ |pair| pair[0] + pair[1] }
@@ -1,3 +1,3 @@
1
1
  module Stendhal
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 0
8
7
  - 1
9
- version: 0.0.1
8
+ - 0
9
+ version: 0.1.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Josep M. Bach