Global Directory
Global Directory
EXPLORE OUR SITES
London Stock Exchange Group
LSEG Data & Analytics
MyAccount
LSEG Perspectives
London Stock Exchange
FTSE Russell
LCH
Contact Us
Home
TR Internal
Unit testing delivery in Document module stylesheets?
Anthony Foerster
Documents can be modified for delivery using the $DeliveryMode flag. Does anyone do unit tests specifically for delivery? Why or why not? Does the test framework support it? I looked around a little and didn't find any delivery specific tests, have they been found too hard to maintain? Is it being done but I can't find them?
Find more posts tagged with
document
delivery
refinitiv-internal
Accepted answers
All comments
Timothy Sullivan
You should be able to do a delivery xsl test the same way as the normal XSL tests except by calling the overloaded method that takes the IDictionary< string, object > additionalParameters.
Add {"DeliveryMode", true} to the dictionary, and then be sure that your expected data is the FO xml.
Quick Links
All Forums
Recent Questions
Terms of use
Privacy & Cookie Statement
Cookies settings
Do not sell my info
Whistleblowing
UK Bribery Act
Modern Slavery Act