The way this was done in EDM was to make a screen, save the output and validate against that at runtime. Look at integration tests.