PSR-17 has a test suite: https://github.com/http-interop/http-factory-tests

I am unsure about other PSRs.
--
Woody Gilk
https://www.shadowhand.com


On Sun, Sep 29, 2019 at 8:37 PM Anton Fedonjuk <antonfedon...@gmail.com>
wrote:

> Аbstract implementation or real tests at PHPUnit.
> Why I ask about tests for "interfaces" without strict types (in most
> cases)?
> Because many packages writing "Implementation of PSR-*" in description
> don't even suspect that is not true.
> As example: half libraries based on PSR-7 returning wrong result by
> Psr\Http\Message::getHeaders(). They returns headers with normalized names
> (array keys).
> Also some standarts have very abstact description, we do not need to look
> far for an example:
> Call Psr\Http\Message::withHeader('Foo', '...')->withAddedHeader('foo',
> '...');
> What will return method getHeaders: ['Foo' => '...', ...] or ['foo' =>
> '...', ...]?
> I don't found answer in PRS-7 :(
>
> --
> You received this message because you are subscribed to the Google Groups
> "PHP Framework Interoperability Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to php-fig+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/php-fig/c4d8f4d2-663f-47c0-ab82-0092b6dd522b%40googlegroups.com
> <https://groups.google.com/d/msgid/php-fig/c4d8f4d2-663f-47c0-ab82-0092b6dd522b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups "PHP 
Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to php-fig+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/CAGOJM6%2B4wVGn5KrszNupkkMAeouhsx6u0BCENSwsYzLCoh6YmQ%40mail.gmail.com.

Reply via email to