where to put unittests for ubuntu-application template

Asked by Tony Byrne

Is trunk/quickly/data/templates/ubuntu-application/test a suitable place for unittests for the ubuntu-application template? I'm putting together a enhancement proposal and I'm growing an unittest to go with it. When I submit it I plan to send tests as well.

Question information

Language:
English Edit question
Status:
Solved
For:
Quickly Edit question
Assignee:
No assignee Edit question
Solved by:
Michael Terry
Solved:
Last query:
Last reply:
Revision history for this message
Best Michael Terry (mterry) said :
#1

Yes, it is a suitable place. You can see an existing unittest in apportutils.py. Shell tests can also be put in that directory, as you can see with the other .sh files there.

A lot of work has been going into getting the test framework up to speed recently. To run all tests, run "./test/run.sh" from the toplevel. Or do "./test/one-test.sh data/templates/ubuntu-application/test/MYTEST.py"

Revision history for this message
Tony Byrne (tony-badwolf) said :
#2

Thanks Michael Terry, that solved my question.