cucumber 2.4.0 → 2.99.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cucumber/rb_support/rb_dsl.rb +5 -0
- data/lib/cucumber/version +1 -1
- data/spec/cucumber/formatter/html_spec.rb +1 -1
- metadata +137 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b563aacb88f892ac6bf48bb659f08a7f87f2675c
|
4
|
+
data.tar.gz: 7ac2888d7273d03b14f95f95c4f986d59b628db0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1509f258488fbedd76f50dc308bba8c2877dc11a2373b4d4a9e00d31534723352c2c03bfd6d8ae5f7a5c19ba1732d53e1feadab46264c11381ce07d9ceafc91b
|
7
|
+
data.tar.gz: ea511d05ced95a863349788293f738b9efb0fb8d1084b07d66d0c4f8bd023d3e93ab36eb55830fc2c9e75f0444b40ac7fdb57522aec01b7e4c09a9285288946e
|
@@ -83,6 +83,11 @@ module Cucumber
|
|
83
83
|
# provided proc. The return value of the proc is consequently yielded to the
|
84
84
|
# step definition.
|
85
85
|
def Transform(regexp, &proc)
|
86
|
+
Cucumber.deprecate(
|
87
|
+
"\n Please follow the upgrade instructions at https://cucumber.io/blog/2017/09/21/upgrading-to-cucumber-3",
|
88
|
+
"Transform",
|
89
|
+
"3.0.0"
|
90
|
+
)
|
86
91
|
RbDsl.register_rb_transform(regexp, proc)
|
87
92
|
end
|
88
93
|
|
data/lib/cucumber/version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.99.0
|
@@ -32,7 +32,7 @@ module Cucumber
|
|
32
32
|
describe "when writing the report to a file" do
|
33
33
|
before(:each) do
|
34
34
|
allow(@out).to receive(:respond_to?).with(:path, false).and_return(true)
|
35
|
-
|
35
|
+
allow(@out).to receive(:respond_to?).with(:path).and_return(true)
|
36
36
|
expect(@out).to receive(:path).and_return('out/file.html')
|
37
37
|
run_defined_feature
|
38
38
|
@doc = Nokogiri.HTML(@out.string)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.99.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aslak Hellesøy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2017-09-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: cucumber-core
|
@@ -858,9 +858,140 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
858
858
|
version: '0'
|
859
859
|
requirements: []
|
860
860
|
rubyforge_project:
|
861
|
-
rubygems_version: 2.
|
861
|
+
rubygems_version: 2.5.1
|
862
862
|
signing_key:
|
863
863
|
specification_version: 4
|
864
|
-
summary: cucumber-2.
|
865
|
-
test_files:
|
866
|
-
|
864
|
+
summary: cucumber-2.99.0
|
865
|
+
test_files:
|
866
|
+
- features/docs/api/list_step_defs_as_json.feature
|
867
|
+
- features/docs/api/listen_for_events.feature
|
868
|
+
- features/docs/api/run_cli_main_with_existing_runtime.feature
|
869
|
+
- features/docs/cli/backtraces.feature
|
870
|
+
- features/docs/cli/dry_run.feature
|
871
|
+
- features/docs/cli/exclude_files.feature
|
872
|
+
- features/docs/cli/execute_with_tag_filter.feature
|
873
|
+
- features/docs/cli/fail_fast.feature
|
874
|
+
- features/docs/cli/finding_steps.feature
|
875
|
+
- features/docs/cli/randomize.feature
|
876
|
+
- features/docs/cli/require.feature
|
877
|
+
- features/docs/cli/retry_failing_tests.feature
|
878
|
+
- features/docs/cli/run_scenarios_matching_name.feature
|
879
|
+
- features/docs/cli/run_specific_scenarios.feature
|
880
|
+
- features/docs/cli/showing_differences.feature
|
881
|
+
- features/docs/cli/specifying_multiple_formatters.feature
|
882
|
+
- features/docs/cli/strict_mode.feature
|
883
|
+
- features/docs/defining_steps/nested_steps.feature
|
884
|
+
- features/docs/defining_steps/nested_steps_i18n.feature
|
885
|
+
- features/docs/defining_steps/nested_steps_with_second_arg.feature
|
886
|
+
- features/docs/defining_steps/one_line_step_definitions.feature
|
887
|
+
- features/docs/defining_steps/printing_messages.feature
|
888
|
+
- features/docs/defining_steps/skip_scenario.feature
|
889
|
+
- features/docs/defining_steps/snippets.feature
|
890
|
+
- features/docs/defining_steps/table_diffing.feature
|
891
|
+
- features/docs/exception_in_after_hook.feature
|
892
|
+
- features/docs/exception_in_after_step_hook.feature
|
893
|
+
- features/docs/exception_in_around_hook.feature
|
894
|
+
- features/docs/exception_in_before_hook.feature
|
895
|
+
- features/docs/extending_cucumber/custom_filter.feature
|
896
|
+
- features/docs/extending_cucumber/custom_formatter.feature
|
897
|
+
- features/docs/formatters/api_methods.feature
|
898
|
+
- features/docs/formatters/debug_formatter.feature
|
899
|
+
- features/docs/formatters/formatter_step_file_colon_line.feature
|
900
|
+
- features/docs/formatters/html_formatter.feature
|
901
|
+
- features/docs/formatters/json_formatter.feature
|
902
|
+
- features/docs/formatters/junit_formatter.feature
|
903
|
+
- features/docs/formatters/pretty_formatter.feature
|
904
|
+
- features/docs/formatters/progress_formatter.feature
|
905
|
+
- features/docs/formatters/rerun_formatter.feature
|
906
|
+
- features/docs/formatters/usage_formatter.feature
|
907
|
+
- features/docs/getting_started.feature
|
908
|
+
- features/docs/gherkin/background.feature
|
909
|
+
- features/docs/gherkin/doc_strings.feature
|
910
|
+
- features/docs/gherkin/expand_option_for_outlines.feature
|
911
|
+
- features/docs/gherkin/language_from_header.feature
|
912
|
+
- features/docs/gherkin/language_help.feature
|
913
|
+
- features/docs/gherkin/outlines.feature
|
914
|
+
- features/docs/gherkin/unicode_table.feature
|
915
|
+
- features/docs/gherkin/using_descriptions.feature
|
916
|
+
- features/docs/gherkin/using_star_notation.feature
|
917
|
+
- features/docs/iso-8859-1.feature
|
918
|
+
- features/docs/post_configuration_hook.feature
|
919
|
+
- features/docs/profiles.feature
|
920
|
+
- features/docs/rake_task.feature
|
921
|
+
- features/docs/raketask.feature
|
922
|
+
- features/docs/work_in_progress.feature
|
923
|
+
- features/docs/writing_support_code/after_hooks.feature
|
924
|
+
- features/docs/writing_support_code/after_step_hooks.feature
|
925
|
+
- features/docs/writing_support_code/around_hooks.feature
|
926
|
+
- features/docs/writing_support_code/before_hook.feature
|
927
|
+
- features/docs/writing_support_code/hook_order.feature
|
928
|
+
- features/docs/writing_support_code/load_path.feature
|
929
|
+
- features/docs/writing_support_code/state.feature
|
930
|
+
- features/docs/writing_support_code/tagged_hooks.feature
|
931
|
+
- features/docs/writing_support_code/transforms.feature
|
932
|
+
- features/lib/step_definitions/aruba_steps.rb
|
933
|
+
- features/lib/step_definitions/cucumber_steps.rb
|
934
|
+
- features/lib/step_definitions/iso-8859-1_steps.rb
|
935
|
+
- features/lib/step_definitions/json_steps.rb
|
936
|
+
- features/lib/step_definitions/junit_steps.rb
|
937
|
+
- features/lib/step_definitions/language_steps.rb
|
938
|
+
- features/lib/step_definitions/profile_steps.rb
|
939
|
+
- features/lib/step_definitions/retry_steps.rb
|
940
|
+
- features/lib/step_definitions/ruby_steps.rb
|
941
|
+
- features/lib/step_definitions/wire_steps.rb
|
942
|
+
- features/lib/support/env.rb
|
943
|
+
- features/lib/support/fake_wire_server.rb
|
944
|
+
- features/lib/support/feature_factory.rb
|
945
|
+
- features/lib/support/normalise_output.rb
|
946
|
+
- spec/cucumber/cli/configuration_spec.rb
|
947
|
+
- spec/cucumber/cli/main_spec.rb
|
948
|
+
- spec/cucumber/cli/options_spec.rb
|
949
|
+
- spec/cucumber/cli/profile_loader_spec.rb
|
950
|
+
- spec/cucumber/cli/rerun_spec.rb
|
951
|
+
- spec/cucumber/configuration_spec.rb
|
952
|
+
- spec/cucumber/constantize_spec.rb
|
953
|
+
- spec/cucumber/core_ext/instance_exec_spec.rb
|
954
|
+
- spec/cucumber/events/bus_spec.rb
|
955
|
+
- spec/cucumber/file_specs_spec.rb
|
956
|
+
- spec/cucumber/filters/activate_steps_spec.rb
|
957
|
+
- spec/cucumber/filters/gated_receiver_spec.rb
|
958
|
+
- spec/cucumber/filters/retry_spec.rb
|
959
|
+
- spec/cucumber/filters/tag_limits/test_case_index_spec.rb
|
960
|
+
- spec/cucumber/filters/tag_limits/verifier_spec.rb
|
961
|
+
- spec/cucumber/filters/tag_limits_spec.rb
|
962
|
+
- spec/cucumber/formatter/ansicolor_spec.rb
|
963
|
+
- spec/cucumber/formatter/debug_spec.rb
|
964
|
+
- spec/cucumber/formatter/duration_spec.rb
|
965
|
+
- spec/cucumber/formatter/event_bus_report_spec.rb
|
966
|
+
- spec/cucumber/formatter/fail_fast_spec.rb
|
967
|
+
- spec/cucumber/formatter/html_spec.rb
|
968
|
+
- spec/cucumber/formatter/interceptor_spec.rb
|
969
|
+
- spec/cucumber/formatter/json_spec.rb
|
970
|
+
- spec/cucumber/formatter/junit_spec.rb
|
971
|
+
- spec/cucumber/formatter/legacy_api/adapter_spec.rb
|
972
|
+
- spec/cucumber/formatter/pretty_spec.rb
|
973
|
+
- spec/cucumber/formatter/progress_spec.rb
|
974
|
+
- spec/cucumber/formatter/rerun_spec.rb
|
975
|
+
- spec/cucumber/formatter/spec_helper.rb
|
976
|
+
- spec/cucumber/hooks_spec.rb
|
977
|
+
- spec/cucumber/multiline_argument/data_table_spec.rb
|
978
|
+
- spec/cucumber/project_initializer_spec.rb
|
979
|
+
- spec/cucumber/rake/forked_spec.rb
|
980
|
+
- spec/cucumber/rake/task_spec.rb
|
981
|
+
- spec/cucumber/rb_support/rb_language_spec.rb
|
982
|
+
- spec/cucumber/rb_support/rb_step_definition_spec.rb
|
983
|
+
- spec/cucumber/rb_support/rb_transform_spec.rb
|
984
|
+
- spec/cucumber/rb_support/rb_world_spec.rb
|
985
|
+
- spec/cucumber/rb_support/snippet_spec.rb
|
986
|
+
- spec/cucumber/running_test_case_spec.rb
|
987
|
+
- spec/cucumber/runtime/for_programming_languages_spec.rb
|
988
|
+
- spec/cucumber/runtime/support_code_spec.rb
|
989
|
+
- spec/cucumber/runtime_spec.rb
|
990
|
+
- spec/cucumber/sell_cucumbers.feature
|
991
|
+
- spec/cucumber/step_argument_spec.rb
|
992
|
+
- spec/cucumber/step_match_search_spec.rb
|
993
|
+
- spec/cucumber/step_match_spec.rb
|
994
|
+
- spec/cucumber/world/pending_spec.rb
|
995
|
+
- spec/cucumber_spec.rb
|
996
|
+
- spec/spec_helper.rb
|
997
|
+
- spec/support/standard_step_actions.rb
|