Merge lp:~nskaggs/help-app/functional-test-template into lp:help-app
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Daniel Holbach on 2015-06-03 | ||||
| Approved revision: | 149 | ||||
| Merged at revision: | 145 | ||||
| Proposed branch: | lp:~nskaggs/help-app/functional-test-template | ||||
| Merge into: | lp:help-app | ||||
| Diff against target: |
157 lines (+129/-0) 4 files modified
HACKING (+16/-0) internals/tests/functional/help_app/__init__.py (+14/-0) internals/tests/functional/help_app/tests/__init__.py (+83/-0) internals/tests/functional/help_app/tests/test_app_launch.py (+16/-0) |
||||
| To merge this branch: | bzr merge lp:~nskaggs/help-app/functional-test-template | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Daniel Holbach (community) | 2015-05-26 | Approve on 2015-06-03 | |
| Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve on 2015-05-28 | |
|
Review via email:
|
|||
Commit Message
Add basic skeleton structure for adding functional tests
Description of the Change
Add basic skeleton structure for adding functional tests
- 144. By Nicholas Skaggs on 2015-05-26
-
fix unwanted whitespace diffs
- 145. By Nicholas Skaggs on 2015-05-26
-
flake8 happiness
PASSED: Continuous integration, rev:145
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Daniel Holbach (dholbach) wrote : | # |
Hum... do you know if a newer version of selenium is being put into Ubuntu too?
| Daniel Holbach (dholbach) wrote : | # |
This generally looks good, we might just want to add selenium to build-deps, etc and run it as part of the build.
| Daniel Holbach (dholbach) wrote : | # |
Looks like https:/
| Nicholas Skaggs (nskaggs) wrote : | # |
Yes, the QA folks are trying to get properly updated packages into the archive so the ppa isn't needed.
I agree on running it as part of the build, and I'd also like to put the current tests into a 'unit' testing folder perhaps?
| Daniel Holbach (dholbach) wrote : | # |
Hum... where exactly would you like to move tests to?
| Nicholas Skaggs (nskaggs) wrote : | # |
internals/
| Daniel Holbach (dholbach) wrote : | # |
Is this going to make anything easier?
I had a bit of a hard time moving everything around because of imports and from which path certain scripts needed to be run.
| Daniel Holbach (dholbach) wrote : | # |
Please note: I'm not rejecting your idea, I'm just trying to understand which problem we're solving. :-)
| Nicholas Skaggs (nskaggs) wrote : | # |
Yes, not in this MP regardless, lol. I guess I'll stop talking. This MP has everything in it I'd like to merge at the moment :-)
| Daniel Holbach (dholbach) wrote : | # |
In the HACKING doc, the "cd /...." command isn't quite right, ie remove the leading '/'.
Also: http://
Would this also work with launching the 'web' version?
- 146. By Nicholas Skaggs on 2015-05-28
-
fix hacking guide
- 147. By Nicholas Skaggs on 2015-05-28
-
initial modification to add helper and multiple testsuites for web and app
- 148. By Nicholas Skaggs on 2015-05-28
-
initial version
- 149. By Nicholas Skaggs on 2015-05-28
-
flake8 happiness
PASSED: Continuous integration, rev:149
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Daniel Holbach (dholbach) wrote : | # |
How can the two sets of tests (app vs web) be launched separately from each other?
| Nicholas Skaggs (nskaggs) wrote : | # |
Yes, you can launch just app or web if you wish.
autopilot3 run help_app.
autopilot3 run help_app.
However, this doesn't let you do
autopilot3 run help_app.
autopilot3 run help_app.
For that we would need to put them in separate source files. The downside is all the tests would end up in the same file.
| Daniel Holbach (dholbach) wrote : | # |
We had some code in the unit tests already to perform a 'web' or 'app' build in a tempdir already, so I attempted to make that available for the functional tests too, but it's not quite working yet... do you think you have some free cycles? lp:~dholbach/help-app/functional-test-template-improvements
| Daniel Holbach (dholbach) wrote : | # |
Coming to think of it... let's make this part of a separate bug.
| Daniel Holbach (dholbach) wrote : | # |
I filed bug 1461477 and bug 1461478.

FAILED: Continuous integration, rev:144 91.189. 93.70:8080/ job/help- app-ci/ 35/ 91.189. 93.70:8080/ job/help- app-utopic- amd64-ci/ 35/console 91.189. 93.70:8080/ job/help- app-vivid- amd64-ci/ 37/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: 91.189. 93.70:8080/ job/help- app-ci/ 35/rebuild
http://