Closed searls closed 10 years ago
Somewhat related for JSON endpoint testing.
Beyond that, your summary of Casper lines up with what I've heard.
I tried casperjs some months ago, and even though it was easy to start once we tried to do anything slightly complicated it failed. For example, you can't reuse anything. We wanted to have a definition of our page and just re-use that throughout our tests and we couldn't do that. We had to rewrite the same piece of code over and over. I've started to hear good things about nightwatchjs but haven't tried it. We have been using Geb (in the jvm) but there is too much context switch and we can't really integrate it with our grunt build. So still searching.... For angular, protractor also looks interesting.
On Tue, Feb 11, 2014 at 4:57 PM, Roberto Guerra notifications@github.comwrote:
I tried casperjs some months ago, and even though it was easy to start once we tried to do anything slightly complicated it failed. For example, you can't reuse anything. We wanted to have a definition of our page and just re-use that throughout our tests and we couldn't do that. We had to rewrite the same piece of code over and over. I've started to hear good things about nightwatchjs but haven't tried it. We have been using Geb (in the jvm) but there is too much context switch and we can't really integrate it with our grunt build. So still searching.... For angular, protractor also looks interesting.
Reply to this email directly or view it on GitHubhttps://github.com/linemanjs/lineman/issues/167#issuecomment-34812961 .
Closing this. Current plan is to implement a e2e test support as a plugin and to do it in a framework-agnostic way with (webdriver-sync)
Yep!
I've played around with a bunch of solutions and I think CasperJS is the least terrible I've found so far. Here are my thoughts on what I'd like to do:
I've spiked step 1 a little and I've spent a lot of time planning and prepping for step 2.
Thoughts? If there's something better than Casper for headless driver browsing, speak now!