Mr. Greenberg,

Excellent videos for applying TDD/BDD to AngularJS. I have not heard anyone 
mention Uncle Bob, DRY etc. in any Angular videos. Most of the online 
training courses start with designing the UI layer. Can you recommend any 
resources including mentoring or online training using the TDD approach 
first ? 

Thanks in advance.


On Monday, September 16, 2013 2:43:10 PM UTC-7, Andrew C. Greenberg wrote:
>
> The following plnkr illustrates the problem:
>
>   http://plnkr.co/edit/ZpdjrlZMADdeGxKYpR9Z?p=preview
>
> The test
>
> <pre>
>   ...
>
>   beforeEach(inject(function($rootScope, $compile) {
>     scope = $rootScope.$new();
>     element = $compile('<directive></directive>')(scope);
>     $rootScope.$digest();
>   }));
>
>   ...
>
>   it('should have the text be blue', function() {
>     expect(element.hasClass('blue')).toBeTruthy();
>   });  
>   
> });
> <pre>
>
> passes fine in the ordinary case, but fails when the "ngAnimate" dependency
> is added to the main module.  The problem seems to have something to do 
> with
> the recent changes to ng-class and animation.  What's going on?
>

-- 
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.

Reply via email to