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: [email protected] [mailto:[email protected]] Im Auftrag von Dieter Muecke Gesendet: Samstag, 27. Juni 2009 13:01 An: [email protected] 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 [email protected] http://lists.openstreetmap.org/listinfo/josm-dev _______________________________________________ josm-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/josm-dev
