Project

General

Profile

Actions

User story #8705

closed

Add tests for currently unstested generic methods

Added by Alexis Mousset over 8 years ago. Updated over 1 year ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Generic methods
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

We need to write tests (or fix and enable staging tests) for the following generic methods:

  • directory_create.cf
  • _classes_combine_four.cf
  • _classes_combine_three.cf
  • _classes_repaired.cf
  • _classes_sanitize.cf
  • file_copy_from_remote_source.cf
  • file_copy_from_remote_source_recursion.cf
  • file_ensure_line_present_in_ini_section.cf
  • file_from_string_mustache.cf
  • package_install_version_cmp.cf
  • package_install_version_cmp_update.cf
  • package_verify_version.cf
  • schedule_simple_nodups.cf
  • schedule_simple_catchup.cf
  • schedule_simple_stateless.cf
  • _service_check_running_smf.cf
  • _service_check_running_src.cf
  • service_ensure_started_at_boot.cf
  • service_stop.cf

Loggers are quite hard to test.

We would also need to test more cases in some complex generic methods.

Actions

Also available in: Atom PDF