Re: [TFUI] golden copy tests
Anthony Williams <anthony_w.geo-/[email protected]> Thu, 15 Jun 2006 15:52:44 +0100
| Newsgroups | gmane.comp.programming.test-first-user-interfaces |
|---|---|
| Organization | Just Software Solutions Ltd |
| Message-ID | <[email protected]> |
Phlip <[email protected]> writes: > Anthony Williams wrote: > >> Uncompressed, unencrypted PDF isn't too bad, it's just text. If you can >> test PostScript, I would have thought you could test raw PDF. It's only when >> you add the compression and encryption that you have to worry. > > Are parsers for PDF available? GhostScript can read PDF. > Note this is all test-last, not TFUI. The best system would plug a > Mock Renderer in for the PDF Renderer, so tests can instantly get the > rendered version in some convenient format... Agreed. The only time I can imagine wanting to test PDF output directly in a Test-First scenario is when testing the PDF renderer. In this case, you need a good understanding of PDF, and can check the output stream (as text) directly. Compression is a separate layer that replaces a normal (text) PDF object definition with a compressed version. The same applies to encryption. Anthony -- Anthony Williams Software Developer Just Software Solutions Ltd http://www.justsoftwaresolutions.co.uk ------------------------ Yahoo! Groups Sponsor --------------------~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> To unsubscribe, email: TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/TestFirstUserInterfaces/ <*> To unsubscribe from this group, send an email to: TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/