[josm-dev] unit testing and functional testing of plugins
Jo
winfixit at gmail.com
Mon Jun 22 10:30:27 UTC 2015
I updated the wiki:
https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
Merci!
Jo
2015-06-22 11:53 GMT+02:00 Vincent Privat <vincent.privat at gmail.com>:
> Hi,
> Good initiative. Tests are always welcome.
> To add new unit tests, look at those existing plugins:
> - alignways
> - elevation
> - graphview
> - opendata
> - turnrestrictions
> - wikipedia
>
> and copy the same arborescence. Please take care of SVN properties
> (externals and ignore).
>
> Then add your plugin to the list of tests being run in the common build
> file:
>
> https://trac.openstreetmap.org/browser/subversion/applications/editors/josm/plugins/build.xml#L223
>
> It will then be run in the Jenkins build, see:
>
> https://josm.openstreetmap.de/jenkins/job/JOSM-Plugins/lastCompletedBuild/testReport/
>
> Updating the wiki is also welcome :)
>
>
> 2015-06-22 9:13 GMT+02:00 Jo <winfixit at gmail.com>:
>
>> Hi,
>>
>> For some peace of mind and to avoid regression, while boldly adding
>> functionality, I'd like to encourage the student I'm mentoring to write
>> tests for the Mapillary plugin.
>>
>> I found this folder, which contains tests:
>>
>> https://josm.openstreetmap.de/browser/josm/trunk/test
>>
>> Do tests which test a plugin go in a dedicated folder as part of the
>> plugin? I guess that would make most sense. Or is it possible to add a
>> condition which tests first for the availability of the plugin one wants
>> to
>> test?
>>
>> I tried to find this information here
>> https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins, but
>> TDD is not mentioned there at all.
>>
>> Polyglot
>> _______________________________________________
>> josm-dev mailing list
>> josm-dev at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/josm-dev
>>
>
>
More information about the josm-dev
mailing list