Is there any way to test server side code using JSTestDriver?
Posted
by dhackner
on Stack Overflow
See other posts from Stack Overflow
or by dhackner
Published on 2010-06-15T04:46:39Z
Indexed on
2010/06/15
4:52 UTC
Read the original article
Hit count: 512
I'm new to JS unit testing and I like what I've read about JSTestDriver. The idea of have the suite run every time you save is pretty cool.
JSTestDriver runs Javascript in a browser sandbox and PHP runs on the server. If the browser slaves can serve from an arbitrary server is there any reason that you couldn't test it via AJAX? It this a misuse/misunderstanding of what the framework is for?
Any clarifications are appreciated.
© Stack Overflow or respective owner