karma-e2e.conf.js in the tutorial is out of dated

423 views
Skip to first unread message

Rookie

unread,
Aug 16, 2013, 7:10:39 PM8/16/13
to ang...@googlegroups.com
Hi,

I am learning AngularJS with the tutorial at:
http://docs.angularjs.org/tutorial/step_03

The provided karma-e2e.conf.js is out-of-dated.
Can anyone provide a pointer to some good sample conf files?
Thanks.

-Rookie

Tom Elders

unread,
Aug 21, 2013, 8:10:57 AM8/21/13
to ang...@googlegroups.com
I'm having the same issue. It also appears to be an issue in the seed project. There is an outstanding pull request here...


Which looks like it should fix the issue in the seed, but I'm not sure when it will be merged.

There's also this open pull request for the phonecat project which again looks like it might fix the issue. 

Michael Bielski

unread,
Aug 21, 2013, 9:58:53 AM8/21/13
to ang...@googlegroups.com

worookie

unread,
Aug 21, 2013, 1:33:02 PM8/21/13
to ang...@googlegroups.com, duder...@gmail.com, michael...@yahoo.com
To Tom,

Thanks for the info - https://github.com/angular/angular-seed/pull/94/files is a good resource.
I copied its karma-e2e.conf.js, but haven't got it to work yet. Maybe some other files need to be updated as well. I will look into the details later when I have spare time.

To Michael,

There are 2 kinds of tests: unit test and end-to-end test.
The reference config file you provided is for the unit test, but I am looking for one for the end-to-end test. Anyway, thanks for the pointers. I will look at the reference about "Details of karma config" later when needed.

-Rookie


On Wed, Aug 21, 2013 at 6:58 AM, Michael Bielski <michael...@yahoo.com> wrote:

--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/BKZJ6iE6KPM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Ryan Zec

unread,
Aug 21, 2013, 1:40:57 PM8/21/13
to ang...@googlegroups.com
It should also be mentioned that you might not what to put a ton of time into the current end-2-end testing framework if you can as protractor (https://github.com/angular/protractor) is going to replace it.


--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.

worookie

unread,
Aug 21, 2013, 1:45:36 PM8/21/13
to ang...@googlegroups.com, bas...@gmail.com
To Ryan,

Ah, that's good to know that the new replacement - protractor - is coming soon.

I will stop here on the topic of karma-e2e.

Thanks! :)
Reply all
Reply to author
Forward
0 new messages