Hi Jonas, First off thank you for your detailed blog posts. Really nice :)
I am using a similar setup to your project but with the latest versions of Angular, Require and Karma and I can not get Karma to use require correctly (not loading files correctly). Have you upgraded or seen any similar issues more recently? Thanks, Sarah On Monday, 24 February 2014 05:58:49 UTC, Jonas Rabbe wrote: > > > Sorry for the long delay, but the last two months have been spent writing > an entirely new app that taught us a bunch more. I have finally gotten > around to writing the promise post on Testing AngularJS in a RequireJS > environment: > http://engineering.radius.com/post/77677879234/testing-angularjs-in-a-requirejs-environment > > Hope someone gets some value out of it. > > Best regards, > // Jonas > > > On Sat, Dec 28, 2013 at 9:34 AM, Jonas Rabbe <[email protected] > <javascript:>> wrote: > >> Hi all, >> >> Hope you had a great Christmas (or whatever you celebrate). As promised I >> wrote the first installment about our RequireJS and AngularJS setup: >> http://engineering.radius.com/post/71425827156/requirejs-with-angularjs-an-example >> >> I hope to find time before New Years to write a similar post about our >> testing setup. >> >> // Jonas >> >> On Mon, Dec 23, 2013 at 9:41 AM, Jonas Rabbe <[email protected] >> <javascript:>> wrote: >> >>> >>> Like I mentioned, we are running tests with Jasmine and Karma in our >>> RequireJS based setup. It's definitely doable and not as hard as I figured. >>> The biggest hurdle was setting up `ng-html2js` because we do not have a >>> global `angular` object available. >>> >>> I just started writing some of these small articles I mentioned before, >>> and will post again once I put something on the blog. >>> >>> // Jonas >>> >>> >>> On Sun, Dec 22, 2013 at 7:39 AM, Stu Salsbury <[email protected] >>> <javascript:>> wrote: >>> >>>> Danny, if Karma is a must-have there might be reason for concern. >>>> Perhaps it was my ignorance or impatience but I never figured out how to >>>> make it work with requirejs. It was pretty straightforward in mocha after >>>> finding a sample project on github. >>>> On Dec 21, 2013 8:46 PM, "Danny Eck" <[email protected] <javascript:>> >>>> wrote: >>>> >>>>> @stu u totally identified my cause for concern here. Our test setup >>>>> right now revolves around karma and jasmine *without* any Require stuff. >>>>> There’s pressure mounting to start using Require for everything and since >>>>> i'm not all that familiar with it, my first reaction is fear. >>>>> >>>>> A working example of an angular app with the following (ideal) >>>>> characteristics would be HUGELY helpful: >>>>> >>>>> - multiple user-defined angular modules with inter dependence >>>>> - require + karma + jasmine setup >>>>> - a basic build routine (grunt) >>>>> >>>>> After seeing it all work together i could at least offer "yes it can >>>>> be done. We'll start putting the pieces together" instead of "gee whiz... >>>>> I >>>>> dunno". Experimenting on my own here probably would not be a good use of >>>>> time. >>>>> >>>>> I'll have to check out the potato project. Getting more familiar with >>>>> Require also seems like a good idea. Maybe more teams like mine would be >>>>> hip to require + angular if there were more articles/demos/resources >>>>> teaching this kind of thing. Can anyone recommend? >>>>> >>>>> -- >>>>> 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/4-otp3gTz5s/unsubscribe. >>>>> To unsubscribe from this group and all its topics, send an email to >>>>> [email protected] <javascript:>. >>>>> To post to this group, send email to [email protected] >>>>> <javascript:>. >>>>> Visit this group at http://groups.google.com/group/angular. >>>>> For more options, visit https://groups.google.com/groups/opt_out. >>>>> >>>> -- >>>> 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/4-otp3gTz5s/unsubscribe. >>>> To unsubscribe from this group and all its topics, send an email to >>>> [email protected] <javascript:>. >>>> To post to this group, send email to [email protected] >>>> <javascript:>. >>>> Visit this group at http://groups.google.com/group/angular. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> >> > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
