← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1435869] [NEW] [Launch Instance Fix] Establish Baseline Unit Tests

 

Public bug reported:

The Angular work done for Launch Instance should have a baseline set of
unit tests for each of the steps and the infrastructure supporting them
(model, wizard implementation, etc.).

These tests should ensure that each component has basic tests in their
associated .spec.js files.

The expectations for such components would be:

Controllers:
 - test for name
 - test injected elements (maybe inherent in other tests)
 - test each exposed logic function (whether on scope or on controller object)

Filters:
 - should be tested for expected object
 - should be tested for lack of expected object (undefined, null, etc. preferably using angular's presence functions)

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1435869

Title:
  [Launch Instance Fix] Establish Baseline Unit Tests

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  The Angular work done for Launch Instance should have a baseline set
  of unit tests for each of the steps and the infrastructure supporting
  them (model, wizard implementation, etc.).

  These tests should ensure that each component has basic tests in their
  associated .spec.js files.

  The expectations for such components would be:

  Controllers:
   - test for name
   - test injected elements (maybe inherent in other tests)
   - test each exposed logic function (whether on scope or on controller object)

  Filters:
   - should be tested for expected object
   - should be tested for lack of expected object (undefined, null, etc. preferably using angular's presence functions)

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1435869/+subscriptions


Follow ups

References