Closed ewinge closed 8 years ago
Agree. I've been thinking about that as well. I suggest we include anonymized xml files in the public repo. If we are not sure that we can anonymize properly, we can instead use xml files from actions involving our own users or some dummy user. We could start with a small set and expand.
We could also use https://developers.exlibrisgroup.com/blog/Alma-letters-XML-samples-for-working-on-XSL-customization , but I've found some of them to produce somewhat strange results, perhaps they're outdated. Still better than nothing.
Right, we have a test user for this: Per Test.
Anonymizing large documents is demanding. Maybe a script to extract strings from XML data would help?
I guess gathering samples from a test user is probably the better approach. It shouldn't take too much time to gather samples for the most-used letters, I guess. For some letters, like FulReasourceRequestLeter, we need samples for several cases, though.
I don't have a test user at hand, but I could create one, or get the credentials for an existing one.
what's the working directory of Firefox?
The user profile folder?
Testing templates in Alma's
notification template
is cumbersome. It would be useful with atest
command for automated testing. This requires access to XML test data.This can be accomplished in different ways: