Merge lp:~cjohnston/ubuntu-ci-services-itself/update-readme-ts-cli into lp:ubuntu-ci-services-itself

Proposed by Chris Johnston
Status: Merged
Approved by: Chris Johnston
Approved revision: 244
Merged at revision: 244
Proposed branch: lp:~cjohnston/ubuntu-ci-services-itself/update-readme-ts-cli
Merge into: lp:ubuntu-ci-services-itself
Diff against target: 53 lines (+34/-2)
1 file modified
README (+34/-2)
To merge this branch: bzr merge lp:~cjohnston/ubuntu-ci-services-itself/update-readme-ts-cli
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Needs Fixing
Evan (community) Approve
Review via email: mp+207195@code.launchpad.net

Commit message

Update the README for info on testing the ticket system and the CLI

To post a comment you must log in.
Revision history for this message
Evan (ev) wrote :

Looks great, thanks.

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

FAILED: Continuous integration, rev:244
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/176/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/176/rebuild

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

FAILED: Continuous integration, rev:244
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/177/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/177/rebuild

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

FAILED: Continuous integration, rev:244
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/178/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/178/rebuild

review: Needs Fixing (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'README'
--- README 2014-01-30 08:45:32 +0000
+++ README 2014-02-19 14:05:59 +0000
@@ -12,8 +12,8 @@
12There are two types of services written in this project, Django and Restish.12There are two types of services written in this project, Django and Restish.
13Development varies slightly between the two.13Development varies slightly between the two.
1414
15Django15PPA Assigner
16~~~~~~16~~~~~~~~~~~~
17::17::
18 # setup the ppa-assigner project18 # setup the ppa-assigner project
19 virtualenv /tmp/venv19 virtualenv /tmp/venv
@@ -36,6 +36,38 @@
36 ./ppa-assigner/manage.py test ppa_assigner.TestApi #test one class36 ./ppa-assigner/manage.py test ppa_assigner.TestApi #test one class
37 ./ppa-assigner/manage.py test ppa_assigner.TestApi.testFree # test one method37 ./ppa-assigner/manage.py test ppa_assigner.TestApi.testFree # test one method
3838
39Ticket System
40~~~~~~~~~~~~~
41::
42 # setup the ticket system project
43 virtualenv /tmp/venv
44 . /tmp/venv/bin/activate
45 ./ci-utils/setup.py develop
46 ./ticket_system/setup.py develop
47
48Unit-testing can be done with::
49
50 # via setuptools
51 ./ticket_system/setup.py test
52
53 # directly via django
54 ./manage.py test # this tests everything (including django)
55 ./manage.py test ticket # just test the project
56 ./manage.py test ticket.APIUpdateSubTicketStatuses #test one class
57 ./manage.py test ticket.APIUpdateSubTicketStatuses.test_delete_subticket_not_allowed # test one method
58
59CLI
60~~~
61::
62 # setup the CLI project
63 virtualenv /tmp/venv
64 . /tmp/venv/bin/activate
65 ./ci-utils/setup.py develop
66
67Unit-testing can be done with::
68
69 ./cli/setup.py test
70
39Restish71Restish
40~~~~~~~72~~~~~~~
41::73::

Subscribers

People subscribed via source and target branches