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
1=== modified file 'README'
2--- README 2014-01-30 08:45:32 +0000
3+++ README 2014-02-19 14:05:59 +0000
4@@ -12,8 +12,8 @@
5 There are two types of services written in this project, Django and Restish.
6 Development varies slightly between the two.
7
8-Django
9-~~~~~~
10+PPA Assigner
11+~~~~~~~~~~~~
12 ::
13 # setup the ppa-assigner project
14 virtualenv /tmp/venv
15@@ -36,6 +36,38 @@
16 ./ppa-assigner/manage.py test ppa_assigner.TestApi #test one class
17 ./ppa-assigner/manage.py test ppa_assigner.TestApi.testFree # test one method
18
19+Ticket System
20+~~~~~~~~~~~~~
21+::
22+ # setup the ticket system project
23+ virtualenv /tmp/venv
24+ . /tmp/venv/bin/activate
25+ ./ci-utils/setup.py develop
26+ ./ticket_system/setup.py develop
27+
28+Unit-testing can be done with::
29+
30+ # via setuptools
31+ ./ticket_system/setup.py test
32+
33+ # directly via django
34+ ./manage.py test # this tests everything (including django)
35+ ./manage.py test ticket # just test the project
36+ ./manage.py test ticket.APIUpdateSubTicketStatuses #test one class
37+ ./manage.py test ticket.APIUpdateSubTicketStatuses.test_delete_subticket_not_allowed # test one method
38+
39+CLI
40+~~~
41+::
42+ # setup the CLI project
43+ virtualenv /tmp/venv
44+ . /tmp/venv/bin/activate
45+ ./ci-utils/setup.py develop
46+
47+Unit-testing can be done with::
48+
49+ ./cli/setup.py test
50+
51 Restish
52 ~~~~~~~
53 ::

Subscribers

People subscribed via source and target branches