That's a great talk! Thank you so much. The discovery for me was the possibility to trigger output events of child components which at the end is pretty obvious. This makes it real to properly unit test html template as Input bindings can be tested via access to attributes.
Testing with Protractor can be done with jasmine testing framework but i can see that many people also use karma mocha cucumber type of framework so what are the limitations of jasmine as well as other
anyone know where i can get more content on tutorials for angular2 and jasmine unit testing? I can't seem to find many working examples of more complicated modules to test
In Jasmine, the beforeEach() method identifies code that runs before every test, which is identified by the it() method. All she is saying is that when the zone is created for the it() method, the beforeEach() method must also be included in that zone in ordered for the test to be run correctly. Otherwise, the test will always fail (at best) because the code in the beforeEach() method wasn't included in the zone.
The technique is nice, but the talk is the most boring one I have ever attended. God damn, please throw in a joke or two and don't close your eyes every time as you would wish to be somewhere else.
That's a great talk! Thank you so much. The discovery for me was the possibility to trigger output events of child components which at the end is pretty obvious. This makes it real to properly unit test html template as Input bindings can be tested via access to attributes.
Very clear explanations: thanks Juiie!
Testing with Protractor can be done with jasmine testing framework but i can see that many people also use karma mocha cucumber type of framework so what are the limitations of jasmine as well as other
02:54 karma 04:28 jasmine 05:08 ngmodules testbad 10:28 testing components
anyone know where i can get more content on tutorials for angular2 and jasmine unit testing? I can't seem to find many working examples of more complicated modules to test
Might be this one github.com/juliemr/angularconnect-2016
I got it from her Github profile.
This really excellent. Thx
The course content is nicely jotted.. When we make the speed to 0.75, the course appears to be like that of a teacher who wants to impart knowledge..
Great talk, the docs a bit cryptic
Can anyone restate her comments at 34:40-35:03 please and thank you.
In Jasmine, the beforeEach() method identifies code that runs before every test, which is identified by the it() method. All she is saying is that when the zone is created for the it() method, the beforeEach() method must also be included in that zone in ordered for the test to be run correctly. Otherwise, the test will always fail (at best) because the code in the beforeEach() method wasn't included in the zone.
The technique is nice, but the talk is the most boring one I have ever attended. God damn, please throw in a joke or two and don't close your eyes every time as you would wish to be somewhere else.
Yeah I kept zoning out, but I don't think many people can get animated when talking about tests
unless they genuinely love it