atoum / AtoumBundle

This bundle provides a simple integration of atoum into Symfony 2.
MIT License
44 stars 25 forks source link

Add doc for POST with data #69

Open marmotz opened 10 years ago

marmotz commented 10 years ago

Could you add doc for using POST with any data ?

geraldcroes commented 10 years ago

Hi,

could you be more specific ? Sounds like out of the blue for me (I confess I don't know every parts of the project well).

If you're willing to give me an example, I'll do my best to document it.

marmotz commented 10 years ago

Well, I've got answer in IRC channel, but for other, it should be usefull to documente how to test a post with post data.

$this->POST('/url', array('field1' => 'data1', 'field2' => 'data2'));

And how to upload a file, too :)

jubianchi commented 10 years ago

@marmotz Why not sendng a PR with what you got from IRC ? :)

marmotz commented 10 years ago
  1. because it's longer than to create a ticket and answer questions about this ticket
  2. because I don't know how to upload a file and if there are some tricky things, optional parameters or other stuff
jubianchi commented 10 years ago

@marmotz

because it's longer than to create a ticket and answer questions about this ticket

I don't think so...

because I don't know how to upload a file

So I might say that your issue is not clear about what you think is missing from the doc... BTW, any contrib, be it complete or not, is welcome :)