deyanTG / caldav4j

Automatically exported from code.google.com/p/caldav4j
0 stars 0 forks source link

Write a TCK for CalDAV4J #43

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
We need to write an implementation agnostic TCK that exercises CalDAV4J against 
a server.  The TCK can then be run against the various CalDAV servers available 
to test their compliance.

The TCK would test the functionality specified in the CalDAV RFC.

Original issue reported on code.google.com by markhob...@gmail.com on 18 Feb 2011 at 12:19

GoogleCodeExporter commented 8 years ago
As an example, as part of issue 18, I wrote a functional test 
FreeBusyQueryFunctionalTest.  This can be run against different server 
implementations once a mechanism to do so is decided upon.

Also, these slow running functional tests could be separated from the fast unit 
tests by configuring the Maven Surefire Plugin to run different executions.  A 
similar example is documented here:

http://www.sonatype.com/people/2009/06/integration-tests-with-maven-part-1-fails
afe-plugin/

Original comment by markhob...@gmail.com on 22 Feb 2011 at 12:04

GoogleCodeExporter commented 8 years ago
I agree about the speed of the test. I think the main goal of caldav4j is to 
run successfully against various caldav implementation.

To have some internal test successful, but failing the interaction with a real 
caldav server, is a problem.

How can we manage this stuff?

Original comment by robipo...@gmail.com on 22 Feb 2011 at 3:12

GoogleCodeExporter commented 8 years ago
1- added failsafe plugin
2- set @Ignore tag on method functional tests
3- add *ITCase on parameterized functional tests, to be run under all possible 
caldav server uris
4- TBD: what do you think to use an xml bean to configure the caldavcredential 
to test with?

Original comment by robipo...@gmail.com on 26 Jul 2011 at 10:49