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

scheduled_task : Refactor win32taskscheduler_spec

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: scheduled_task
    • Template:
    • Acceptance Criteria:
      • Existing spec file should be renamed
      • Spec file should have removals / edits for unnecessary code
    • Team:
      Windows
    • Story Points:
      1
    • QA Risk Assessment:
      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

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

              Dates

              Created:
              Updated:

                Zendesk Support