6 ms·
We pretty much have what you're describing already, except we use node.js-style require()s with browserify instead of AMD. You can write really simple unit test
by substack 15y ago
We pretty much have what you're describing already, except we use node.js-style require()s with browserify instead of AMD. You can write really simple unit tests and just execute them with a curl one-liner or you can write more integration-style tests for an existing app with t.createWindow() and t.submitForm().
- asolove 15y agoInteresting. But how do I run tests with t.createWindow locally? Do I need a publicly-accessible IP? We are currently looking at Sauce because we can write tests against Selenium and run them locally or in the cloud, plus they make it easy to tunnel in and run against things in our internal network.
- substack 15y agoRight now, you do need a public IP for t.createWindow(). We have ssh tunnels in browserling already but they don't work with testling just yet. Stay tuned. I think one of the biggest benefits of testling right now is that you don't have to install anything outside of curl to start using it.
- asolove 15y agoFantastic, I look forward to it. I started this post mostly frustrated by the idea of someone creating "yet another" js testing tool, but now I'm legitimately interested in seeing where this goes. Thanks for the fast and helpful feedback.
- jqueryin 15y agoAs an aside, the tunnel scenario is currently something that has been solved by a few other startups including: * Browserling - http://www.catonmat.net/blog/announcing-ssh-tunnels-for-browserling/ * BrowserStack - http://www.browserstack.com Clickable: http://www.catonmat.net/blog/announcing-ssh-tunnels-for-browserling/ http://www.catonmat.net/blog/announcing-ssh-tunnels-for-brow... http://www.browserstack.com http://www.browserstack.com IMO if you're going to be publishing some form of cloud SaaS for testing, this feature is a must. I personally don't like my broken code leaving the confines of the office (or opening up any outside ports).
- substack 15y agoTestling is our newest product here at browserling, so we definitely know how to make tunnels work. We just wanted to get testling launched quickly is all; tunnels are coming soon.