Merge lp:~canonical-platform-qa/autopilot/docs-autopilot-to-autopilot3-command into lp:autopilot

Proposed by Christopher Lee
Status: Merged
Approved by: Leo Arias
Approved revision: 536
Merged at revision: 537
Proposed branch: lp:~canonical-platform-qa/autopilot/docs-autopilot-to-autopilot3-command
Merge into: lp:autopilot
Diff against target: 60 lines (+6/-6)
2 files modified
docs/faq/faq.rst (+2/-2)
docs/tutorial/getting_started.rst (+4/-4)
To merge this branch: bzr merge lp:~canonical-platform-qa/autopilot/docs-autopilot-to-autopilot3-command
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Leo Arias (community) Approve
Review via email: mp+247541@code.launchpad.net

Commit message

Update docs from using `autopilot` to `autopilot3` command.

Description of the change

Update docs from using `autopilot` to `autopilot3` command. (just updated the few that were missed in the recent docs sprint.)

To post a comment you must log in.
Revision history for this message
Leo Arias (elopio) wrote :

Thanks.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'docs/faq/faq.rst'
--- docs/faq/faq.rst 2015-01-22 16:37:38 +0000
+++ docs/faq/faq.rst 2015-01-25 23:12:49 +0000
@@ -182,7 +182,7 @@
182182
183For instance launching gedit is as easy as::183For instance launching gedit is as easy as::
184184
185 $ autopilot launch gedit185 $ autopilot3 launch gedit
186186
187*Autopilot launch* attempts to detect if you are launching either a Gtk or Qt187*Autopilot launch* attempts to detect if you are launching either a Gtk or Qt
188application so that it can enable the correct libraries. If is is unable to188application so that it can enable the correct libraries. If is is unable to
@@ -198,7 +198,7 @@
198inform autopilot that it is a Qt application so that it can enable the correct198inform autopilot that it is a Qt application so that it can enable the correct
199support::199support::
200200
201 $ autopilot launch -i Qt testapp.py201 $ autopilot3 launch -i Qt testapp.py
202202
203Now that it has been launched with Autopilot support we can introspect and203Now that it has been launched with Autopilot support we can introspect and
204explore out application using the :ref:`vis tool <visualise_introspection_tree>`.204explore out application using the :ref:`vis tool <visualise_introspection_tree>`.
205205
=== modified file 'docs/tutorial/getting_started.rst'
--- docs/tutorial/getting_started.rst 2014-05-16 02:09:23 +0000
+++ docs/tutorial/getting_started.rst 2015-01-25 23:12:49 +0000
@@ -149,7 +149,7 @@
149149
150From the root of this directory structure, we can ask autopilot to list all the tests it can find::150From the root of this directory structure, we can ask autopilot to list all the tests it can find::
151151
152 $ autopilot list example152 $ autopilot3 list example
153 Loading tests from: /home/thomi/code/canonical/autopilot/example_test153 Loading tests from: /home/thomi/code/canonical/autopilot/example_test
154154
155 example.tests.test_window.MainWindowTitleTests.test_main_window_title_string155 example.tests.test_window.MainWindowTitleTests.test_main_window_title_string
@@ -161,7 +161,7 @@
161161
162To run our test, we use the autopilot 'run' command::162To run our test, we use the autopilot 'run' command::
163163
164 $ autopilot run example164 $ autopilot3 run example
165 Loading tests from: /home/thomi/code/canonical/autopilot/example_test165 Loading tests from: /home/thomi/code/canonical/autopilot/example_test
166166
167 Tests running...167 Tests running...
@@ -171,7 +171,7 @@
171171
172You will notice that the test application launches, and then dissapears shortly afterwards. Since this test doesn't manipulate the application in any way, this is a rather boring test to look at. If you ever want more output from the run command, you may specify the '-v' flag::172You will notice that the test application launches, and then dissapears shortly afterwards. Since this test doesn't manipulate the application in any way, this is a rather boring test to look at. If you ever want more output from the run command, you may specify the '-v' flag::
173173
174 $ autopilot run -v example174 $ autopilot3 run -v example
175 Loading tests from: /home/thomi/code/canonical/autopilot/example_test175 Loading tests from: /home/thomi/code/canonical/autopilot/example_test
176176
177 Tests running...177 Tests running...
@@ -196,7 +196,7 @@
196196
197Both the 'list' and 'run' commands take a test id as an argument. You may be as generic, or as specific as you like. In the examples above, we will list and run all tests in the 'example' package (i.e.- all tests), but we could specify a more specific run criteria if we only wanted to run some of the tests. For example, to only run the single test we've written, we can execute::197Both the 'list' and 'run' commands take a test id as an argument. You may be as generic, or as specific as you like. In the examples above, we will list and run all tests in the 'example' package (i.e.- all tests), but we could specify a more specific run criteria if we only wanted to run some of the tests. For example, to only run the single test we've written, we can execute::
198198
199 $ autopilot run example.tests.test_window.MainWindowTitleTests.test_main_window_title_string199 $ autopilot3 run example.tests.test_window.MainWindowTitleTests.test_main_window_title_string
200200
201.. _tut_test_with_interaction:201.. _tut_test_with_interaction:
202202

Subscribers

People subscribed via source and target branches