Skip to content

Instantly share code, notes, and snippets.

@chrisroos
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisroos/bbd450c6a13d64faf66f to your computer and use it in GitHub Desktop.
Save chrisroos/bbd450c6a13d64faf66f to your computer and use it in GitHub Desktop.
Comparing Smart Answer test output with and without memoized state

The current test set-up requires the use of contexts to move through the Smart Answer. We can avoid this by removing the memoization of @state in FlowTestHelper. I temporarily removed it and ran the tests to see how much longer they took and whether we'd have any failures.

def current_state
  # @state ||= begin
    @flow.process(@responses)
  # end
end
Chriss-MacBook-Air-2:~/Code/alphagov/smart-answers$ time rake
* DEFERRED: sequence of two questions a question raises an error should permit custom error messages per question.
Run options: --seed 5772
# Running:
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ ......................................
Finished in 246.751994s, 15.8459 runs/s, 84.5343 assertions/s.
3910 runs, 20859 assertions, 0 failures, 0 errors, 0 skips
real 4m35.504s
user 4m23.060s
sys 0m5.387s
Chriss-MacBook-Air-2:~/Code/alphagov/smart-answers$ time rake
* DEFERRED: sequence of two questions a question raises an error should permit custom error messages per question.
Run options: --seed 51302
# Running:
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.FF...FF..F.....FF..F......FF.F...F.....F.....F.....F......F.....F.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 317.086551s, 12.3310 runs/s, 65.2724 assertions/s.
1) Failure:
CalculateYourHolidayEntitlementTest#test_: annualised hours should calculate and be done with a response. [/Users/chrisroos/Code/alphagov/smart-answers/test/integration/smart_answer_flows/calculate_your_holiday_entitlement_test.rb:483]:
unexpected invocation: SmartAnswer::Calculators::HolidayEntitlement.new(:total_hours => 1400.5)
unsatisfied expectations:
- expected exactly once, invoked twice: SmartAnswer::Calculators::HolidayEntitlement.new(:total_hours => 1400.5)
satisfied expectations:
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa844e30898>.formatted_annualised_hours_per_week(any_parameters)
- expected at least once, invoked twice: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa844e30898>.annualised_entitlement(any_parameters)
2) Failure:
CalculateYourHolidayEntitlementTest#test_: calculate days worked per week full year should calculate and be done when 5 days a week. [/Users/chrisroos/Code/alphagov/smart-answers/test/integration/smart_answer_flows/calculate_your_holiday_entitlement_test.rb:48]:
unexpected invocation: SmartAnswer::Calculators::HolidayEntitlement.new(:days_per_week => 5.0, :start_date => nil, :leaving_date => nil, :leave_year_start_date => nil)
unsatisfied expectations:
- expected exactly once, invoked twice: SmartAnswer::Calculators::HolidayEntitlement.new(:days_per_week => 5, :start_date => nil, :leaving_date => nil, :leave_year_start_date => nil)
satisfied expectations:
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa844da0568>.formatted_full_time_part_time_days(any_parameters)
3) Failure:
CalculateYourHolidayEntitlementTest#test_: calculate days worked per week full year should calculate and be done when more than 5 days a week. [/Users/chrisroos/Code/alphagov/smart-answers/test/integration/smart_answer_flows/calculate_your_holiday_entitlement_test.rb:67]:
unexpected invocation: SmartAnswer::Calculators::HolidayEntitlement.new(:days_per_week => 6.0, :start_date => nil, :leaving_date => nil, :leave_year_start_date => nil)
unsatisfied expectations:
- expected exactly once, invoked twice: SmartAnswer::Calculators::HolidayEntitlement.new(:days_per_week => 6, :start_date => nil, :leaving_date => nil, :leave_year_start_date => nil)
satisfied expectations:
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa844d599b0>.full_time_part_time_days(any_parameters)
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa844d599b0>.formatted_full_time_part_time_days(any_parameters)
4) Failure:
CalculateYourHolidayEntitlementTest#test_: calculate days worked per week leaving this year with a date with a leave year start date should calculate and be done part year when 5 days. [/Users/chrisroos/Code/alphagov/smart-answers/test/integration/smart_answer_flows/calculate_your_holiday_entitlement_test.rb:183]:
unexpected invocation: SmartAnswer::Calculators::HolidayEntitlement.new(:days_per_week => 5, :start_date => nil, :leaving_date => '2015-07-14', :leave_year_start_date => '2015-01-01')
unsatisfied expectations:
- expected exactly once, invoked twice: SmartAnswer::Calculators::HolidayEntitlement.new(:days_per_week => 5, :start_date => nil, :leaving_date => '2015-07-14', :leave_year_start_date => '2015-01-01')
satisfied expectations:
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa846162650>.formatted_full_time_part_time_days(any_parameters)
5) Failure:
CalculateYourHolidayEntitlementTest#test_: calculate days worked per week leaving this year with a date with a leave year start date should calculate and be done part year when 6 days. [/Users/chrisroos/Code/alphagov/smart-answers/test/integration/smart_answer_flows/calculate_your_holiday_entitlement_test.rb:203]:
unexpected invocation: SmartAnswer::Calculators::HolidayEntitlement.new(:days_per_week => 5, :start_date => nil, :leaving_date => '2015-07-14', :leave_year_start_date => '2015-01-01')
unsatisfied expectations:
- expected exactly once, invoked twice: SmartAnswer::Calculators::HolidayEntitlement.new(:days_per_week => 5, :start_date => nil, :leaving_date => '2015-07-14', :leave_year_start_date => '2015-01-01')
satisfied expectations:
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa8460e17a8>.full_time_part_time_days(any_parameters)
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa8460e17a8>.formatted_full_time_part_time_days(any_parameters)
6) Failure:
CalculateYourHolidayEntitlementTest#test_: calculate days worked per week starting and leaving within a leave year add employment start date add employment end date should calculate and be done part year when 5 days. [/Users/chrisroos/Code/alphagov/smart-answers/test/integration/smart_answer_flows/calculate_your_holiday_entitlement_test.rb:246]:
unexpected invocation: SmartAnswer::Calculators::HolidayEntitlement.new(:days_per_week => 5.0, :start_date => '2015-07-14', :leaving_date => '2015-10-14', :leave_year_start_date => nil)
unsatisfied expectations:
- expected exactly once, invoked twice: SmartAnswer::Calculators::HolidayEntitlement.new(:days_per_week => 5, :start_date => '2015-07-14', :leaving_date => '2015-10-14', :leave_year_start_date => nil)
satisfied expectations:
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa845d69da0>.formatted_full_time_part_time_days(any_parameters)
7) Failure:
CalculateYourHolidayEntitlementTest#test_: calculate days worked per week starting this year with a date with a leave year start date should calculate and be done part year when 5 days. [/Users/chrisroos/Code/alphagov/smart-answers/test/integration/smart_answer_flows/calculate_your_holiday_entitlement_test.rb:113]:
unexpected invocation: SmartAnswer::Calculators::HolidayEntitlement.new(:days_per_week => 5, :start_date => '2015-03-14', :leaving_date => nil, :leave_year_start_date => '2015-05-02')
unsatisfied expectations:
- expected exactly once, invoked twice: SmartAnswer::Calculators::HolidayEntitlement.new(:days_per_week => 5, :start_date => '2015-03-14', :leaving_date => nil, :leave_year_start_date => '2015-05-02')
satisfied expectations:
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa844c3b060>.formatted_full_time_part_time_days(any_parameters)
8) Failure:
CalculateYourHolidayEntitlementTest#test_: calculate days worked per week starting this year with a date with a leave year start date should calculate and be done part year when 6 or 7 days. [/Users/chrisroos/Code/alphagov/smart-answers/test/integration/smart_answer_flows/calculate_your_holiday_entitlement_test.rb:133]:
unexpected invocation: SmartAnswer::Calculators::HolidayEntitlement.new(:days_per_week => 5, :start_date => '2015-03-14', :leaving_date => nil, :leave_year_start_date => '2015-05-02')
unsatisfied expectations:
- expected exactly once, invoked twice: SmartAnswer::Calculators::HolidayEntitlement.new(:days_per_week => 5, :start_date => '2015-03-14', :leaving_date => nil, :leave_year_start_date => '2015-05-02')
satisfied expectations:
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa844bcb670>.full_time_part_time_days(any_parameters)
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa844bcb670>.formatted_full_time_part_time_days(any_parameters)
9) Failure:
CalculateYourHolidayEntitlementTest#test_: casual or irregular should calculate and be done with a response. [/Users/chrisroos/Code/alphagov/smart-answers/test/integration/smart_answer_flows/calculate_your_holiday_entitlement_test.rb:452]:
unexpected invocation: SmartAnswer::Calculators::HolidayEntitlement.new(:total_hours => 1500.0)
unsatisfied expectations:
- expected exactly once, invoked twice: SmartAnswer::Calculators::HolidayEntitlement.new(:total_hours => 1500)
satisfied expectations:
- expected at least once, invoked twice: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa845c41400>.casual_irregular_entitlement(any_parameters)
10) Failure:
CalculateYourHolidayEntitlementTest#test_: compressed hours should calculate and be done with hours and days entered. [/Users/chrisroos/Code/alphagov/smart-answers/test/integration/smart_answer_flows/calculate_your_holiday_entitlement_test.rb:538]:
unexpected invocation: SmartAnswer::Calculators::HolidayEntitlement.new(:hours_per_week => 20.5, :days_per_week => 3.0)
unsatisfied expectations:
- expected exactly once, invoked twice: SmartAnswer::Calculators::HolidayEntitlement.new(:hours_per_week => 20.5, :days_per_week => 3)
satisfied expectations:
- expected at least once, invoked twice: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa845b32370>.compressed_hours_daily_average(any_parameters)
- expected at least once, invoked twice: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa845b32370>.compressed_hours_entitlement(any_parameters)
11) Failure:
CalculateYourHolidayEntitlementTest#test_: for hours worked per week answer full leave year answer 32 should calculate the holiday entitlement. [/Users/chrisroos/Code/alphagov/smart-answers/test/integration/smart_answer_flows/calculate_your_holiday_entitlement_test.rb:284]:
unexpected invocation: SmartAnswer::Calculators::HolidayEntitlement.new(:hours_per_week => 32.0, :start_date => nil, :leaving_date => nil, :leave_year_start_date => nil)
unsatisfied expectations:
- expected exactly once, invoked twice: SmartAnswer::Calculators::HolidayEntitlement.new(:hours_per_week => 32.0, :start_date => nil, :leaving_date => nil, :leave_year_start_date => nil)
satisfied expectations:
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa845aeb290>.full_time_part_time_hours(any_parameters)
12) Failure:
CalculateYourHolidayEntitlementTest#test_: for hours worked per week answer leaving part way through the leave year answer 2012-06-15 answer 2012-01-01 answer 26.5 should calculate the holiday entitlement. [/Users/chrisroos/Code/alphagov/smart-answers/test/integration/smart_answer_flows/calculate_your_holiday_entitlement_test.rb:376]:
unexpected invocation: SmartAnswer::Calculators::HolidayEntitlement.new(:hours_per_week => 26.5, :start_date => nil, :leaving_date => '2012-06-15', :leave_year_start_date => '2012-01-01')
unsatisfied expectations:
- expected exactly once, invoked twice: SmartAnswer::Calculators::HolidayEntitlement.new(:hours_per_week => 26.5, :start_date => nil, :leaving_date => '2012-06-15', :leave_year_start_date => '2012-01-01')
satisfied expectations:
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa845a9a750>.full_time_part_time_hours(any_parameters)
13) Failure:
CalculateYourHolidayEntitlementTest#test_: for hours worked per week answer starting part way through the leave year answer June 15th this year answer Jan 1st this year answer 37 should calculate the holiday entitlement. [/Users/chrisroos/Code/alphagov/smart-answers/test/integration/smart_answer_flows/calculate_your_holiday_entitlement_test.rb:329]:
unexpected invocation: SmartAnswer::Calculators::HolidayEntitlement.new(:hours_per_week => 37.0, :start_date => '2015-06-15', :leaving_date => nil, :leave_year_start_date => '2015-01-01')
unsatisfied expectations:
- expected exactly once, invoked twice: SmartAnswer::Calculators::HolidayEntitlement.new(:hours_per_week => 37.0, :start_date => '2015-06-15', :leaving_date => nil, :leave_year_start_date => '2015-01-01')
satisfied expectations:
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa8459897d0>.full_time_part_time_hours(any_parameters)
14) Failure:
CalculateYourHolidayEntitlementTest#test_: for hours worked per week starting and leaving within a leave year add employment start date add employment end date should calculate and be done part year when 5 days. [/Users/chrisroos/Code/alphagov/smart-answers/test/integration/smart_answer_flows/calculate_your_holiday_entitlement_test.rb:420]:
unexpected invocation: SmartAnswer::Calculators::HolidayEntitlement.new(:hours_per_week => 37.0, :start_date => '2015-07-14', :leaving_date => '2015-10-14', :leave_year_start_date => nil)
unsatisfied expectations:
- expected exactly once, invoked twice: SmartAnswer::Calculators::HolidayEntitlement.new(:hours_per_week => 37, :start_date => '2015-07-14', :leaving_date => '2015-10-14', :leave_year_start_date => nil)
satisfied expectations:
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa845850260>.full_time_part_time_hours(any_parameters)
15) Failure:
CalculateYourHolidayEntitlementTest#test_: shift worker full year should calculate and be done when all entered. [/Users/chrisroos/Code/alphagov/smart-answers/test/integration/smart_answer_flows/calculate_your_holiday_entitlement_test.rb:597]:
unexpected invocation: SmartAnswer::Calculators::HolidayEntitlement.new(:start_date => nil, :leaving_date => nil, :leave_year_start_date => nil, :hours_per_shift => 7.25, :shifts_per_shift_pattern => 4, :days_per_shift_pattern => 8.0)
unsatisfied expectations:
- expected exactly once, invoked twice: SmartAnswer::Calculators::HolidayEntitlement.new(:start_date => nil, :leaving_date => nil, :leave_year_start_date => nil, :hours_per_shift => 7.25, :shifts_per_shift_pattern => 4, :days_per_shift_pattern => 8)
satisfied expectations:
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa843710528>.formatted_shift_entitlement(any_parameters)
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa843710528>.formatted_shifts_per_week(any_parameters)
16) Failure:
CalculateYourHolidayEntitlementTest#test_: shift worker leaving this year with a date with a leave year start date should be done when all entered. [/Users/chrisroos/Code/alphagov/smart-answers/test/integration/smart_answer_flows/calculate_your_holiday_entitlement_test.rb:742]:
unexpected invocation: SmartAnswer::Calculators::HolidayEntitlement.new(:start_date => nil, :leaving_date => '2015-02-16', :leave_year_start_date => '2015-08-01', :hours_per_shift => 7.0, :shifts_per_shift_pattern => 4, :days_per_shift_pattern => 8.0)
unsatisfied expectations:
- expected exactly once, invoked twice: SmartAnswer::Calculators::HolidayEntitlement.new(:start_date => nil, :leaving_date => '2015-02-16', :leave_year_start_date => '2015-08-01', :hours_per_shift => 7, :shifts_per_shift_pattern => 4, :days_per_shift_pattern => 8)
satisfied expectations:
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa8434ab530>.formatted_fraction_of_year(any_parameters)
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa8434ab530>.formatted_shift_entitlement(any_parameters)
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa8434ab530>.formatted_shifts_per_week(any_parameters)
17) Failure:
CalculateYourHolidayEntitlementTest#test_: shift worker starting and leaving this year with a date with a leaving date should be done when all entered. [/Users/chrisroos/Code/alphagov/smart-answers/test/integration/smart_answer_flows/calculate_your_holiday_entitlement_test.rb:816]:
unexpected invocation: SmartAnswer::Calculators::HolidayEntitlement.new(:start_date => '2015-02-16', :leaving_date => '2015-08-01', :leave_year_start_date => nil, :hours_per_shift => 7.0, :shifts_per_shift_pattern => 4, :days_per_shift_pattern => 8.0)
unsatisfied expectations:
- expected exactly once, invoked twice: SmartAnswer::Calculators::HolidayEntitlement.new(:start_date => '2015-02-16', :leaving_date => '2015-08-01', :leave_year_start_date => nil, :hours_per_shift => 7, :shifts_per_shift_pattern => 4, :days_per_shift_pattern => 8)
satisfied expectations:
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa8432b91a0>.formatted_fraction_of_year(any_parameters)
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa8432b91a0>.formatted_shift_entitlement(any_parameters)
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa8432b91a0>.formatted_shifts_per_week(any_parameters)
18) Failure:
CalculateYourHolidayEntitlementTest#test_: shift worker starting this year with a date with a leave year start date should be done when all entered. [/Users/chrisroos/Code/alphagov/smart-answers/test/integration/smart_answer_flows/calculate_your_holiday_entitlement_test.rb:668]:
unexpected invocation: SmartAnswer::Calculators::HolidayEntitlement.new(:start_date => '2015-02-16', :leaving_date => nil, :leave_year_start_date => '2015-07-01', :hours_per_shift => 7.5, :shifts_per_shift_pattern => 4, :days_per_shift_pattern => 8.0)
unsatisfied expectations:
- expected exactly once, invoked twice: SmartAnswer::Calculators::HolidayEntitlement.new(:start_date => '2015-02-16', :leaving_date => nil, :leave_year_start_date => '2015-07-01', :hours_per_shift => 7.5, :shifts_per_shift_pattern => 4, :days_per_shift_pattern => 8)
satisfied expectations:
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa845009ed0>.formatted_fraction_of_year(any_parameters)
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa845009ed0>.formatted_shift_entitlement(any_parameters)
- expected exactly once, invoked once: #<SmartAnswer::Calculators::HolidayEntitlement:0x7fa845009ed0>.formatted_shifts_per_week(any_parameters)
3910 runs, 20697 assertions, 18 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -I"lib:test" -I"/Users/chrisroos/Code/alphagov/smart-answers/.bundle/gems/gems/rake-10.4.2/lib" "/Users/chrisroos/Code/alphagov/smart-answers/.bundle/gems/gems/rake-10.4.2/lib/rake/rake_test_loader.rb" "test/functional/duplicate_flow_test.rb" "test/functional/routing_test.rb" "test/functional/smart_answers_controller_test.rb" "test/integration/engine/calendar_export_test.rb" "test/integration/engine/changing_answer_test.rb" "test/integration/engine/checkbox_questions_test.rb" "test/integration/engine/country_and_date_questions_test.rb" "test/integration/engine/data_partials_test.rb" "test/integration/engine/input_validation_test.rb" "test/integration/engine/money_and_salary_questions_test.rb" "test/integration/engine/multi_choice_and_value_questions_test.rb" "test/integration/engine/precalculations_test.rb" "test/integration/engine/report_a_problem_test.rb" "test/integration/healthcheck_test.rb" "test/integration/smart_answer_flows/additional_commodity_code_test.rb" "test/integration/smart_answer_flows/adoption_calculator_test.rb" "test/integration/smart_answer_flows/am_i_getting_minimum_wage_test.rb" "test/integration/smart_answer_flows/am_i_getting_minimum_wage_v2_test.rb" "test/integration/smart_answer_flows/appeal_a_benefits_decision_test.rb" "test/integration/smart_answer_flows/apply_for_probate_test.rb" "test/integration/smart_answer_flows/apply_tier_4_visa_test.rb" "test/integration/smart_answer_flows/benefit_cap_calculator_test.rb" "test/integration/smart_answer_flows/benefits_abroad_test.rb" "test/integration/smart_answer_flows/benefits_if_you_are_abroad_test.rb" "test/integration/smart_answer_flows/calculate_agricultural_holiday_entitlement_test.rb" "test/integration/smart_answer_flows/calculate_child_maintenance_test.rb" "test/integration/smart_answer_flows/calculate_married_couples_allowance_test.rb" "test/integration/smart_answer_flows/calculate_redundancy_pay_test.rb" "test/integration/smart_answer_flows/calculate_redundancy_pay_v3_test.rb" "test/integration/smart_answer_flows/calculate_state_pension_test.rb" "test/integration/smart_answer_flows/calculate_statutory_sick_pay_test.rb" "test/integration/smart_answer_flows/calculate_your_holiday_entitlement_test.rb" "test/integration/smart_answer_flows/check_uk_visa_test.rb" "test/integration/smart_answer_flows/check_uk_visa_v2_test.rb" "test/integration/smart_answer_flows/childcare_costs_for_tax_credits_test.rb" "test/integration/smart_answer_flows/energy_grants_calculator_test.rb" "test/integration/smart_answer_flows/estimate_self_assessment_penalties_test.rb" "test/integration/smart_answer_flows/find_a_british_embassy_test.rb" "test/integration/smart_answer_flows/help_if_you_are_arrested_abroad_test.rb" "test/integration/smart_answer_flows/inherits_someone_dies_without_will_test.rb" "test/integration/smart_answer_flows/legalisation_document_checker_test.rb" "test/integration/smart_answer_flows/marriage_abroad_test.rb" "test/integration/smart_answer_flows/marriage_abroad_v2_test.rb" "test/integration/smart_answer_flows/maternity_calculator_test.rb" "test/integration/smart_answer_flows/minimum_wage_calculator_employers_test.rb" "test/integration/smart_answer_flows/minimum_wage_calculator_employers_v2_test.rb" "test/integration/smart_answer_flows/overseas_passports_test.rb" "test/integration/smart_answer_flows/paternity_calculator_test.rb" "test/integration/smart_answer_flows/pip_checker_test.rb" "test/integration/smart_answer_flows/plan_adoption_leave_test.rb" "test/integration/smart_answer_flows/register_a_birth_test.rb" "test/integration/smart_answer_flows/register_a_death_test.rb" "test/integration/smart_answer_flows/request_for_flexible_working_test.rb" "test/integration/smart_answer_flows/simplified_expenses_checker_test.rb" "test/integration/smart_answer_flows/simplified_expenses_checker_v2_test.rb" "test/integration/smart_answer_flows/state_pension_through_partner_test.rb" "test/integration/smart_answer_flows/state_pension_topup_test.rb" "test/integration/smart_answer_flows/student_finance_calculator_test.rb" "test/integration/smart_answer_flows/towing_rules_test.rb" "test/integration/smart_answer_flows/uk_benefits_abroad_test.rb" "test/integration/smart_answer_flows/uk_benefits_abroad_v2_test.rb" "test/integration/smart_answer_flows/vat_payment_deadlines_test.rb" "test/integration/smartdown_flows/example_plugins_test.rb" "test/integration/smartdown_flows/question_types_test.rb" "test/unit/age_related_allowance_chooser_test.rb" "test/unit/calculators/agricultural_holiday_entitlement_calculator_test.rb" "test/unit/calculators/arrested_abroad_calculator_test.rb" "test/unit/calculators/birth_calculator_test.rb" "test/unit/calculators/child_maintenance_calculator_test.rb" "test/unit/calculators/childcare_cost_calculator_test.rb" "test/unit/calculators/commodity_code_calculator_test.rb" "test/unit/calculators/holiday_entitlement_test.rb" "test/unit/calculators/maternity_benefits_calculator_test.rb" "test/unit/calculators/maternity_paternity_calculator_test.rb" "test/unit/calculators/minimum_wage_calculator_test.rb" "test/unit/calculators/minimum_wage_calculator_v2_test.rb" "test/unit/calculators/night_work_hours_test.rb" "test/unit/calculators/passport_and_embassy_data_query_test.rb" "test/unit/calculators/pip_dates_test.rb" "test/unit/calculators/plan_adoption_leave_test.rb" "test/unit/calculators/plan_maternity_leave_test.rb" "test/unit/calculators/rates_query_test.rb" "test/unit/calculators/redundancy_calculator_test.rb" "test/unit/calculators/registrations_data_query_test.rb" "test/unit/calculators/registrations_data_query_v2_test.rb" "test/unit/calculators/self_assessment_penalties_test.rb" "test/unit/calculators/state_pension_amount_calculator_test.rb" "test/unit/calculators/state_pension_topup_calculator_test.rb" "test/unit/calculators/static_data_query_test.rb" "test/unit/calculators/statutory_sick_pay_calculator_test.rb" "test/unit/calculators/translator_links_test.rb" "test/unit/calculators/vat_payment_deadlines_test.rb" "test/unit/calculators/workplace_pension_calculator_test.rb" "test/unit/calendar_state_test.rb" "test/unit/calendar_test.rb" "test/unit/checkbox_question_test.rb" "test/unit/country_select_question_test.rb" "test/unit/date_helper_test.rb" "test/unit/date_question_test.rb" "test/unit/flow_registration_presenter_test.rb" "test/unit/flow_registry_test.rb" "test/unit/flow_test.rb" "test/unit/friendly_time_diff_test.rb" "test/unit/govspeak_presenter_test.rb" "test/unit/graph_presenter_test.rb" "test/unit/ics_renderer_test.rb" "test/unit/married_couple_allowance_calculator_test.rb" "test/unit/money_question_test.rb" "test/unit/money_test.rb" "test/unit/multiple_choice_question_test.rb" "test/unit/node_presenter_test.rb" "test/unit/optional_date_test.rb" "test/unit/phrase_list_test.rb" "test/unit/predicates_test.rb" "test/unit/question_base_test.rb" "test/unit/salary_question_test.rb" "test/unit/salary_test.rb" "test/unit/smartdown_adapter/plugin_factory_test.rb" "test/unit/smartdown_adapter/presenter_test.rb" "test/unit/smartdown_adapter/registry_test.rb" "test/unit/smartdown_adapter/text_question_presenter_test.rb" "test/unit/smartdown_content/smartdown_scenarios_test.rb" "test/unit/smartdown_plugins/animal-example-multiple_test.rb" "test/unit/smartdown_plugins/extendables/data_partial_test.rb" "test/unit/smartdown_plugins/landlord-immigration-check_test.rb" "test/unit/smartdown_plugins/pay-leave-for-parents-v2_test.rb" "test/unit/smartdown_plugins/pay-leave-for-parents_adoption_test.rb" "test/unit/smartdown_plugins/pay-leave-for-parents_test.rb" "test/unit/state_test.rb" "test/unit/value_question_test.rb" "test/unit/working_days_test.rb" "test/unit/world_location_test.rb" "test/unit/worldwide_organisation_test.rb" ]
Tasks: TOP => default => test:all
(See full trace by running task with --trace)
real 5m45.876s
user 5m33.340s
sys 0m6.181s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment