Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1302)

Issue 10383047: Further improve test independence.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by teknico
Modified:
10 years, 10 months ago
Reviewers:
bac, mp+170408, gary.poster
Visibility:
Public.

Description

Further improve test independence. Remove many test interdependencies by giving local window.flags variables to modules that need it. Use loadFixture everywhere instead of duplicating code, including in the jujuTests.utils object itself. Mark the remaining test interdependencies and defects, to be fixed later. Remove a meaningless test at the bottom of test_startup.js.bottom . Add removal of generated test_startup.js file to Makefile "clean" entry. https://code.launchpad.net/~teknico/juju-gui/test-interdep-cleanup/+merge/170408 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 9

Patch Set 2 : Further improve test independence. #

Patch Set 3 : Further improve test independence. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M test/index.html View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 6
teknico
Please take a look.
10 years, 10 months ago (2013-06-19 17:36:37 UTC) #1
gary.poster
LGTM with addressing/considering comments. Thank you Gary https://codereview.appspot.com/10383047/diff/1/app/templates/overview.handlebars File app/templates/overview.handlebars (right): https://codereview.appspot.com/10383047/diff/1/app/templates/overview.handlebars#newcode20 app/templates/overview.handlebars:20: <li class="landscape-reboot"><a ...
10 years, 10 months ago (2013-06-19 18:07:26 UTC) #2
bac
LGTM 2 https://codereview.appspot.com/10383047/diff/1/app/templates/overview.handlebars File app/templates/overview.handlebars (right): https://codereview.appspot.com/10383047/diff/1/app/templates/overview.handlebars#newcode20 app/templates/overview.handlebars:20: <li class="landscape-reboot"><a href="">Machine Restart Needed</a></li> what is ...
10 years, 10 months ago (2013-06-19 18:20:28 UTC) #3
teknico
Thanks for both reviews, Gary and Brad. https://codereview.appspot.com/10383047/diff/1/app/templates/overview.handlebars File app/templates/overview.handlebars (right): https://codereview.appspot.com/10383047/diff/1/app/templates/overview.handlebars#newcode20 app/templates/overview.handlebars:20: <li class="landscape-reboot"><a ...
10 years, 10 months ago (2013-06-20 11:50:17 UTC) #4
teknico
*** Submitted: Further improve test independence. Remove many test interdependencies by giving local window.flags variables ...
10 years, 10 months ago (2013-06-20 12:04:08 UTC) #5
teknico
10 years, 10 months ago (2013-06-20 13:48:34 UTC) #6
*** Submitted:

Further improve test independence.

Remove many test interdependencies by giving local window.flags variables
to modules that need it.

Use loadFixture everywhere instead of duplicating code, including in the
jujuTests.utils object itself.

Mark the remaining test interdependencies and defects, to be fixed later.

Remove a meaningless test at the bottom of test_startup.js.bottom .

Add removal of generated test_startup.js file to Makefile "clean" entry.

R=
CC=
https://codereview.appspot.com/10383047
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b