YahooArchive / arrow

FE Test framework designed to promote TDD
http://yahoo.github.io/arrow/arrow_intro.html
BSD 3-Clause "New" or "Revised" License
55 stars 59 forks source link

Share test params between tests inside a scenario #69

Closed wangjungithub closed 11 years ago

wangjungithub commented 11 years ago

Sample: https://github.com/wangjungithub/arrow/blob/share_testParams/tests/functional/data/arrow_test/test_params_share.json

webservice controller is added at tests/functional/data/arrow_test/share_test_params/webservice-controller.js, you can move it to lib/controller to be a Arrow built-in controller if it is good enough :-)

Documentation is also updated.

Thanks, Jun (junwang@)

wangjungithub commented 11 years ago

Hi Pranav,

Thanks for your comment!

I just removed the meaningless anonymous function between collectTestParams and showYUIConsoleLog, please check the updated code.

Thanks, Jun