dwhipple99 / caldav4j

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

Simplify unit tests #45

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The current unit tests are rather fragile and overly complex.  They should be 
restructured to not use a shared fixture and just create the minimal data 
required for each test method.  There should be more fine-grained test methods 
that test for each piece of functionality.

They should also operate against a fake CalDAV server rather than an actual 
one.  The TCK (issue 43) can then be used to test actual CalDAV server 
implementations.

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

GoogleCodeExporter commented 8 years ago
As an example, as part of issue 18, I wrote simplified unit tests for 
CalendarCalDAVReportMethodTest and FreeBusyQueryTest.  See issue 43 for a 
comment on functional tests.

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

GoogleCodeExporter commented 8 years ago
I extended the fixture class and moved some tests in the integration phase

Original comment by robipo...@gmail.com on 26 Jul 2011 at 4:40

GoogleCodeExporter commented 8 years ago
Set as enhancement

Original comment by robipo...@gmail.com on 4 Nov 2011 at 9:06