← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1464424] [NEW] Separate openstack_dashboard jasmine tests

 

Public bug reported:

We are working on making horizon/horizon usable and testable separately
from horizon/openstack_dashboard (and vice versa).

Currently, code that is brought in using the
horizon/openstack_dashboard/enabled/* files can be tested separately
from horizon, however once the API files move from horizon to
openstack_dashboard, we will have code common to multiple dashboards,
but not included by any of the enabled/* files.

This will likely require that openstack_dashboard has its own version of
jasmine_tests.py (similar to the horizon/horizon version)

There are two patches related to this bug:
https://review.openstack.org/#/c/184543 - which isolates the API files into /horizon/horizon/static/openstack_dashboard_apis
https://review.openstack.org/#/c/186295/ - which moves the django templates used for openstack_dashboard

Finally, the API files themselves will need to move into
/horizon/openstack_dashboard, but will require this bug to be fixed to
enable that move. Otherwise, we have nowhere to include the API test
files (unlike other tests that can be brought in by a specific dashboard
using and /enabled/* file)

** 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/1464424

Title:
  Separate openstack_dashboard jasmine tests

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  We are working on making horizon/horizon usable and testable
  separately from horizon/openstack_dashboard (and vice versa).

  Currently, code that is brought in using the
  horizon/openstack_dashboard/enabled/* files can be tested separately
  from horizon, however once the API files move from horizon to
  openstack_dashboard, we will have code common to multiple dashboards,
  but not included by any of the enabled/* files.

  This will likely require that openstack_dashboard has its own version
  of jasmine_tests.py (similar to the horizon/horizon version)

  There are two patches related to this bug:
  https://review.openstack.org/#/c/184543 - which isolates the API files into /horizon/horizon/static/openstack_dashboard_apis
  https://review.openstack.org/#/c/186295/ - which moves the django templates used for openstack_dashboard

  Finally, the API files themselves will need to move into
  /horizon/openstack_dashboard, but will require this bug to be fixed to
  enable that move. Otherwise, we have nowhere to include the API test
  files (unlike other tests that can be brought in by a specific
  dashboard using and /enabled/* file)

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


Follow ups

References