[josm-dev] unit testing and functional testing of plugins
Jo
winfixit at gmail.com
Mon Jun 22 07:13:06 UTC 2015
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
More information about the josm-dev
mailing list