On Sat, Aug 9, 2014 at 11:14 PM, Thimal Kempitiya <[email protected]> wrote:
> I also have the same problem. I need to add test cases to bloodhound_theme. > But there are no existing test in it, how should I start to add test cases > (unittest) for bloodhound_theme? and what files need to change? You can try to build off of the tests added in [1617129]. You'll need to merge from the trunk to get those changes. To run the tests, from the directory containing setup.py run: PYTHONPATH=. python setup.py test Each plugin in the Bloodhound project has a tests directory, and almost every module in the Trac project does as well. That should give you a number of examples to work from.
