[OpenLayers-Dev] Testing
Michael Ryan
mr at mry4n.net
Mon May 20 13:12:39 PDT 2013
OK, I'm understanding TestAnotherWay and I'm coming up with tests.
I was going to use a version of the feature-click example with four overlapping circles and then click all the possibilities (none, all four, just two, etc.).
So, how do I simulate a button click in a specific location? I was looking at the test for buttonclick.html, but that doesn't seem to be what I want. And I assume it isn't practical to use TestAnotherWay's record feature?
I'm continuing to work on this. If anyone can help me out, it would be appreciated.
-m
On May 19, 2013, at 7:20 AM, Andreas Hocevar <ahocevar at opengeo.org> wrote:
> Hi,
>
> thanks for willing to help out! That pull request needs unit tests. To get started, look at the contents of the tests/ folder in the repository. The html files in there contain test cases. It should be rather self-explanatory how to write tests with TestAnotherWay (the test framework used), if you are familiar with the concept of unit tests.
>
> Andreas.
>
>
> On Fri, May 17, 2013 at 11:24 PM, Michael Ryan <mr at mry4n.net> wrote:
> Hi,
> I'd like to help get the following patch committed by doing testing on it. Can someone direct me to documentation on how to do this testing? I've found old info from trac.osgeo and info for OL3 on github. But I'm not sure what I'm supposed to do for OL 2.1x.
> Thanks,
> Mike
>
> https://github.com/openlayers/openlayers/pull/174#ref-issue-6562621
>
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
>
>
>
>
> --
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20130520/1ff63a96/attachment.html>
More information about the Dev
mailing list