-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Add testacular conf for E2E tests #28
Conversation
+1 |
In the latest MV AngularJS meetup Igor mentioned that Testacular was going to be the default test framework for AngularJS so I guess it should be coming soon |
With latest testacular (git clone & sudo npm install . -g) & node v0.8.8 from macports I get this error :
Any idea where it could come from? Ok, somehow the file was in |
Hi I'm new to angular and I'm trying to run the tests -- any tests. And everything seems to fail. Is the code in the middle of a jsTestDriver -> testacular transition where there is no jsTestDriver JAR and there are no testacular configs? |
@huyl The |
@vojtajina Here's what I get when I run
|
@huyl you just need to do |
I was running the one from Ok, I'll get the one from github then. Maybe the docs should be updated. |
Ok, got all the node modules installed. Now I get this error:
|
Now, you are running testacular from git repo. You can do that, however it's way better if you just install it from npm:
If you really wanna run it from git repo, you need to build it first, which means you need grunt:
|
@vojtajina Great,
And just this on the console:
I would expect to see a list of tests and some results. By the way,
Also, when I run
and the page just seems to hang, again without any results. I had to comment out the config about proxy in Then it did run with these errors:
I assume that |
In order to run e2e tests, you need a web server serving your app. That's why the proxy is getting ECONREFUSED. So again, to run the e2e tests, do this: |
FTR i get the same error ( any idea what could cause this or how to fix it? |
@tomster Can you create a simple test case, how to reproduce it ? And file an issue https://github.com/vojtajina/testacular/issues/new |
thanks for responding @vojtajina. i have since created an issue of its own at angularjs (angular/angular.js#1518) since i wasn't sure, where it belongs. should i still create the issue in testacular, as you suggested? |
Angular Scenario tests using Testacular! It exists!!!
Steps:
node scripts/web-server.js
testacular start test/e2e/testacular.conf.js
testacular run
(Assuming the latest, most awesome testacular is available of course!!!)