earth 0.11.18 → 0.11.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. data/DEVELOPERS.markdown +19 -0
  2. data/Rakefile +2 -25
  3. data/errata/electricity/electric_market/nrel_errata.csv +1 -0
  4. data/errata/electricity/electric_utility/eia_errata.csv +1 -0
  5. data/lib/earth.rb +3 -1
  6. data/lib/earth/air/flight_segment.rb +1 -0
  7. data/lib/earth/air/flight_segment/data_miner.rb +1 -2
  8. data/lib/earth/electricity.rb +3 -0
  9. data/lib/earth/electricity/electric_market.rb +12 -0
  10. data/lib/earth/electricity/electric_market/data_miner.rb +21 -0
  11. data/lib/earth/electricity/electric_utility.rb +24 -0
  12. data/lib/earth/electricity/electric_utility/data_miner.rb +26 -0
  13. data/lib/earth/electricity/green_button_adoption.rb +20 -0
  14. data/lib/earth/electricity/green_button_adoption/data_miner.rb +19 -0
  15. data/lib/earth/locality/zip_code.rb +2 -0
  16. data/lib/earth/rail/national_transit_database_company.rb +3 -2
  17. data/lib/earth/residence/residential_energy_consumption_survey_response/data_miner.rb +1 -1
  18. data/lib/earth/version.rb +1 -1
  19. data/spec/earth/air/aircraft_spec.rb +6 -5
  20. data/spec/earth/air/airport_spec.rb +5 -6
  21. data/spec/earth/air/bts_aircraft_spec.rb +7 -6
  22. data/spec/earth/air/flight_distance_class_spec.rb +5 -6
  23. data/spec/earth/air/flight_segment_spec.rb +5 -6
  24. data/spec/earth/automobile/automobile_fuel_spec.rb +11 -4
  25. data/spec/earth/automobile/automobile_make_model_year_variant_spec.rb +1 -5
  26. data/spec/earth/automobile/automobile_make_year_fleet_spec.rb +5 -6
  27. data/spec/earth/automobile/automobile_type_fuel_year_age_spec.rb +14 -8
  28. data/spec/earth/bus/bus_fuel_control_spec.rb +13 -6
  29. data/spec/earth/bus/bus_fuel_spec.rb +23 -0
  30. data/spec/earth/bus/bus_fuel_year_control_spec.rb +16 -9
  31. data/spec/earth/electricity/electric_market_spec.rb +25 -0
  32. data/spec/earth/electricity/electric_utility_spec.rb +54 -0
  33. data/spec/earth/electricity/green_button_adoption_spec.rb +26 -0
  34. data/spec/earth/fuel/fuel_spec.rb +9 -9
  35. data/spec/earth/hospitality/commercial_building_energy_consumption_survey_response_spec.rb +4 -6
  36. data/spec/earth/hospitality/country_lodging_class_spec.rb +5 -6
  37. data/spec/earth/industry/industry_spec.rb +6 -5
  38. data/spec/earth/industry/mecs_energy_spec.rb +4 -4
  39. data/spec/earth/industry/mecs_ratio_spec.rb +4 -4
  40. data/spec/earth/industry/naics_2002_naics_2007_concordance_spec.rb +6 -5
  41. data/spec/earth/industry/naics_2002_sic_1987_concordance_spec.rb +6 -5
  42. data/spec/earth/industry/naics_2002_spec.rb +6 -5
  43. data/spec/earth/industry/naics_2007_spec.rb +6 -5
  44. data/spec/earth/industry/sic_1987_spec.rb +4 -6
  45. data/spec/earth/locality/country_spec.rb +4 -6
  46. data/spec/earth/locality/state_spec.rb +4 -6
  47. data/spec/earth/locality/zip_code_spec.rb +4 -6
  48. data/spec/earth/pet/species_spec.rb +1 -1
  49. data/spec/spec_helper.rb +2 -0
  50. metadata +216 -361
  51. data/features/automobile_fuel.feature +0 -144
  52. data/features/automobile_make.feature +0 -24
  53. data/features/automobile_make_model.feature +0 -24
  54. data/features/automobile_make_model_year.feature +0 -34
  55. data/features/automobile_make_year.feature +0 -34
  56. data/features/automobile_size_class.feature +0 -59
  57. data/features/automobile_size_class_year.feature +0 -34
  58. data/features/automobile_type_fuel_control.feature +0 -34
  59. data/features/automobile_type_fuel_year.feature +0 -124
  60. data/features/automobile_type_fuel_year_age.feature +0 -94
  61. data/features/automobile_type_fuel_year_control.feature +0 -74
  62. data/features/automobile_type_year.feature +0 -64
  63. data/features/bus_class.feature +0 -39
  64. data/features/bus_fuel.feature +0 -114
  65. data/features/carrier.feature +0 -64
  66. data/features/carrier_mode.feature +0 -64
  67. data/features/computation_carrier.feature +0 -14
  68. data/features/computation_carrier_instance_class.feature +0 -24
  69. data/features/egrid_region.feature +0 -20
  70. data/features/egrid_subregion.feature +0 -134
  71. data/features/fuel_year.feature +0 -54
  72. data/features/greenhouse_gas.feature +0 -44
  73. data/features/rail_class.feature +0 -64
  74. data/features/shipment_mode.feature +0 -34
  75. data/features/step_definitions/data_steps.rb +0 -35
  76. data/features/support/env.rb +0 -19
  77. data/spec/earth/bus/bus_class_spec.rb +0 -14
@@ -1,144 +0,0 @@
1
- # Feature: Data import for AutomobileFuel
2
- # As a data user
3
- # I want to import AutomobileFuel data
4
- # So that I can perform fuel-based calculations
5
- #
6
- # Scenario: Successfully verifying that base fuel name is never missing
7
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_good"
8
- # When a data import verifies "Base fuel name should never be missing"
9
- # Then the verification should be successful
10
- #
11
- # Scenario: Successfully verifying that distance key is never missing
12
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_good"
13
- # When a data import verifies "Distance key should never be missing"
14
- # Then the verification should be successful
15
- #
16
- # Scenario: Successfully verifying that ef key is never missing
17
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_good"
18
- # When a data import verifies "Ef key should never be missing"
19
- # Then the verification should be successful
20
- #
21
- # Scenario: Successfully verifying that blend portion is from 0 to 1 if present
22
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_good"
23
- # When a data import verifies "Blend portion should be from 0 to 1 if present"
24
- # Then the verification should be successful
25
- #
26
- # Scenario: Successfully verifying that co2 emission factor is 0 or more
27
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_good"
28
- # When a data import verifies "Co2 emission factor should be 0 or more"
29
- # Then the verification should be successful
30
- #
31
- # Scenario: Successfully verifying that co2 biogenic emission factor is 0 or more
32
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_good"
33
- # When a data import verifies "Co2 biogenic emission factor should be 0 or more"
34
- # Then the verification should be successful
35
- #
36
- # Scenario: Successfully verifying that ch4 emission factor is > 0
37
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_good"
38
- # When a data import verifies "Ch4 emission factor should be > 0"
39
- # Then the verification should be successful
40
- #
41
- # Scenario: Successfully verifying that n2o emission factor is > 0
42
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_good"
43
- # When a data import verifies "N2o emission factor should be > 0"
44
- # Then the verification should be successful
45
- #
46
- # Scenario: Successfully verifying that hfc emission factor is > 0
47
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_good"
48
- # When a data import verifies "Hfc emission factor should be > 0"
49
- # Then the verification should be successful
50
- #
51
- # Scenario: Successfully verifying that co2 emission factor units are kilograms per litre
52
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_good"
53
- # When a data import verifies "Co2 emission factor units should be kilograms per litre"
54
- # Then the verification should be successful
55
- #
56
- # Scenario: Successfully verifying that co2 biogenic emission factor units are kilograms per litre
57
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_good"
58
- # When a data import verifies "Co2 biogenic emission factor units should be kilograms per litre"
59
- # Then the verification should be successful
60
- #
61
- # Scenario: Successfully verifying that ch4 emission factor units are kilograms per litre
62
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_good"
63
- # When a data import verifies "Ch4 emission factor units should be kilograms co2e per litre"
64
- # Then the verification should be successful
65
- #
66
- # Scenario: Successfully verifying that n2o emission factor units are kilograms per litre
67
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_good"
68
- # When a data import verifies "N2o emission factor units should be kilograms co2e per litre"
69
- # Then the verification should be successful
70
- #
71
- # Scenario: Successfully verifying that hfc emission factor units are kilograms per litre
72
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_good"
73
- # When a data import verifies "Hfc emission factor units should be kilograms co2e per litre"
74
- # Then the verification should be successful
75
- #
76
- # Scenario: Failing to verify that base fuel name is never missing
77
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_bad"
78
- # When a data import verifies "Base fuel name should never be missing"
79
- # Then the verification should not be successful
80
- #
81
- # Scenario: Failing to verify that distance key is never missing
82
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_bad"
83
- # When a data import verifies "Distance key should never be missing"
84
- # Then the verification should not be successful
85
- #
86
- # Scenario: Failing to verify that ef key is never missing
87
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_bad"
88
- # When a data import verifies "Ef key should never be missing"
89
- # Then the verification should not be successful
90
- #
91
- # Scenario: Failing to verify that blend portion is from 0 to 1 if present
92
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_bad"
93
- # When a data import verifies "Blend portion should be from 0 to 1 if present"
94
- # Then the verification should not be successful
95
- #
96
- # Scenario: Failing to verify that co2 emission factor is 0 or more
97
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_bad"
98
- # When a data import verifies "Co2 emission factor should be 0 or more"
99
- # Then the verification should not be successful
100
- #
101
- # Scenario: Failing to verify that co2 biogenic emission factor is 0 or more
102
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_bad"
103
- # When a data import verifies "Co2 biogenic emission factor should be 0 or more"
104
- # Then the verification should not be successful
105
- #
106
- # Scenario: Failing to verify that ch4 emission factor is > 0
107
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_bad"
108
- # When a data import verifies "Ch4 emission factor should be > 0"
109
- # Then the verification should not be successful
110
- #
111
- # Scenario: Failing to verify that n2o emission factor is > 0
112
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_bad"
113
- # When a data import verifies "N2o emission factor should be > 0"
114
- # Then the verification should not be successful
115
- #
116
- # Scenario: Failing to verify that hfc emission factor is > 0
117
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_bad"
118
- # When a data import verifies "Hfc emission factor should be > 0"
119
- # Then the verification should not be successful
120
- #
121
- # Scenario: Failing to verify that co2 emission factor units are kilograms per litre
122
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_bad"
123
- # When a data import verifies "Co2 emission factor units should be kilograms per litre"
124
- # Then the verification should not be successful
125
- #
126
- # Scenario: Failing to verify that co2 biogenic emission factor units are kilograms per litre
127
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_bad"
128
- # When a data import verifies "Co2 biogenic emission factor units should be kilograms per litre"
129
- # Then the verification should not be successful
130
- #
131
- # Scenario: Failing to verify that ch4 emission factor units are kilograms per litre
132
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_bad"
133
- # When a data import verifies "Ch4 emission factor units should be kilograms co2e per litre"
134
- # Then the verification should not be successful
135
- #
136
- # Scenario: Failing to verify that n2o emission factor units are kilograms per litre
137
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_bad"
138
- # When a data import verifies "N2o emission factor units should be kilograms co2e per litre"
139
- # Then the verification should not be successful
140
- #
141
- # Scenario: Failing to verify that hfc emission factor units are kilograms per litre
142
- # Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_bad"
143
- # When a data import verifies "Hfc emission factor units should be kilograms co2e per litre"
144
- # Then the verification should not be successful
@@ -1,24 +0,0 @@
1
- # Feature: Data import for AutomobileMake
2
- # As a data user
3
- # I want to import Make data
4
- # So that I can perform make-based calculations
5
- #
6
- # Scenario: Successfully verifying that fuel efficiency is greater than zero
7
- # Given a "AutomobileMake" data import fetches results listed in "automobile_make_good"
8
- # When a data import verifies "Fuel efficiency should be greater than zero"
9
- # Then the verification should be successful
10
- #
11
- # Scenario: Successfully verifying that fuel efficiency units are kilometres per litre
12
- # Given a "AutomobileMake" data import fetches results listed in "automobile_make_good"
13
- # When a data import verifies "Fuel efficiency units should be kilometres per litre"
14
- # Then the verification should be successful
15
- #
16
- # Scenario: Failing to verify that fuel efficiency is greater than zero
17
- # Given a "AutomobileMake" data import fetches results listed in "automobile_make_bad"
18
- # When a data import verifies "Fuel efficiency should be greater than zero"
19
- # Then the verification should not be successful
20
- #
21
- # Scenario: Failing to verify that fuel efficiency units are kilometres per litre
22
- # Given a "AutomobileMake" data import fetches results listed in "automobile_make_bad"
23
- # When a data import verifies "Fuel efficiency units should be kilometres per litre"
24
- # Then the verification should not be successful
@@ -1,24 +0,0 @@
1
- # Feature: Data import for AutomobileMakeModel
2
- # As a data user
3
- # I want to import MakeModel data
4
- # So that I can perform model-based calculations
5
- #
6
- # Scenario: Successfully verifying that fuel efficiences are greater than zero
7
- # Given a "AutomobileMakeModel" data import fetches results listed in "automobile_make_model_good"
8
- # When a data import verifies "Fuel efficiencies should be greater than zero"
9
- # Then the verification should be successful
10
- #
11
- # Scenario: Successfully verifying that fuel efficiency units are kilometres per litre
12
- # Given a "AutomobileMakeModel" data import fetches results listed in "automobile_make_model_good"
13
- # When a data import verifies "Fuel efficiency units should be kilometres per litre"
14
- # Then the verification should be successful
15
- #
16
- # Scenario: Failing to verify that fuel efficiences are greater than zero
17
- # Given a "AutomobileMakeModel" data import fetches results listed in "automobile_make_model_bad"
18
- # When a data import verifies "Fuel efficiencies should be greater than zero"
19
- # Then the verification should not be successful
20
- #
21
- # Scenario: Failing to verify that fuel efficiency units are kilometres per litre
22
- # Given a "AutomobileMakeModel" data import fetches results listed in "automobile_make_model_bad"
23
- # When a data import verifies "Fuel efficiency units should be kilometres per litre"
24
- # Then the verification should not be successful
@@ -1,34 +0,0 @@
1
- # Feature: Data import for AutomobileMakeModelYear
2
- # As a data user
3
- # I want to import MakeModelYear data
4
- # So that I can perform model year-based calculations
5
- #
6
- # Scenario: Successfully verifying that year is from 1985 to 2011
7
- # Given a "AutomobileMakeModelYear" data import fetches results listed in "automobile_make_model_year_good"
8
- # When a data import verifies "Year should be from 1985 to 2011"
9
- # Then the verification should be successful
10
- #
11
- # Scenario: Successfully verifying that fuel efficiences are greater than zero
12
- # Given a "AutomobileMakeModelYear" data import fetches results listed in "automobile_make_model_year_good"
13
- # When a data import verifies "Fuel efficiencies should be greater than zero"
14
- # Then the verification should be successful
15
- #
16
- # Scenario: Successfully verifying that fuel efficiency units are kilometres per litre
17
- # Given a "AutomobileMakeModelYear" data import fetches results listed in "automobile_make_model_year_good"
18
- # When a data import verifies "Fuel efficiency units should be kilometres per litre"
19
- # Then the verification should be successful
20
- #
21
- # Scenario: Failing to verify that year is from 1985 to 2011
22
- # Given a "AutomobileMakeModelYear" data import fetches results listed in "automobile_make_model_year_bad"
23
- # When a data import verifies "Year should be from 1985 to 2011"
24
- # Then the verification should not be successful
25
- #
26
- # Scenario: Failing to verify that fuel efficiences are greater than zero
27
- # Given a "AutomobileMakeModelYear" data import fetches results listed in "automobile_make_model_year_bad"
28
- # When a data import verifies "Fuel efficiencies should be greater than zero"
29
- # Then the verification should not be successful
30
- #
31
- # Scenario: Failing to verify that fuel efficiency units are kilometres per litre
32
- # Given a "AutomobileMakeModelYear" data import fetches results listed in "automobile_make_model_year_bad"
33
- # When a data import verifies "Fuel efficiency units should be kilometres per litre"
34
- # Then the verification should not be successful
@@ -1,34 +0,0 @@
1
- # Feature: Data import for AutomobileMakeYear
2
- # As a data user
3
- # I want to import MakeYear data
4
- # So that I can perform year-based calculations
5
- #
6
- # Scenario: Successfully verifying that year is from 1985 to 2010
7
- # Given a "AutomobileMakeYear" data import fetches results listed in "automobile_make_year_good"
8
- # When a data import verifies "Year should be from 1985 to 2010"
9
- # Then the verification should be successful
10
- #
11
- # Scenario: Successfully verifying that fuel efficiency is greater than zero
12
- # Given a "AutomobileMakeYear" data import fetches results listed in "automobile_make_year_good"
13
- # When a data import verifies "Fuel efficiency should be greater than zero"
14
- # Then the verification should be successful
15
- #
16
- # Scenario: Successfully verifying that fuel efficiency units are kilometres per litre
17
- # Given a "AutomobileMakeYear" data import fetches results listed in "automobile_make_year_good"
18
- # When a data import verifies "Fuel efficiency units should be kilometres per litre"
19
- # Then the verification should be successful
20
- #
21
- # Scenario: Failing to verify that year is from 1985 to 2010
22
- # Given a "AutomobileMakeYear" data import fetches results listed in "automobile_make_year_bad"
23
- # When a data import verifies "Year should be from 1985 to 2010"
24
- # Then the verification should not be successful
25
- #
26
- # Scenario: Failing to verify that fuel efficiency is greater than zero
27
- # Given a "AutomobileMakeYear" data import fetches results listed in "automobile_make_year_bad"
28
- # When a data import verifies "Fuel efficiency should be greater than zero"
29
- # Then the verification should not be successful
30
- #
31
- # Scenario: Failing to verify that fuel efficiency units are kilometres per litre
32
- # Given a "AutomobileMakeYear" data import fetches results listed in "automobile_make_year_bad"
33
- # When a data import verifies "Fuel efficiency units should be kilometres per litre"
34
- # Then the verification should not be successful
@@ -1,59 +0,0 @@
1
- # Feature: Data import for AutomobileSizeClass
2
- # As a data user
3
- # I want to import AutomobileSizeClass data
4
- # So that I can perform size class-based calculations
5
- #
6
- # Scenario: Successfully verifying that annual distance > 0
7
- # Given a "AutomobileSizeClass" data import fetches results listed in "automobile_size_class_good"
8
- # When a data import verifies "Annual distance should be greater than zero"
9
- # Then the verification should be successful
10
- #
11
- # Scenario: Successfully verifying that annual distance units are kilometres
12
- # Given a "AutomobileSizeClass" data import fetches results listed in "automobile_size_class_good"
13
- # When a data import verifies "Annual distance units should be kilometres"
14
- # Then the verification should be successful
15
- #
16
- # Scenario: Successfully verifying that fuel efficiencies > 0
17
- # Given a "AutomobileSizeClass" data import fetches results listed in "automobile_size_class_good"
18
- # When a data import verifies "Fuel efficiencies should be greater than zero"
19
- # Then the verification should be successful
20
- #
21
- # Scenario: Successfully verifying that fuel efficiency units are kilometres per litre
22
- # Given a "AutomobileSizeClass" data import fetches results listed in "automobile_size_class_good"
23
- # When a data import verifies "Fuel efficiency units should be kilometres per litre"
24
- # Then the verification should be successful
25
- #
26
- # Scenario: Successfully verifying that any fuel efficiency multipliers > 0
27
- # Given a "AutomobileSizeClass" data import fetches results listed in "automobile_size_class_good"
28
- # When a data import verifies "Any fuel efficiency multipliers should be greater than zero"
29
- # Then the verification should be successful
30
- #
31
- # Scenario: Successfully verifying that fallback fuel efficiency multipliers > 0
32
- # Given a "AutomobileSizeClass" data import fetches results listed in "automobile_size_class_good"
33
- # When a data import verifies "Fallback fuel efficiency multipliers should be greater than zero"
34
- # Then the verification should be successful
35
- #
36
- # Scenario: Failing to verify that annual distance > 0
37
- # Given a "AutomobileSizeClass" data import fetches results listed in "automobile_size_class_bad"
38
- # When a data import verifies "Annual distance should be greater than zero"
39
- # Then the verification should not be successful
40
- #
41
- # Scenario: Failing to verify that annual distance units are kilometres
42
- # Given a "AutomobileSizeClass" data import fetches results listed in "automobile_size_class_bad"
43
- # When a data import verifies "Annual distance units should be kilometres"
44
- # Then the verification should not be successful
45
- #
46
- # Scenario: Failing to verify that fuel efficiencies > 0
47
- # Given a "AutomobileSizeClass" data import fetches results listed in "automobile_size_class_bad"
48
- # When a data import verifies "Fuel efficiencies should be greater than zero"
49
- # Then the verification should not be successful
50
- #
51
- # Scenario: Failing to verify that fuel efficiency units are kilometres per litre
52
- # Given a "AutomobileSizeClass" data import fetches results listed in "automobile_size_class_bad"
53
- # When a data import verifies "Fuel efficiency units should be kilometres per litre"
54
- # Then the verification should not be successful
55
- #
56
- # Scenario: Failing to verify that any fuel efficiency multipliers > 0
57
- # Given a "AutomobileSizeClass" data import fetches results listed in "automobile_size_class_bad"
58
- # When a data import verifies "Any fuel efficiency multipliers should be greater than zero"
59
- # Then the verification should not be successful
@@ -1,34 +0,0 @@
1
- # Feature: Data import for AutomobileSizeClassYear
2
- # As a data user
3
- # I want to import AutomobileSizeClassYear data
4
- # So that I can perform size class year-based calculations
5
- #
6
- # Scenario: Successfully verifying that year is from 1975 to 2010
7
- # Given a "AutomobileSizeClassYear" data import fetches results listed in "automobile_size_class_year_good"
8
- # When a data import verifies "Year should be from 1975 to 2010"
9
- # Then the verification should be successful
10
- #
11
- # Scenario: Successfully verifying that fuel efficiencies > 0
12
- # Given a "AutomobileSizeClassYear" data import fetches results listed in "automobile_size_class_year_good"
13
- # When a data import verifies "Fuel efficiencies should be greater than zero"
14
- # Then the verification should be successful
15
- #
16
- # Scenario: Successfully verifying that fuel efficiency units are kilometres per litre
17
- # Given a "AutomobileSizeClassYear" data import fetches results listed in "automobile_size_class_year_good"
18
- # When a data import verifies "Fuel efficiency units should be kilometres per litre"
19
- # Then the verification should be successful
20
- #
21
- # Scenario: Failing to verify that year is from 1975 to 2010
22
- # Given a "AutomobileSizeClassYear" data import fetches results listed in "automobile_size_class_year_bad"
23
- # When a data import verifies "Year should be from 1975 to 2010"
24
- # Then the verification should not be successful
25
- #
26
- # Scenario: Failing to verify that fuel efficiencies > 0
27
- # Given a "AutomobileSizeClassYear" data import fetches results listed in "automobile_size_class_year_bad"
28
- # When a data import verifies "Fuel efficiencies should be greater than zero"
29
- # Then the verification should not be successful
30
- #
31
- # Scenario: Failing to verify that fuel efficiency units are kilometres per litre
32
- # Given a "AutomobileSizeClassYear" data import fetches results listed in "automobile_size_class_year_bad"
33
- # When a data import verifies "Fuel efficiency units should be kilometres per litre"
34
- # Then the verification should not be successful
@@ -1,34 +0,0 @@
1
- # Feature: Data import for AutomobileTypeFuelControl
2
- # As a data user
3
- # I want to import AutomobileTypeFuelControl data
4
- # So that I can perform type fuel control-based calculations
5
- #
6
- # Scenario: Successfully verifying that type name, fuel common name, and control name are not missing
7
- # Given a "AutomobileTypeFuelControl" data import fetches results listed in "automobile_type_fuel_control_good"
8
- # When a data import verifies "Type name, fuel common name, and control name should never be missing"
9
- # Then the verification should be successful
10
- #
11
- # Scenario: Successfully verifying that emission factors are greater than zero
12
- # Given a "AutomobileTypeFuelControl" data import fetches results listed in "automobile_type_fuel_control_good"
13
- # When a data import verifies "Emission factors should be greater than zero"
14
- # Then the verification should be successful
15
- #
16
- # Scenario: Successfully verifying that emission factors units are kilograms per kilometre
17
- # Given a "AutomobileTypeFuelControl" data import fetches results listed in "automobile_type_fuel_control_good"
18
- # When a data import verifies "Emission factor units should be kilograms per kilometre"
19
- # Then the verification should be successful
20
- #
21
- # Scenario: Failing to verify that type name, fuel common name, and control name are not missing
22
- # Given a "AutomobileTypeFuelControl" data import fetches results listed in "automobile_type_fuel_control_bad"
23
- # When a data import verifies "Type name, fuel common name, and control name should never be missing"
24
- # Then the verification should not be successful
25
- #
26
- # Scenario: Failing to verify that emission factors are greater than zero
27
- # Given a "AutomobileTypeFuelControl" data import fetches results listed in "automobile_type_fuel_control_bad"
28
- # When a data import verifies "Emission factors should be greater than zero"
29
- # Then the verification should not be successful
30
- #
31
- # Scenario: Failing to verify that emission factors units are kilograms per kilometre
32
- # Given a "AutomobileTypeFuelControl" data import fetches results listed in "automobile_type_fuel_control_bad"
33
- # When a data import verifies "Emission factor units should be kilograms per kilometre"
34
- # Then the verification should not be successful
@@ -1,124 +0,0 @@
1
- # Feature: Data import for AutomobileTypeFuelYear
2
- # As a data user
3
- # I want to import AutomobileTypeFuelYear data
4
- # So that I can perform type fuel year-based calculations
5
- #
6
- # Scenario: Successfully verifying that type name is not missing
7
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_good"
8
- # When a data import verifies "Type name should never be missing"
9
- # Then the verification should be successful
10
- #
11
- # Scenario: Successfully verifying that fuel common name is not missing
12
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_good"
13
- # When a data import verifies "Fuel common name should never be missing"
14
- # Then the verification should be successful
15
- #
16
- # Scenario: Successfully verifying that type year name is not missing
17
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_good"
18
- # When a data import verifies "Type year name should never be missing"
19
- # Then the verification should be successful
20
- #
21
- # Scenario: Successfully verifying that year is from 1990 to 2008
22
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_good"
23
- # When a data import verifies "Year should be from 1990 to 2008"
24
- # Then the verification should be successful
25
- #
26
- # Scenario: Successfully verifying that total travel is greater than zero
27
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_good"
28
- # When a data import verifies "Total travel should be greater than zero"
29
- # Then the verification should be successful
30
- #
31
- # Scenario: Successfully verifying that fuel consumption is greater than zero
32
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_good"
33
- # When a data import verifies "Fuel consumption should be greater than zero"
34
- # Then the verification should be successful
35
- #
36
- # Scenario: Successfully verifying that ch4 emission factor is greater than zero
37
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_good"
38
- # When a data import verifies "Ch4 emission factor should be greater than zero"
39
- # Then the verification should be successful
40
- #
41
- # Scenario: Successfully verifying that n2o emission factor is greater than zero
42
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_good"
43
- # When a data import verifies "N2o emission factor should be greater than zero"
44
- # Then the verification should be successful
45
- #
46
- # Scenario: Successfully verifying that total travel units are kilometres
47
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_good"
48
- # When a data import verifies "Total travel units should be kilometres"
49
- # Then the verification should be successful
50
- #
51
- # Scenario: Successfully verifying that fuel consumption units are litres
52
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_good"
53
- # When a data import verifies "Fuel consumption units should be litres"
54
- # Then the verification should be successful
55
- #
56
- # Scenario: Successfully verifying that ch4 emission factor units are kilograms per litre
57
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_good"
58
- # When a data import verifies "Ch4 emission factor units should be kilograms per litre"
59
- # Then the verification should be successful
60
- #
61
- # Scenario: Successfully verifying that n2o emission factor units are kilograms per litre
62
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_good"
63
- # When a data import verifies "N2o emission factor units should be kilograms per litre"
64
- # Then the verification should be successful
65
- #
66
- # Scenario: Failing to verify that type name is not missing
67
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_bad"
68
- # When a data import verifies "Type name should never be missing"
69
- # Then the verification should not be successful
70
- #
71
- # Scenario: Failing to verify that fuel common name is not missing
72
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_bad"
73
- # When a data import verifies "Fuel common name should never be missing"
74
- # Then the verification should not be successful
75
- #
76
- # Scenario: Failing to verify that type year name is not missing
77
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_bad"
78
- # When a data import verifies "Type year name should never be missing"
79
- # Then the verification should not be successful
80
- #
81
- # Scenario: Failing to verify that year is from 1990 to 2008
82
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_bad"
83
- # When a data import verifies "Year should be from 1990 to 2008"
84
- # Then the verification should not be successful
85
- #
86
- # Scenario: Failing to verify that total travel is greater than zero
87
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_bad"
88
- # When a data import verifies "Total travel should be greater than zero"
89
- # Then the verification should not be successful
90
- #
91
- # Scenario: Failing to verify that fuel consumption is greater than zero
92
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_bad"
93
- # When a data import verifies "Fuel consumption should be greater than zero"
94
- # Then the verification should not be successful
95
- #
96
- # Scenario: Failing to verify that ch4 emission factor is greater than zero
97
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_bad"
98
- # When a data import verifies "Ch4 emission factor should be greater than zero"
99
- # Then the verification should not be successful
100
- #
101
- # Scenario: Failing to verify that n2o emission factor is greater than zero
102
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_bad"
103
- # When a data import verifies "N2o emission factor should be greater than zero"
104
- # Then the verification should not be successful
105
- #
106
- # Scenario: Failing to verify that total travel units are kilometres
107
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_bad"
108
- # When a data import verifies "Total travel units should be kilometres"
109
- # Then the verification should not be successful
110
- #
111
- # Scenario: Failing to verify that fuel consumption units are litres
112
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_bad"
113
- # When a data import verifies "Fuel consumption units should be litres"
114
- # Then the verification should not be successful
115
- #
116
- # Scenario: Failing to verify that ch4 emission factor units are kilograms per litre
117
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_bad"
118
- # When a data import verifies "Ch4 emission factor units should be kilograms per litre"
119
- # Then the verification should not be successful
120
- #
121
- # Scenario: Failing to verify that n2o emission factor units are kilograms per litre
122
- # Given a "AutomobileTypeFuelYear" data import fetches results listed in "automobile_type_fuel_year_bad"
123
- # When a data import verifies "N2o emission factor units should be kilograms per litre"
124
- # Then the verification should not be successful