Introduce required testing
Unity Next UI is an evolution in the Ubuntu shell to achieve convergence across multiple form factors...phone, tablet, desktop, tv. The effort to get there will leverage the Ubuntu Touch developer preview. The Ubuntu Touch preview was written in such as a way as to be the seed for the next genertion, it is not demo code. As such, with any focused development, once created it needs testing. This blueprint is an effort to capture the testing needed to enhance & maintain quality of a the Unity Next shell. Primarly, this blueprint captures testing required to cover UnityNext. Which consists of shell core, indicators, notifications, launcher, lens, dash, hud.
Please check this list of components & there analysis wrt testing (e.g. tested, not tested, ignore, will be replaced...so don't write a test yet)
https:/
also, please mark your name as working in the doc as well as adding a line item to this blueprint
Acceptance criteria for March / ubuntu-
#1) Provide 75%+ coverage of all the UnityNext code
#2) Have Continuous Integration testing for autolanding code.
Acceptance criteria for April / ubuntu-
#1) Current test coverage is ~30%, increase to ~50% as reported in unity-phablet-
Acceptance criteria for May / ubuntu-13.05:
#1) tbd
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Unity Team
- Direction:
- Needs approval
- Assignee:
- Unity UI Team
- Definition:
- Approved
- Series goal:
- Accepted for saucy
- Implementation:
- Implemented
- Milestone target:
- ubuntu-13.05
- Started by
- kevin gunn
- Completed by
- kevin gunn
Whiteboard
Apr 11, 2013 kgunn:
Please check this list of components & there analysis wrt testing (e.g. tested, not tested, ignore, will be replaced...so don't write a test yet)
https:/
also, please mark your name as working in the doc as well as adding a line item to this blueprint
Unit tests:
run "make test" or "make check" to execute them. Find them in tests/unittests/ and plugins/
QML components tests:
Tests each internal qml component separately.
run "make qmluitests" to execute them. Find them in tests/qmluitests
Autopilot tests:
run "make autopilot" to execute them. Find them in tests/autopilot/
Unity test requirements (coming out of long email thread)
https:/
Related QML testing QTBUG:
https:/
On jenkins server see
/view/Phablet/
for a report of coverage of the unitynext code base
May 8: kgunn
removing some items as they are covered under other blueprints because they are "new" activities (e.g. notifications) or will be "overcome by events" through the natural course of our development (e.g. design dash iterations & backend api changes).
This bp was about adding coverage for existing assetts that will continue to be employed by the phablet build....
Work Items
Work items for ubuntu-13.05:
Work items for ubuntu-
[mzanetti] Introduce testing: DONE
[mzanetti] provide autopilot templates: DONE
[mzanetti] setup continuous integration system to execute and validate autopilot tests: DONE
[mzanetti] fix CI system to be able to execute unit tests that require openGL: DONE
component tst_RatingStars
[schwann] unit test tst_Carousel.qml: DONE
[cimi] unit test tst_MathLocal.qml: DONE
[cimi] unit test tst_CrossFadeIm
[cimi] unit test tst_TimeLocal.qml: DONE
[dandrader] Components/
[dandrader] Components/
[dandrader] Components/
[dandrader] Components/
[dandrader] Components/
[dandrader] Components/
[mzanetti] Dash/DashPrevie
[nicolas-doffay] Find purpose of tests/manualtests: DONE
[nicolas-doffay] Components/
[dandrader] Launcher: DONE
Work items for ubuntu-
[aacid] unit + autopilot tests for HUD: DONE
plugins/
[mzanetti] unit + autopilot tests for greeter: DONE
[mzanetti] work out a way to measure QML test coverage: DONE
[nick-dedekind] Components/
[nick-dedekind] Panel/Indicator
[nick-dedekind] Panel/Indicator
[nick-dedekind] Panel/Panel.qml: DONE
[nick-dedekind] Panel/MenuConte
[dandrader] Dash/Apps/
[dandrader] Remove fake implementations from within Shell QML code (use a fake Ubuntu.Application implementation instead when running on the desktop): DONE
[gerboland] Components/
[mzanetti] Dash/People/*: DONE
[mzanetti] SideStage: DONE
[mzanetti] FilterGrid derivates: DONE
[mzanetti] Panel/Menus/
[om26er] autopilot tests for Panel/Indicator container: POSTPONED
[paulliu] Panel/Menus/
[nick-dedekind] Dash/DashConten
[cimi] Bottombar: DONE
Dependency tree
* Blueprints in grey have been implemented.