on xenial help sign in
Add some info about autopilot tests
commitefc28e771f541a343d0a5b72be37d31215dd5278 authorAlbert Astals <albert.astals@canonical.com> dateThu 9 Jan 2014, 10:57 (13 years ago) parentdc8aa4d
1 file changed+21
CODING+21
CODING+21
@@ -166,3 +166,24 @@ $ make tryDragHandle
166166NB: Manual test or interation doesn't make sense for all components or classes,
167167particularly the non-graphical ones. In such cases no "tryFoo" make target is
168168provided.
169+
170+Running autopilot tests
171+=======================
172+
173+Autopilot tests are run from the source directory.
174+
175+To run the test first you need to install
176+
177+$ make -C builddir install
178+
179+And then run autopilot
180+
181+$ PYTHONPATH=tests/autopilot autopilot run unity8
182+
183+If you want to see the list of existing autopilot tests you can do
184+
185+$ PYTHONPATH=tests/autopilot autopilot list unity8
186+
187+And then run a single test with
188+
189+$ PYTHONPATH=tests/autopilot autopilot run unity8.some.very.long.test.name