cukedep 0.0.4 → 0.0.5

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTMxMmVkZTNiMjA0ZDM2MjQwZDcyM2QxMzJjZGJkNjFhNDE2NjAwNg==
4
+ YzA2NDcyMDk3YzZkNmY0ZTkxYWM4MjViODhkNmRiNDYyMTM0NjE4Yw==
5
5
  data.tar.gz: !binary |-
6
- OGRlYzE2NDBhYzdkZDg4NWUwZWNkNTEzOTFkYzdiYTdiYmMyYzQ2Nw==
6
+ M2Q5NmI0NzgzMTVhMWFkNmNkN2MwOTM5NDNhZTczMTdlYTFiMTBlMQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZTg5NmEwZGZmNzEwZmM0YTgzODIxYzhjZjliNzg3ZmE5MTQyZmMxYWM2N2Q2
10
- NjVlNTNlOTc3NDk2YWE5N2UwNWRmZDgwMmI1OWNhYWNiMTEzOTUxYzllZTQ5
11
- ZmVjZDljODU0NDg3NzZiMzdkZWIxNzFlYjU1NWY0MjkzYjkwNGM=
9
+ ODM5NjBjZjdkYjE5ZjQ4ZmE0OTQ2ODJlNjMzNWQ1OTU4MTAyOGJjYmI3MmVi
10
+ MzUzZTUwOTY3YjgzNTRlODZmZTMxMTI5NDg2MjE0NWY2YjM2MWFhZWI2MGJj
11
+ YWRhOGVkMWMyMGNhMzFhMTcwNTY2ZTcyN2Y2ZGRhMTVmZjgxY2M=
12
12
  data.tar.gz: !binary |-
13
- NmFmNzRjYTZlMTc3MmQ3OTIwMTE2MTJmYTY1MjA1M2NkODM4Y2Q3ZWQ3ZTZi
14
- MTQ3ZjhmNjBmOWQzZGQzMTRlYzdiZDFhZDJmYTMzNjJhY2VjZjY3MjFlNWU5
15
- ZDkxMDI5OTEwMmRiNzBkYjZiY2ViYWUzZDA4YjAyNzlhMTZlYjA=
13
+ MzM3NmFiNTY1MjNjM2U5MDk0ZmVlM2EyMWNlZTc3MTExNWNmYzJiZDgzZDY0
14
+ MjlhYzdmNTk2NzE2YWVhZWFiNmQwZTQ2YWVmMjRhMTRjYmY1MWQ0ZGIzNTA5
15
+ M2QzYjMzYTY5OTIwYjJmMGExMDg1M2RhOTRkYzk3NTAzYzgwMzU=
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ### 0.0.5 / 2013-10-24
2
+ * [CHANGE] Files `README.md` Added section on how to specify dependencies.
3
+
1
4
  ### 0.0.4 / 2013-10-24
2
5
  * [CHANGE] Files `Gemfile`, `cukedep.gemspec`. Updated dependencies towards other gems.
3
6
 
data/README.md CHANGED
@@ -47,7 +47,7 @@ Stay in that folder and type the following command-line:
47
47
  cukedep --project ../../../sample --dry-run
48
48
  ```
49
49
 
50
- You instructed cukedep to do the following:
50
+ You told cukedep to do the following:
51
51
  * Read (parse) all the feature files in the current dir.
52
52
  * Resolve the dependencies between the feature files (based on Gherkin @tags with a special format).
53
53
  * Generate a number of dependency reports and drawing.
@@ -57,10 +57,40 @@ the project located at the relative path ```../../../sample```
57
57
  To generate all the above files and run the feature files with Cucumber,
58
58
  then retry the command line without the --dry-run option:
59
59
  ```bash
60
- cukedep --project ../../../sample --dry-run
60
+ cukedep --project ../../../sample
61
+ ```
62
+
63
+ Now you see cukedep redoing the same actions as previously but in addition
64
+ it:
65
+ * Copies a feature file from the current directive to the Cucumber-based project
66
+ * Let Cucumber execute the feature file
67
+ * Repeat the two above steps in a sequence that meet the dependencies specified in the feature files.
68
+
69
+
70
+ ### How can I define dependencies? ###
71
+ To define dependencies between feature files, use Gherkin specific tags.
72
+ Suppose that feature `foo` depends on feature `bar`.
73
+ Then the feature file `foo` may begin as follows:
74
+
75
+ ```cucumber
76
+ # The next line names this feature 'foo' and make dependent on 'bar'
77
+ @feature:foo @depends_on:bar
78
+ Feature: Check-in
79
+ As a video rental employee
80
+ I want to register return of rented videos
81
+ So that other members can them too
82
+ ```
83
+
84
+ While feature `bar` may start like this:
85
+ ```cucumber
86
+ # The next line names this feature 'bar'
87
+ @feature:bar
88
+ Feature: Renting videos
89
+ As a video rental employee
90
+ I want to register rentals made by a member
91
+ So I can run my business
61
92
  ```
62
93
 
63
- ### How can I define ###
64
94
 
65
95
 
66
96
  Copyright
@@ -3,7 +3,7 @@
3
3
 
4
4
  module Cukedep # Module used as a namespace
5
5
  # The version number of the gem.
6
- Version = '0.0.4'
6
+ Version = '0.0.5'
7
7
 
8
8
  # Brief description of the gem.
9
9
  Description = 'Manage dependencies between Cucumber feature files'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cukedep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dimitri Geshef