Currently I'm trying to improve my TDD (PHPspec) in Laravel, though I'm facing several problems when classes need to work with external services. Think about a mailserver (IMAP) which I need to read out.
Should I just hardcode the responses (and mime strings) in the Spec class or connect a "testing" imap account somewhere?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community