Re: [Stripes-users] Testing Multipart Form and FileBean with MockRoundtrip

2013-08-14 Thread VANKEISBELCK Remi
Hi Brandon, Maybe write your own ActionBeanPropertyBinder for those tests ? One that sets the FileBean even if nothing is posted, depending on your testing context ? Looks a bit heavyweight but I can't think of anything else yet... Cheers Remi 2013/8/14 Brandon Goodin

[Stripes-users] Testing Multipart Form and FileBean with MockRoundtrip

2013-08-13 Thread Brandon Goodin
I am in a situation where I need to write a unit test for a stripes action and the action supports a multipart form with a required file upload. I don't see how it is possible to use the MockRoundtrip and test file uploads with FileBean. What is the proper way to test Actions that back a