NgRx utility helper and Old solutions to new testing problems
Details
Welcome JS'ers!
There are two talks for this month: NgRx utility helper by Wilson Hobbs; and Old solutions to new testing problems by Josh Justice.
1st talk: NgRx utility helper library
NgRx is a powerful state management library for Angular based on the Redux pattern. Many large production enterprise applications rely on it to manage data in their applications. Version 8.0 of NgRx saw the new @ngrx/data package, which is great for managing state abstractly, but is far from configurable. For more complex entity management, Wilson developed ngrx-poly for an app he is building for my employer, called RiSE. ngrx-poly is a super flexible, highly-configurable wrapper around common entity management in NgRx. In addition to supplying actions, side effects, and reducers out of the box, it’s easy to add your own on top of what ngrx-poly provides you. In this talk, he will be going over the use cases, implementation, and configuration options for ngrx-poly.
Wilson Hobbs is a Computational Media student at Georgia Tech. He has been working with JavaScript for over six years, and has worked with AngularJS and Angular for four years. He is a frontend engineer at CaliStyle Technologies, where he works on frontend for their flagship product, RiSE.
2nd talk: Old solutions to new testing problems
JavaScript test tooling has advanced a lot in the last few years, but tooling can’t solve everything—we still have decisions to make about how to optimally set up our tests. It would be great if we could learn from experienced testers who came before us, but it can be difficult to follow writing about testing in a programming language we aren’t familiar with.
Luckily, there’s one book in particular that has a lot of language-agnostic testing wisdom to share: xUnit Test Patterns. We’ll walk through some of the “test smells” it describes and see examples of how they commonly arise in JavaScript, then we’ll apply the principles from the book to solve these problems. You’ll walk away from this session with more tools in your tool belt to solve testing problems, and clearer language to talk about the tools you already have.
Josh Justice has worked as a developer for 14 years across backend, frontend, and mobile platforms. He writes about testing and test-driven development on https://learntdd.in and https://reactnativetesting.io, and speaks about them at meetups and conferences.
