[josm-dev] unit testing

Dieter Muecke d_mueck at me.com
Sat Jun 27 12:39:30 BST 2009


I would focus on unit tests. Primarily all tests should run  
successfully after checkout from repository. Could you add missing  
libraries to svn repo?
I've only found newer versions of the same.

-Dieter

On 27 Jun 2009, at 13:21, Karl Guggisberg wrote:

> Hi,
>
> I've only recently started to commit unit test cases, in a non- 
> systematic
> way, thought. I strongly agree that there should be more test cases.
>
> I've been using the following framework(s) in test cases:
> - JUnit 4
> - FEST (for reflection)
>
> I've started to write functional test cases too, mainly for  
> automated GUI
> tests using FEST.
>
> My env is structured as follows
>  test/unit                 - unit test cases
>  test/unit/build.xml       - ANT file for unit tests
>  test/functional           - functional test cases (including GUI  
> tests and
> tests which require a running API server)
>  test/functional/build.xml - ANT file for functional test
>  test/data                 - test data for specific test cases (i.e.  
> a set
> of merge test cases)
>  test/lib/junit            - JUnit libraries
>  test/lib/fest             - FEST libraries
>  test/report               - output directory for test cases
>
> I've committed a subset of this so far. If it was useful for you, I  
> could
> commit the rest too. It's not very clean yet and it
> could be improved. So, I encourage you to work on this.
>
> Regards
> Karl
>
>
> -----Ursprüngliche Nachricht-----
> Von: josm-dev-bounces at openstreetmap.org
> [mailto:josm-dev-bounces at openstreetmap.org] Im Auftrag von Dieter  
> Muecke
> Gesendet: Samstag, 27. Juni 2009 13:01
> An: josm-dev at openstreetmap.org
> Betreff: [josm-dev] unit testing
>
> Unit testing seems slightly disregarded and I wonder why nobody has  
> opened a
> jira ticket to fix? I would do the work if we would find an  
> agreement which
> unit test library or framework to use. What are your thoughts?
>
> -Dieter
>
> _______________________________________________
> josm-dev mailing list
> josm-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/josm-dev
>





More information about the josm-dev mailing list