earth 0.6.4 → 0.6.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.
- data/earth.gemspec +1 -1
- data/features/automobile_fuel.feature +144 -144
- data/features/automobile_make.feature +24 -24
- data/features/automobile_make_fleet_year.feature +34 -34
- data/features/automobile_make_model.feature +24 -24
- data/features/automobile_make_model_year.feature +34 -34
- data/features/automobile_make_model_year_variant.feature +46 -46
- data/features/automobile_make_year.feature +34 -34
- data/features/automobile_size_class.feature +59 -59
- data/features/automobile_size_class_year.feature +34 -34
- data/features/automobile_type_fuel_age.feature +55 -55
- data/features/automobile_type_fuel_control.feature +34 -34
- data/features/automobile_type_fuel_year.feature +124 -124
- data/features/automobile_type_fuel_year_age.feature +94 -94
- data/features/automobile_type_fuel_year_control.feature +74 -74
- data/features/automobile_type_year.feature +64 -64
- data/features/bus_class.feature +39 -39
- data/features/bus_fuel.feature +114 -114
- data/features/carrier.feature +64 -64
- data/features/carrier_mode.feature +64 -64
- data/features/computation_carrier.feature +14 -14
- data/features/computation_carrier_instance_class.feature +24 -24
- data/features/egrid_region.feature +20 -20
- data/features/egrid_subregion.feature +134 -134
- data/features/fuel_year.feature +54 -54
- data/features/greenhouse_gas.feature +44 -44
- data/features/rail_class.feature +64 -64
- data/features/shipment_mode.feature +34 -34
- data/lib/earth/air.rb +1 -0
- data/lib/earth/air/data_miner.rb +1 -0
- data/lib/earth/air/flight_distance_class.rb +10 -0
- data/lib/earth/air/flight_distance_class/data_miner.rb +18 -2
- data/lib/earth/air/flight_distance_class_seat_class.rb +10 -0
- data/lib/earth/air/flight_distance_class_seat_class/data_miner.rb +13 -0
- data/lib/earth/air/flight_seat_class.rb +6 -5
- data/lib/earth/air/flight_seat_class/data_miner.rb +18 -6
- data/lib/earth/version.rb +1 -1
- data/spec/earth_spec.rb +2 -2
- metadata +187 -173
@@ -1,34 +1,34 @@
|
|
1
|
-
Feature: Data import for AutomobileMakeModelYear
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
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,46 +1,46 @@
|
|
1
|
-
Feature: Data import for AutomobileMakeModelYearVariant
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
1
|
+
# Feature: Data import for AutomobileMakeModelYearVariant
|
2
|
+
# As a data user
|
3
|
+
# I want to import MakeModelYearVariant data
|
4
|
+
# So that I can perform variant-based calculations
|
5
|
+
#
|
6
|
+
# Scenario: Successfully verifying that year is from 1985 to 2011
|
7
|
+
# Given a "AutomobileMakeModelYearVariant" data import fetches results listed in "automobile_make_model_year_variant_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 type code is found in AutomobileFuel
|
12
|
+
# Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_good"
|
13
|
+
# And a "AutomobileMakeModelYearVariant" data import fetches results listed in "automobile_make_model_year_variant_good"
|
14
|
+
# When a data import verifies "Fuel code should appear in AutomobileFuel"
|
15
|
+
# Then the verification should be successful
|
16
|
+
#
|
17
|
+
# Scenario: Successfully verifying that fuel efficiencies are greater than zero
|
18
|
+
# Given a "AutomobileMakeModelYearVariant" data import fetches results listed in "automobile_make_model_year_variant_good"
|
19
|
+
# When a data import verifies "Fuel efficiencies should be greater than zero"
|
20
|
+
# Then the verification should be successful
|
21
|
+
#
|
22
|
+
# Scenario: Successfully verifying that fuel efficiency units are kilometres per litre
|
23
|
+
# Given a "AutomobileMakeModelYearVariant" data import fetches results listed in "automobile_make_model_year_variant_good"
|
24
|
+
# When a data import verifies "Fuel efficiency units should be kilometres per litre"
|
25
|
+
# Then the verification should be successful
|
26
|
+
#
|
27
|
+
# Scenario: Failing to verify that year is from 1985 to 2011
|
28
|
+
# Given a "AutomobileMakeModelYearVariant" data import fetches results listed in "automobile_make_model_year_variant_bad"
|
29
|
+
# When a data import verifies "Year should be from 1985 to 2011"
|
30
|
+
# Then the verification should not be successful
|
31
|
+
#
|
32
|
+
# Scenario: Failing to verifying that fuel type code is found in AutomobileFuel
|
33
|
+
# Given a "AutomobileFuel" data import fetches results listed in "automobile_fuel_good"
|
34
|
+
# And a "AutomobileMakeModelYearVariant" data import fetches results listed in "automobile_make_model_year_variant_bad"
|
35
|
+
# When a data import verifies "Fuel code should appear in AutomobileFuel"
|
36
|
+
# Then the verification should not be successful
|
37
|
+
#
|
38
|
+
# Scenario: Failing to verify that fuel efficiencies are greater than zero
|
39
|
+
# Given a "AutomobileMakeModelYearVariant" data import fetches results listed in "automobile_make_model_year_variant_bad"
|
40
|
+
# When a data import verifies "Fuel efficiencies should be greater than zero"
|
41
|
+
# Then the verification should not be successful
|
42
|
+
#
|
43
|
+
# Scenario: Failing to verify that fuel efficiency units are kilometres per litre
|
44
|
+
# Given a "AutomobileMakeModelYearVariant" data import fetches results listed in "automobile_make_model_year_variant_bad"
|
45
|
+
# When a data import verifies "Fuel efficiency units should be kilometres per litre"
|
46
|
+
# Then the verification should not be successful
|
@@ -1,34 +1,34 @@
|
|
1
|
-
Feature: Data import for AutomobileMakeYear
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
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 +1,59 @@
|
|
1
|
-
Feature: Data import for AutomobileSizeClass
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
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 +1,34 @@
|
|
1
|
-
Feature: Data import for AutomobileSizeClassYear
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
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,55 +1,55 @@
|
|
1
|
-
# DEPRECATED - use AutomobileTypeFuelYearAge
|
2
|
-
Feature: Data import for AutomobileTypeFuelAge
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
1
|
+
# # DEPRECATED - use AutomobileTypeFuelYearAge
|
2
|
+
# Feature: Data import for AutomobileTypeFuelAge
|
3
|
+
# As a data user
|
4
|
+
# I want to import AutomobileTypeFuelAge data
|
5
|
+
# So that I can perform type fuel age-based calculations
|
6
|
+
#
|
7
|
+
# Scenario: Successfully verifying that type name and fuel common name are not missing
|
8
|
+
# Given a "AutomobileTypeFuelAge" data import fetches results listed in "automobile_type_fuel_age_good"
|
9
|
+
# When a data import verifies "Type name and fuel common name should never be missing"
|
10
|
+
# Then the verification should be successful
|
11
|
+
#
|
12
|
+
# Scenario: Successfully verifying that age is from zero to thirty
|
13
|
+
# Given a "AutomobileTypeFuelAge" data import fetches results listed in "automobile_type_fuel_age_good"
|
14
|
+
# When a data import verifies "Age should be from zero to thirty"
|
15
|
+
# Then the verification should be successful
|
16
|
+
#
|
17
|
+
# Scenario: Successfully verifying that age percent and total travel percent are from zero to one
|
18
|
+
# Given a "AutomobileTypeFuelAge" data import fetches results listed in "automobile_type_fuel_age_good"
|
19
|
+
# When a data import verifies "Age percent and total travel percent should be from zero to one"
|
20
|
+
# Then the verification should be successful
|
21
|
+
#
|
22
|
+
# Scenario: Successfully verifying that annual distance and vehicles are greater than zero
|
23
|
+
# Given a "AutomobileTypeFuelAge" data import fetches results listed in "automobile_type_fuel_age_good"
|
24
|
+
# When a data import verifies "Annual distance and vehicles should be greater than zero"
|
25
|
+
# Then the verification should be successful
|
26
|
+
#
|
27
|
+
# Scenario: Successfully verifying that annual distance units are kilometres
|
28
|
+
# Given a "AutomobileTypeFuelAge" data import fetches results listed in "automobile_type_fuel_age_good"
|
29
|
+
# When a data import verifies "Annual distance units should be kilometres"
|
30
|
+
# Then the verification should be successful
|
31
|
+
#
|
32
|
+
# Scenario: Failing to verify that type name and fuel common name are not missing
|
33
|
+
# Given a "AutomobileTypeFuelAge" data import fetches results listed in "automobile_type_fuel_age_bad"
|
34
|
+
# When a data import verifies "Type name and fuel common name should never be missing"
|
35
|
+
# Then the verification should not be successful
|
36
|
+
#
|
37
|
+
# Scenario: Failing to verify that age is from zero to thirty
|
38
|
+
# Given a "AutomobileTypeFuelAge" data import fetches results listed in "automobile_type_fuel_age_bad"
|
39
|
+
# When a data import verifies "Age should be from zero to thirty"
|
40
|
+
# Then the verification should not be successful
|
41
|
+
#
|
42
|
+
# Scenario: Failing to verify that age percent and total travel percent are from zero to one
|
43
|
+
# Given a "AutomobileTypeFuelAge" data import fetches results listed in "automobile_type_fuel_age_bad"
|
44
|
+
# When a data import verifies "Age percent and total travel percent should be from zero to one"
|
45
|
+
# Then the verification should not be successful
|
46
|
+
#
|
47
|
+
# Scenario: Failing to verify that annual distance and vehicles are greater than zero
|
48
|
+
# Given a "AutomobileTypeFuelAge" data import fetches results listed in "automobile_type_fuel_age_bad"
|
49
|
+
# When a data import verifies "Annual distance and vehicles should be greater than zero"
|
50
|
+
# Then the verification should not be successful
|
51
|
+
#
|
52
|
+
# Scenario: Failing to verify that annual distance units are kilometres
|
53
|
+
# Given a "AutomobileTypeFuelAge" data import fetches results listed in "automobile_type_fuel_age_bad"
|
54
|
+
# When a data import verifies "Annual distance units should be kilometres"
|
55
|
+
# Then the verification should not be successful
|