stendhal 0.0.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Readme.md +27 -11
- data/lib/stendhal/example_group.rb +1 -0
- data/lib/stendhal/version.rb +1 -1
- metadata +2 -2
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,
|
6
|
-
whatever features are available throughout the
|
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
|
-
|
13
|
-
my_object = MyClass.new
|
14
|
-
my_object.fancy = true
|
17
|
+
describe "My fancy class" do
|
15
18
|
|
16
|
-
|
17
|
-
|
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
|
-
|
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
|
|
data/lib/stendhal/version.rb
CHANGED