defmastership 1.0.18 → 1.0.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.gitlab-ci.yml +15 -1
  4. data/Gemfile +27 -7
  5. data/Guardfile +44 -0
  6. data/config/cucumber.yml +3 -0
  7. data/config/mutant.yml +4 -0
  8. data/config/reek.yml +129 -105
  9. data/config/rubocop.yml +72 -28
  10. data/defmastership.gemspec +5 -3
  11. data/features/changeref.feature +0 -8
  12. data/features/definition_checksum.feature +0 -10
  13. data/features/definition_version.feature +168 -10
  14. data/features/export.feature +23 -18
  15. data/features/modify.feature +1 -5
  16. data/features/rename_included_files.feature +0 -5
  17. data/features/step_definitions/git_steps.rb +19 -0
  18. data/lib/defmastership/constants.rb +5 -3
  19. data/lib/defmastership/definition.rb +2 -2
  20. data/lib/defmastership/document.rb +6 -14
  21. data/lib/defmastership/update_def_modifier.rb +1 -1
  22. data/lib/defmastership/update_def_version_modifier.rb +30 -5
  23. data/lib/defmastership/version.rb +1 -1
  24. data/spec/unit/def_mastership/batch_modifier_spec.rb +2 -0
  25. data/spec/unit/def_mastership/modifier_factory_spec.rb +1 -0
  26. data/spec/unit/def_mastership/modifier_spec.rb +8 -6
  27. data/spec/unit/def_mastership/update_def_modifier_spec.rb +2 -0
  28. data/spec/unit/def_mastership/update_def_version_modifier_spec.rb +225 -33
  29. data/tasks/code_quality.rake +74 -0
  30. data/tasks/test.rake +6 -21
  31. metadata +36 -11
  32. data/.rubocop.yml +0 -76
  33. data/config/devtools.yml +0 -2
  34. data/config/flay.yml +0 -3
  35. data/config/flog.yml +0 -2
  36. data/config/yardstick.yml +0 -2
  37. data/cucumber.yml +0 -2
  38. data/tasks/smelling_code.rake +0 -38
  39. /data/{.rspec → config/rspec} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 995e93909012fff3a4dcbeb55605d6e8754e24c3868f63d3000ed1c6674809c7
4
- data.tar.gz: 94ae5225d555eb837017ebe243a69bfec21feb0882d14a3329b48f2b016c1ba2
3
+ metadata.gz: 6075e9ff9eb3bb1d4080344f8288946ed3ae008c0ef7c943e558417ac1922084
4
+ data.tar.gz: 2707d0ef2c7ac04eb6fb5ff07362584243c3f8d7661a9e7f617d8239b79d162d
5
5
  SHA512:
6
- metadata.gz: 48169bb5cfc6bea00209d60619cace40a45471e2ff6c2b2543cd8846ca001daac2e6a865c18cf20b95ed5e6102b36328302d91b577a69952acf7e3bc0d79c209
7
- data.tar.gz: 00265e2ed2fc50f527ffba937dd2dae5d3d9f2189c2ada4b451f2504dbfdb96efffa73e1b8e18981055ea43c45458bc9df93479630ec014f2e9ec7b8bafd5cc5
6
+ metadata.gz: 6670fef12836200db63e7bff8eec4afd5dad49e53a1d873b84816572933ca7fee2364076691f4e55d7858e3a49398b34d601f1c1ba6a7f05b9a8628b393acc03
7
+ data.tar.gz: e0169b605d73381d402c932cdd6387cb06cca5287364735c4a95c5fe5087845a24b4bc62018a87676510520db5ea6d656b4e1a9cb2e8586b772f6c0deae7f87f
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ *~
1
2
  /*_results.html
2
3
  /tmp
3
4
  /coverage
data/.gitlab-ci.yml CHANGED
@@ -1,11 +1,13 @@
1
1
  default:
2
- image: ruby:3.2
2
+ image: ruby:3.3
3
3
  before_script:
4
4
  - apt-get update
5
5
  - ruby -v
6
6
  - which ruby
7
7
  - gem install bundler --no-document
8
8
  - bundle install --jobs $(nproc) "${FLAGS[@]}"
9
+ - git config --global user.email "you@example.com"
10
+ - git config --global user.name "Your Name"
9
11
 
10
12
  bdd:
11
13
  script:
@@ -27,6 +29,8 @@ bdd ruby2.7:
27
29
  - which ruby
28
30
  - gem install bundler -v 2.4.22 --no-document
29
31
  - bundle install --jobs $(nproc) "${FLAGS[@]}"
32
+ - git config --global user.email "you@example.com"
33
+ - git config --global user.name "Your Name"
30
34
  script:
31
35
  - bundle exec rake test:features
32
36
 
@@ -40,6 +44,11 @@ bdd ruby3.1:
40
44
  script:
41
45
  - bundle exec rake test:features
42
46
 
47
+ bdd ruby3.2:
48
+ image: ruby:3.2
49
+ script:
50
+ - bundle exec rake test:features
51
+
43
52
  unit tests ruby2.7:
44
53
  image: ruby:2.7
45
54
  before_script:
@@ -61,3 +70,8 @@ unit tests ruby3.1:
61
70
  script:
62
71
  - bundle exec rake test:spec
63
72
 
73
+ unit tests ruby3.2:
74
+ image: ruby:3.2
75
+ script:
76
+ - bundle exec rake test:spec
77
+
data/Gemfile CHANGED
@@ -7,11 +7,28 @@ gemspec
7
7
 
8
8
  ruby RUBY_VERSION
9
9
 
10
+ # rubocop:disable Metrics/BlockLength
10
11
  group :development do
11
12
  # cucumber steps for command line tests
12
13
  gem 'aruba', '~> 2.2'
13
14
  # bdd
14
- gem 'cucumber', '~> 9.1'
15
+ gem 'cucumber', '~> 9.2'
16
+
17
+ # code duplication
18
+ gem 'flay', '~> 2'
19
+
20
+ # automatic test run
21
+ gem 'guard', '~> 2'
22
+ # automatic update invocation
23
+ gem 'guard-bundler', '~> 3'
24
+ if RUBY_VERSION >= '3.0'
25
+ # automatic style check
26
+ gem 'guard-reek', '~> 1.2'
27
+ end
28
+ # automatic tdd
29
+ gem 'guard-rspec', '~> 4'
30
+ # automatic style check
31
+ gem 'guard-rubocop', '~> 1'
15
32
 
16
33
  if RUBY_VERSION >= '3.0'
17
34
  # mutation testing
@@ -24,7 +41,6 @@ group :development do
24
41
  # mutation testing
25
42
  gem 'mutant-rspec', '~> 0.11'
26
43
  end
27
-
28
44
  # to parse and execute Rakefile
29
45
  gem 'rake', '~> 13.1'
30
46
  # tdd
@@ -32,24 +48,28 @@ group :development do
32
48
  # # to test performances
33
49
  # gem 'rspec-benchmark', '~> 0.6.0'
34
50
  # code needs to be clean
35
- gem 'rubocop', '~> 1.62.0'
51
+ gem 'rubocop', '~> 1.65'
36
52
  # code needs to be clean
37
- gem 'rubocop-performance', '~> 1.20.0'
53
+ gem 'rubocop-performance', '~> 1.21'
38
54
  # test code needs to be clean
39
- gem 'rubocop-rspec', '~> 2.27.0'
40
- # Rakefiels need to be clean
55
+ gem 'rubocop-rspec', '~> 3.0'
56
+ # Rakefiles need to be clean
41
57
  gem 'rubocop-rake', '~> 0.6'
42
58
  if RUBY_VERSION >= '3.0'
43
59
  # detect selling code
44
60
  gem 'reek', '~> 6.3'
61
+ # my code needs to be critiqued
62
+ gem 'rubycritic', '~> 4'
45
63
  end
64
+
46
65
  # What is tdd without code coverage ?
47
66
  gem 'simplecov', '~> 0.22', '< 0.23'
48
67
  # # to document code
49
68
  # gem 'yard', '~> 0.9.5'
50
69
  end
70
+ # rubocop:enable Metrics/BlockLength
51
71
 
52
72
  group :debugging do
53
73
  # Sometimes, we need to debug
54
- gem 'pry', '~> 0.14.0'
74
+ gem 'pry', '~> 0.14'
55
75
  end
data/Guardfile ADDED
@@ -0,0 +1,44 @@
1
+ # Copyright (c) 2024 Jerome Arbez-Gindre
2
+ # frozen_string_literal: true
3
+
4
+ # notifications :emacs
5
+
6
+ guard :bundler do
7
+ require 'guard/bundler'
8
+ require 'guard/bundler/verify'
9
+ helper = Guard::Bundler::Verify.new
10
+
11
+ files = ['Gemfile']
12
+ files += Dir['*.gemspec'] if files.any? { |f| helper.uses_gemspec?(f) }
13
+
14
+ # Assume files are symlinked from somewhere
15
+ files.each { |file| watch(helper.real_path(file)) }
16
+ end
17
+
18
+ guard :rspec, cmd: 'bundle exec rspec --options config/rspec' do
19
+ require 'guard/rspec/dsl'
20
+ dsl = Guard::RSpec::Dsl.new(self)
21
+
22
+ # RSpec files
23
+ rspec = dsl.rspec
24
+ watch(rspec.spec_helper) { rspec.spec_dir }
25
+ watch(rspec.spec_support) { rspec.spec_dir }
26
+ watch(rspec.spec_files)
27
+
28
+ # Ruby files
29
+ ruby = dsl.ruby
30
+ dsl.watch_spec_files_for(ruby.lib_files)
31
+ end
32
+
33
+ guard :rubocop,
34
+ all_on_start: true,
35
+ cli: ['--display-cop-names', '--config=config/rubocop.yml'] do
36
+ watch(/.+\.rb$/)
37
+ watch(%r{(?:.+/)?\.rubocop(?:_todo)?\.yml$}) { |m| File.dirname(m.first) }
38
+ end
39
+
40
+ guard :reek,
41
+ cli: ['--config config/reek.yml', '--single-line'] do
42
+ watch(/.+\.rb$/)
43
+ watch('config/reek.yml')
44
+ end
@@ -0,0 +1,3 @@
1
+ ---
2
+ default: features --publish-quiet --format html -o features_results.html --format progress -x
3
+ wip: features --publish-quiet --format pretty -x -s --tags '@wip and not @pending'
data/config/mutant.yml CHANGED
@@ -1,8 +1,12 @@
1
1
  ---
2
+ usage: opensource
2
3
  includes:
3
4
  - lib
4
5
  integration:
5
6
  name: rspec
7
+ arguments:
8
+ - --options=config/rspec
9
+ - spec
6
10
  requires:
7
11
  - defmastership
8
12
  matcher:
data/config/reek.yml CHANGED
@@ -1,106 +1,130 @@
1
1
  ---
2
- detectors:
3
- Attribute:
4
- enabled: false
5
- exclude: []
6
- BooleanParameter:
7
- enabled: true
8
- exclude: []
9
- ClassVariable:
10
- enabled: true
11
- exclude: []
12
- ControlParameter:
13
- enabled: true
14
- exclude: []
15
- DataClump:
16
- enabled: true
17
- exclude: []
18
- max_copies: 0
19
- min_clump_size: 2
20
- DuplicateMethodCall:
21
- enabled: true
22
- exclude: []
23
- max_calls: 1
24
- allow_calls: []
25
- FeatureEnvy:
26
- enabled: true
27
- exclude: []
28
- IrresponsibleModule:
29
- enabled: true
30
- exclude: []
31
- LongParameterList:
32
- enabled: true
33
- exclude:
34
- - Devtools::Config#self.attribute
35
- max_params: 2
36
- overrides: {}
37
- LongYieldList:
38
- enabled: true
39
- exclude: []
40
- max_params: 0
41
- NestedIterators:
42
- enabled: true
43
- exclude: []
44
- max_allowed_nesting: 1
45
- ignore_iterators: []
46
- NilCheck:
47
- enabled: true
48
- exclude: []
49
- RepeatedConditional:
50
- enabled: true
51
- exclude: []
52
- max_ifs: 1
53
- TooManyConstants:
54
- enabled: true
55
- exclude:
56
- - Devtools
57
- TooManyInstanceVariables:
58
- enabled: true
59
- exclude: []
60
- max_instance_variables: 2
61
- TooManyMethods:
62
- enabled: true
63
- exclude: []
64
- max_methods: 15
65
- TooManyStatements:
66
- enabled: true
67
- exclude: []
68
- max_statements: 5
69
- UncommunicativeMethodName:
70
- enabled: true
71
- exclude: []
72
- reject:
73
- - '/^[a-z]$/'
74
- - '/[0-9]$/'
75
- - '/[A-Z]/'
76
- accept: []
77
- UncommunicativeModuleName:
78
- enabled: true
79
- exclude: []
80
- reject:
81
- - '/^.$/'
82
- - '/[0-9]$/'
83
- accept: []
84
- UncommunicativeParameterName:
85
- enabled: true
86
- exclude: []
87
- reject:
88
- - '/^.$/'
89
- - '/[0-9]$/'
90
- - '/[A-Z]/'
91
- accept: []
92
- UncommunicativeVariableName:
93
- enabled: true
94
- exclude: []
95
- reject:
96
- - '/^.$/'
97
- - '/[0-9]$/'
98
- - '/[A-Z]/'
99
- accept: []
100
- UnusedParameters:
101
- enabled: true
102
- exclude: []
103
- UtilityFunction:
104
- enabled: true
105
- exclude:
106
- - Devtools::Project::Initializer::Rspec#require_files # intentional for deduplication
2
+ # detectors:
3
+ # Attribute:
4
+ # enabled: true
5
+ # exclude: []
6
+ # BooleanParameter:
7
+ # enabled: true
8
+ # exclude: []
9
+ # ClassVariable:
10
+ # enabled: true
11
+ # exclude: []
12
+ # ControlParameter:
13
+ # enabled: true
14
+ # exclude: []
15
+ # DataClump:
16
+ # enabled: true
17
+ # exclude: []
18
+ # max_copies: 2
19
+ # min_clump_size: 2
20
+ # DuplicateMethodCall:
21
+ # enabled: true
22
+ # exclude: []
23
+ # max_calls: 1
24
+ # allow_calls: []
25
+ # FeatureEnvy:
26
+ # enabled: true
27
+ # exclude: []
28
+ # InstanceVariableAssumption:
29
+ # enabled: true
30
+ # exclude: []
31
+ # IrresponsibleModule:
32
+ # enabled: true
33
+ # exclude: []
34
+ # LongParameterList:
35
+ # enabled: true
36
+ # exclude: []
37
+ # max_params: 3
38
+ # overrides:
39
+ # initialize:
40
+ # max_params: 5
41
+ # LongYieldList:
42
+ # enabled: true
43
+ # exclude: []
44
+ # max_params: 3
45
+ # ManualDispatch:
46
+ # enabled: true
47
+ # exclude: []
48
+ # MissingSafeMethod:
49
+ # enabled: true
50
+ # exclude: []
51
+ # ModuleInitialize:
52
+ # enabled: true
53
+ # exclude: []
54
+ # NestedIterators:
55
+ # enabled: true
56
+ # exclude: []
57
+ # max_allowed_nesting: 1
58
+ # ignore_iterators:
59
+ # - tap
60
+ # - Tempfile.create
61
+ # NilCheck:
62
+ # enabled: true
63
+ # exclude: []
64
+ # RepeatedConditional:
65
+ # enabled: true
66
+ # exclude: []
67
+ # max_ifs: 2
68
+ # SubclassedFromCoreClass:
69
+ # enabled: true
70
+ # exclude: []
71
+ # TooManyConstants:
72
+ # enabled: true
73
+ # exclude: []
74
+ # max_constants: 5
75
+ # TooManyInstanceVariables:
76
+ # enabled: true
77
+ # exclude: []
78
+ # max_instance_variables: 4
79
+ # TooManyMethods:
80
+ # enabled: true
81
+ # exclude: []
82
+ # max_methods: 15
83
+ # TooManyStatements:
84
+ # enabled: true
85
+ # exclude:
86
+ # - initialize
87
+ # max_statements: 5
88
+ # UncommunicativeMethodName:
89
+ # enabled: true
90
+ # exclude: []
91
+ # reject:
92
+ # - "/^[a-z]$/"
93
+ # - "/[0-9]$/"
94
+ # - "/[A-Z]/"
95
+ # accept: []
96
+ # UncommunicativeModuleName:
97
+ # enabled: true
98
+ # exclude: []
99
+ # reject:
100
+ # - "/^.$/"
101
+ # - "/[0-9]$/"
102
+ # accept: []
103
+ # UncommunicativeParameterName:
104
+ # enabled: true
105
+ # exclude: []
106
+ # reject:
107
+ # - "/^.$/"
108
+ # - "/[0-9]$/"
109
+ # - "/[A-Z]/"
110
+ # - "/^_/"
111
+ # accept: []
112
+ # UncommunicativeVariableName:
113
+ # enabled: true
114
+ # exclude: []
115
+ # reject:
116
+ # - "/^.$/"
117
+ # - "/[0-9]$/"
118
+ # - "/[A-Z]/"
119
+ # accept:
120
+ # - "/^_$/"
121
+ # UnusedParameters:
122
+ # enabled: true
123
+ # exclude: []
124
+ # UnusedPrivateMethod:
125
+ # enabled: false
126
+ # exclude: []
127
+ # UtilityFunction:
128
+ # enabled: true
129
+ # exclude: []
130
+ # public_methods_only: false
data/config/rubocop.yml CHANGED
@@ -1,44 +1,88 @@
1
- inherit_from: ../.rubocop.yml
1
+ # The behavior of RuboCop can be controlled via the .rubocop.yml
2
+ # configuration file. It makes it possible to enable/disable
3
+ # certain cops (checks) and to alter their behavior if they accept
4
+ # any parameters. The file can be placed either in your home
5
+ # directory or in some project directory.
6
+ #
7
+ # RuboCop will start looking for the configuration file in the directory
8
+ # where the inspected file is and continue its way up to the root directory.
9
+ #
10
+ # See https://github.com/rubocop-hq/rubocop/blob/master/manual/configuration.md
2
11
 
3
12
  require:
13
+ - rubocop-performance
4
14
  - rubocop-rspec
15
+ - rubocop-rake
5
16
 
6
17
  AllCops:
7
- TargetRubyVersion: 2.5.0
18
+ TargetRubyVersion: 2.7
19
+ EnabledByDefault: true
20
+ DisplayCopNames: true
8
21
 
9
- Metrics/BlockLength:
22
+ Style/Copyright:
23
+ Enabled: true
24
+ Notice: 'Copyright (\(c\) )?202[0-9] Jerome Arbez-Gindre'
25
+ AutocorrectNotice: '# Copyright (c) 2023 Jerome Arbez-Gindre'
26
+
27
+ Lint/ConstantResolution: # Not available ins rubocop 0.81
28
+ Enabled: false
29
+
30
+ Style/DocumentationMethod:
31
+ Enabled: false
32
+
33
+ Style/StringHashKeys :
34
+ Enabled: true
35
+ Exclude:
36
+ - '*.gemspec'
37
+ - 'spec/unit/def_mastership/batch_modifier_spec.rb'
38
+ - 'spec/unit/def_mastership/update_def_checksum_modifier_spec.rb'
39
+ - 'spec/unit/def_mastership/update_def_modifier_spec.rb'
40
+ - 'spec/unit/def_mastership/update_def_version_modifier_spec.rb'
41
+
42
+ Style/MissingElse:
43
+ EnforcedStyle: case
44
+
45
+ Metrics/ModuleLength :
10
46
  Exclude:
11
- # Ignore RSpec DSL
12
- - spec/**/*
13
- # Ignore gemspec DSL
47
+ - 'spec/**/*'
48
+
49
+ Metrics/BlockLength :
50
+ Exclude:
51
+ - 'spec/**/*'
14
52
  - '*.gemspec'
15
53
 
16
- # Naming/FileName:
17
- # Exclude:
18
- # - Rakefile
54
+ Security/Eval :
55
+ Exclude:
56
+ - 'Rakefile'
57
+
58
+ Style/ConstantVisibility :
59
+ Exclude:
60
+ # there is one unique explicit constant visibility for all
61
+ # constants
62
+ - 'lib/defmastership/constants.rb'
63
+
64
+ # rubocop-rspec options
65
+ RSpec/MessageExpectation :
66
+ Enabled: true
67
+
68
+ RSpec/SpecFilePathFormat :
69
+ Enabled: true
19
70
 
20
- # Avoid more than `Max` levels of nesting.
21
- BlockNesting:
22
- Max: 3
71
+ RSpec/SpecFilePathSuffix :
72
+ Enabled: true
23
73
 
24
- # Align with the style guide.
25
- CollectionMethods:
26
- PreferredMethods:
27
- collect: 'map'
28
- inject: 'reduce'
29
- find: 'detect'
30
- find_all: 'sélect'
74
+ RSpec/NestedGroups:
75
+ Max: 4
31
76
 
32
- # Prefer #kind_of? over #is_a?
33
- ClassCheck:
34
- EnforcedStyle: kind_of?
77
+ Layout/RedundantLineBreak:
78
+ Enabled: false
35
79
 
36
- Security/Eval:
80
+ Style/DisableCopsWithinSourceCodeDirective:
81
+ Enabled: true
37
82
  Exclude:
38
- - Rakefile
83
+ - 'Gemfile'
84
+ - 'tasks/code_quality.rake'
39
85
 
40
- AlignHash:
41
- EnforcedColonStyle: table
86
+ Layout/EndOfLine:
87
+ EnforcedStyle: lf
42
88
 
43
- MessageSpies:
44
- EnforcedStyle: receive
@@ -33,7 +33,9 @@ Gem::Specification.new do |spec|
33
33
  spec.rdoc_options << '--title defmastership' << '--main README.rdoc' << '-ri'
34
34
  spec.bindir = 'bin'
35
35
  spec.executables << 'defmastership'
36
- spec.add_runtime_dependency('aasm', '~> 5')
37
- spec.add_runtime_dependency('asciidoctor', '~> 2')
38
- spec.add_runtime_dependency('gli', '~> 2')
36
+ spec.add_dependency('aasm', '~> 5')
37
+ spec.add_dependency('asciidoctor', '~> 2')
38
+ spec.add_dependency('csv', '~> 3')
39
+ spec.add_dependency('git', '~> 1')
40
+ spec.add_dependency('gli', '~> 2')
39
41
  end
@@ -20,7 +20,6 @@ Feature: The changeref command
20
20
  """
21
21
  When I successfully run `defmastership modify --modifications toto thedoc.adoc`
22
22
  Then the stdout should not contain anything
23
- And the stderr should not contain anything
24
23
  And the file "modifications.yml" should contain:
25
24
  """
26
25
  ---
@@ -53,7 +52,6 @@ Feature: The changeref command
53
52
  """
54
53
  When I successfully run `defmastership modify --modifications toto thedoc.adoc`
55
54
  Then the stdout should not contain anything
56
- And the stderr should not contain anything
57
55
  And the file "modifications.yml" should contain:
58
56
  """
59
57
  ---
@@ -87,7 +85,6 @@ Feature: The changeref command
87
85
  """
88
86
  When I successfully run `defmastership modify --modifications toto thedoc.adoc`
89
87
  Then the stdout should not contain anything
90
- And the stderr should not contain anything
91
88
  And the file "modifications.yml" should contain:
92
89
  """
93
90
  ---
@@ -122,7 +119,6 @@ Feature: The changeref command
122
119
  """
123
120
  When I successfully run `defmastership modify --modifications tata_or_titi thedoc.adoc`
124
121
  Then the stdout should not contain anything
125
- And the stderr should not contain anything
126
122
  And the file "modifications.yml" should contain:
127
123
  """
128
124
  ---
@@ -160,7 +156,6 @@ Feature: The changeref command
160
156
  """
161
157
  When I successfully run `defmastership modify --modifications toto thedoc.adoc thedoc2.adoc`
162
158
  Then the stdout should not contain anything
163
- And the stderr should not contain anything
164
159
  And the file "modifications.yml" should contain:
165
160
  """
166
161
  ---
@@ -200,7 +195,6 @@ Feature: The changeref command
200
195
  """
201
196
  When I successfully run `defmastership modify --modifications toto thedoc.adoc`
202
197
  Then the stdout should not contain anything
203
- And the stderr should not contain anything
204
198
  And the file "thedoc.adoc" should contain:
205
199
  """
206
200
  [define, requirement, TOTO-0123]
@@ -232,7 +226,6 @@ Feature: The changeref command
232
226
  """
233
227
  When I successfully run `defmastership modify --modifications toto thedoc.adoc thedoc2.adoc`
234
228
  Then the stdout should not contain anything
235
- And the stderr should not contain anything
236
229
  And the file "thedoc.adoc" should contain:
237
230
  """
238
231
  [define, requirement, TOTO-0123]
@@ -263,7 +256,6 @@ Feature: The changeref command
263
256
  """
264
257
  When I successfully run `defmastership modify --modifications toto thedoc.adoc`
265
258
  Then the stdout should not contain anything
266
- And the stderr should not contain anything
267
259
  And the file "modifications.yml" should contain:
268
260
  """
269
261
  ---