yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #41328
[Bug 1394234] Re: Separate jasmine unit test for services and controllers
architecture has changed since this was submitted.
** Changed in: horizon
Status: In Progress => Invalid
--
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/1394234
Title:
Separate jasmine unit test for services and controllers
Status in OpenStack Dashboard (Horizon):
Invalid
Bug description:
In the current implementation of jasmine unit tests there is no
separation between services tests and controllers tests.
The reason to separate them is to avoid collision during tests, avoid
big templates with all the scripts, provide a better understanding on
how the tests are performed and how to add specific ones.
The second reason is controllers tests need to mock the entire horizon
application whereas services need only their dependencies, so we will
avoid huge amount of useless scripts during the service testing phase
and have a dedicated file for dependencies during the controller
testing phase.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1394234/+subscriptions
References