문제

I've just wrote MIME parser and tested it on 1000+ messages from my inbox, so looks like it's working well. However, most of these messages are private and I cannot use them in public unit tests or add them to VCS.

Are there any well-known/public sets of mail messages to be used for MIME parser unit testing?

I thought about extracting original MIME messages from public mailing lists by HTTP, but it will make test very slow and non-repeatable.

도움이 되었습니까?

해결책

http://www.imc.org/mimetest/ is a repository for one such set of testing messages. Like the page details, such sets have been the targets for spammers in the past, so it could be one reason they're a bit hard to find.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top