node.js - Zombie.js testing framework, write to a file -


i have not found yet being able write file zombie.js.
realize js doesn't allow writing files, possible combine node.js zombie.js?

does know if it's @ possible write file zombie.js framework?

i'm attempting dump contents of html page when test fails, won't around see fail.

since zombie.js built on node.js, can use node fs module @jim schubert suggested.

fs.writefile('message.txt', 'hello node', function (err) {   if (err) throw err;   console.log('it\'s saved!'); }); 

manual


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -