upvote
By working with a target visual, didn't they do exactly that?

Don't think you can write a unit test that ensures it "looks good", and can report what the issue is if it doesn't.

reply
For diagram based generation I use tests to flag too many objects (too busy), obscured labels, line overlaps. These can be programmatically encoded and then assessed for i improvements.
reply