Skip to content

Commit 984bd60

Browse files
committed
Update Readme, Remove unecessary .keep files
1 parent 9b0d513 commit 984bd60

File tree

2 files changed

+44
-7
lines changed

2 files changed

+44
-7
lines changed

README.md

Lines changed: 44 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,12 @@ application is created has been used: [SQlite3](https://www.sqlite.org/).
4848

4949
Simple Red Green Refactor example with Minitest.
5050

51-
See the [string_calculator.rb](string_calculator.rb) file.
51+
###### Test file:
5252

53-
###### Running
53+
* `string_calculator.rb`=> [string_calculator.rb](string_calculator.rb)
54+
55+
56+
##### Running
5457

5558
To run, on the root of the project enter:
5659

@@ -71,11 +74,16 @@ Simple example with RSpec.
7174

7275
See the following files for a better understanding:
7376

77+
###### Spec file:
78+
7479
* `playground_spec.rb`=> [playground_spec.rb](spec/playground_spec.rb)
80+
81+
###### Support files:
82+
7583
* `playground.rb` => [lib/playground.rb](lib/playground.rb)
7684

7785

78-
###### Running
86+
##### Running
7987

8088
To run this spec, on the root of the project enter:
8189

@@ -89,11 +97,16 @@ More complex example with RSpec based on a bowling game.
8997

9098
See the following files for a better understanding:
9199

100+
###### Spec file:
101+
92102
* `bowling_game_spec.rb`=> [bowling_game_spec.rb](spec/bowling_game_spec.rb)
103+
104+
###### Support files:
105+
93106
* `bowling_game.rb` => [lib/bowling_game.rb](lib/bowling_game.rb)
94107

95108

96-
###### Running
109+
##### Running
97110

98111
To run this spec, on the root of the project enter:
99112

@@ -106,7 +119,7 @@ Spec testing the achievement creation
106119

107120
See the following files for a better understanding:
108121

109-
###### Main files:
122+
###### Spec file:
110123

111124
* `create_achievement_spec.rb`=> [spec/create_achievement_spec.rb](spec/create_achievement_spec.rb)
112125

@@ -118,10 +131,34 @@ See the following files for a better understanding:
118131
* `achievements.rb` => [spec/factories/achievements.rb](spec/factories/achievements.rb)
119132
* `users.rb` => [spec/factories/users.rb](spec/factories/users.rb)
120133

121-
###### Running
134+
##### Running
122135

123136
To run this spec, on the root of the project enter:
124137

125138
rspec spec/create_achievement_spec.rb
126139

127-
> This spec is failing, the fail is related with the Third API testing with Twitter.
140+
> This spec is failing, the fail is related with the Third API testing with Twitter.
141+
142+
143+
### Cucumber examples
144+
145+
#### Reading other achievements feature
146+
147+
Example of a feature with Cucumber testing if a guest user can read other achievements.
148+
149+
See the following files for a better understanding:
150+
151+
###### Feature file:
152+
153+
* `achievement_page.feature`=> [features/achievement_page.feature](features/achievement_page.feature)
154+
155+
###### Support file:
156+
* `achievements_steps.rb`=> [features/step_definitions/achievements_steps.rb](features/step_definitions/achievements_steps.rb)
157+
158+
159+
##### Running
160+
161+
To run this feature, on the root of the project enter:
162+
163+
rails cucumber
164+

features/step_definitions/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)