Run all scripts in a directory with phantomjs -
using phantomjs, how run scripts within directory?
ex: have 3 tests in c:\tests folder.
\firsttest.js
\secondtest.js
\thirdtest.js
i have tried below, didn't work
phantomjs tests/
phantomjs tests/*
can let me know how achieve this?
thanks,
phantomjs not test framework , neither testing library : provides scripted headless testing of web applications.
there no options in phantomjs allow run set of scripts ; there popular projects built on top of phantomjs provide convenient high-level functionality testing purposes. example, casperjs.
as said here,
it recursively scan passed directory search *.js or *.coffee files , add them stack.
a gist available here.
Comments
Post a Comment