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

Popular posts from this blog

Line ending issue with Mercurial or Visual Studio -

tags - Jquery Mixitup plugin help prevent handlers being destroyed -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -