Metadata parser testing. Proxies & password
Rod Widdowson
rdw at steadingsoftware.com
Tue Apr 1 05:51:46 EDT 2014
> how are we currently doing unit testing of LDAP components?
Daniel will know the details, but for LDAP we spin up an in memory LDAP
server.
> Doing the RDBMS stuff the "right way" is easy, obviously, with HSQLDB, etc
and IIUC we're already doing that.
Right
FYI and for the record, what I'm currently doing for the
MetadataResolverParsers is that I have checked in two metadata files into
SVN. I then access them
(1) On the classpath as we usually would
(2) As a file (path extracted from the Spring ClassPath resource and
injected as a property into the config file)
(3) From HTTP taking advantage of our SVNView server
http://svn.shibboleth.net/ (with the URL pinning the file to a specific
revision)
(4) As an SVN Resource using our SVN server (again pinning to a version)
Obviously the last two are less than ideal and do introduce some fragility
which is my main motivation for this mail - to share the knowledge around.
But it seems like the biggest bang/buck and we can assume that for now this
release this infrastructure will not move. But of course what they don't
have is proxy and AuthN.
More information about the dev
mailing list