Skip to content

Commit

Permalink
✅ Fixed (some?) tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarlesky committed May 18, 2024
1 parent 1f99b50 commit 5bf75f1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions spec/gcov/gcov_deployment_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
# it { can_test_projects_with_gcov_with_success_because_of_ignore_uncovered_list_with_globs }
it { can_test_projects_with_gcov_with_compile_error }
it { can_fetch_project_help_for_gcov }
it { can_create_html_report }
it { can_create_gcov_html_report_from_crashing_test_runner_with_enabled_debug_for_test_cases_not_causing_crash }
it { can_create_gcov_html_report_from_crashing_test_runner_with_enabled_debug_with_zero_coverage }
it { can_create_gcov_html_report_from_test_runner_with_enabled_debug_with_100_coverage_when_excluding_crashing_test_case }
it { can_create_html_reports }
it { can_create_html_reports_from_crashing_test_runner_with_enabled_debug_for_test_cases_not_causing_crash }
it { can_create_html_reports_from_crashing_test_runner_with_enabled_debug_with_zero_coverage }
it { can_create_html_reports_from_test_runner_with_enabled_debug_with_100_coverage_when_excluding_crashing_test_case }
end


Expand Down
8 changes: 4 additions & 4 deletions spec/gcov/gcov_test_cases_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def can_fetch_project_help_for_gcov
end
end

def can_create_html_report
def can_create_html_reports
@c.with_context do
Dir.chdir @proj_name do
FileUtils.cp test_asset_path("project_with_guts_gcov.yml"), "project.yml"
Expand All @@ -203,7 +203,7 @@ def can_create_html_report
end
end

def can_create_gcov_html_report_from_crashing_test_runner_with_enabled_debug_for_test_cases_not_causing_crash
def can_create_html_reports_from_crashing_test_runner_with_enabled_debug_for_test_cases_not_causing_crash
@c.with_context do
Dir.chdir @proj_name do
FileUtils.cp test_asset_path("example_file.h"), 'src/'
Expand Down Expand Up @@ -233,7 +233,7 @@ def can_create_gcov_html_report_from_crashing_test_runner_with_enabled_debug_for
end
end

def can_create_gcov_html_report_from_crashing_test_runner_with_enabled_debug_with_zero_coverage
def can_create_html_reports_from_crashing_test_runner_with_enabled_debug_with_zero_coverage
@c.with_context do
Dir.chdir @proj_name do
FileUtils.cp test_asset_path("example_file.h"), 'src/'
Expand Down Expand Up @@ -264,7 +264,7 @@ def can_create_gcov_html_report_from_crashing_test_runner_with_enabled_debug_wit
end
end

def can_create_gcov_html_report_from_test_runner_with_enabled_debug_with_100_coverage_when_excluding_crashing_test_case
def can_create_html_reports_from_test_runner_with_enabled_debug_with_100_coverage_when_excluding_crashing_test_case
@c.with_context do
Dir.chdir @proj_name do
FileUtils.cp test_asset_path("example_file.h"), 'src/'
Expand Down
4 changes: 2 additions & 2 deletions spec/system/deployment_as_gem_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
it { test_run_of_projects_fail_because_of_crash_without_report }
it { test_run_of_projects_fail_because_of_crash_with_report }
it { execute_all_test_cases_from_crashing_test_runner_and_return_test_report_with_failue }
it { execute_and_collect_debug_logs_from_crashing_test_case_defined_by_test_case_argument }
it { execute_and_collect_debug_logs_from_crashing_test_case_defined_by_exclude_test_case_argument }
it { execute_and_collect_debug_logs_from_crashing_test_case_defined_by_test_case_argument_with_enabled_debug }
it { execute_and_collect_debug_logs_from_crashing_test_case_defined_by_exclude_test_case_argument_with_enabled_debug }
it { confirm_if_notification_for_cmdline_args_not_enabled_is_disabled }
it { can_run_single_test_with_full_test_case_name_from_test_file_with_success }
it { can_run_single_test_with_partial_test_case_name_from_test_file_with_success }
Expand Down

0 comments on commit 5bf75f1

Please sign in to comment.