Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-7674

scheduled_task : Refactor win32taskscheduler_spec

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • None
    • None
    • scheduled_task
      • Existing spec file should be renamed
      • Spec file should have removals / edits for unnecessary code
    • Windows
    • 1
    • Needs Assessment

    Description

      win32taskscheduler_spec is a legacy test file that we're keeping around to vet backward compatibility

      • There are tests in there that are probably no longer necessary
      • There are tests for both the taskscheduler_api2 provider and the win32_taskscheduler provider, but the file is named win32_taskscheduler_spec.rb - the file should be renamed to something like provider_spec.rb
      • There is extensive / complicated mocking
      • Some of the tests duplicate what's in other tests (like the task integration tests or the trigger unit tests)

      Audit the tests, clean them up, rename the file, etc.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ethan Ethan Brown
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Zendesk Support