Testing is an important part of software development, but testing is not without its share of challenges. Smaller teams find it difficult to divert resources away from writing application code to write test code. It is often impractical to dedicate a single engineer to testing; even on a large team. Test writing then becomes the responsibility of all team members, and this leads to a maintenance problem with test code varying wildly from one component to the next. This talk will discuss solving these problems by creating a standard test framework that is driven by simply declaring the structure of the component being developed. Attendees will see a real-world example using Jasmine, Karma, and simple JSON to test an AngularJS application. They will also see how to automate test creation using Yeoman generators. Attendees will be able to reduce the time spent writing test code, improve their team’s testing discipline, and make their tests easier to maintain going forward.
By |2017-01-14T09:10:57-05:00January 14th, 2017|