emersion / go-webdav

A Go library for WebDAV, CalDAV and CardDAV
MIT License
325 stars 69 forks source link

Working on integration/conformance tests, if anyone is interested to join! #173

Open oliverpool opened 1 week ago

oliverpool commented 1 week ago

Hi all,

I am experimenting with running the testsuite of https://github.com/apple/ccs-caldavtester.

The setup is challenging because it expects Python2, however I got it to work with nix. My (very-WIP) state is visible under https://github.com/oliverpool/go-webdav/tree/nix/testintegration :

If only a specific test is run (go test ./testintegration -test.run=TestCardDAV), then the testsuite stops as the first error (for faster feedback) with detailed logging (for easier debugging).

Future steps:

I make no promise of commitment for this (huge?) undertaking, but if anyone is interested in giving it a try, feel free to ping me!

PS: I also don't plan to make a merge request with this ugly hack (except if the maintainers really want this), but I plan to port the fixes (if I get to this point ^^)

emersion commented 5 days ago

That sounds great, thanks for the heads up! Yeah, unfortunately I'm not super thrilled about adding Python 2 stuff in CI. Would be very much interested in any conformance fixes though!