Instead of doing:
given().
body(..).
body(..).
body(..).
body(..).
body(..).
param(..).
expect().
body(..).
body(..).
body(..).
header(..).
when().
get(..);
it would be nice to able able to re-use. E.g.
given().
spec(requestSpec1).
spec(requestSpec2).
expect().
spec(responseSpec1).
spec(responseSpec2).
when().
get(..);
The specifications can be re-used in multiple tests.
Original issue reported on code.google.com by johan.ha...@gmail.com on 23 Mar 2011 at 6:46
Original issue reported on code.google.com by
johan.ha...@gmail.com
on 23 Mar 2011 at 6:46