Bonnie Schulkin
Bonnie Schulkin
In her 18 years in the software industry, Bonnie has discovered that she loves all things testing (how great is it when testing reveals exactly what you need to fix about your refactor or new feature?). She's particularly devoted to Test Driven Development for its emphasis on planning before coding. Bonnie is equally passionate about teaching, and she's pleased as punch to be producing online content full time. She feels weird writing about herself in the third person.
TestJS Summit 2021TestJS Summit 2021
85 min
Automated accessibility testing with jest-axe and Lighthouse CI
Workshop
Do your automated tests include a11y checks? This workshop will cover how to get started with jest-axe to detect code-based accessibility violations, and Lighthouse CI to validate the accessibility of fully rendered pages. No amount of automated tests can replace manual accessibility testing, but these checks will make sure that your manual testers aren't doing more work than they need to.
React Advanced Conference 2021React Advanced Conference 2021
19 min
React Query and Auth: Who is Responsible for What?
Top Content
React Query manages server state on the client, and auth manages user sign in/sign up/sign out. Where do these two overlap, and how do you separate concerns? This talk proposes a data flow with custom hooks for both auth and React Query to manage authentication status and user profile updates.
JSNation Live 2021JSNation Live 2021
83 min
Regular Expressions in JavaScript
Workshop
Even if you're a regular expression pro, it's not always easy to know how to apply them in JavaScript. What's the difference between RegExp.prototype.exec and String.prototype.match ? What if I want to replace all punctuation followed multiple spaces with the same punctuation followed a single space? This workshop will explore the various methods and leave you with sample code, a cheat sheet, and the confidence to choose the right method for the job.
Prerequisites:Node 12+Array methods: map and filterKnowledge of regular expression syntax helpful but not required
Workshop level:JS devs who avoid regular expressions because who has time to figure out which method to use? Level: beginner / intermediate.
TestJS Summit - January, 2021TestJS Summit - January, 2021
8 min
Testing React: A Convert’s Journey from Enzyme to Testing Library
Testing Library's advantages over Enzyme for testing React:
- Opinionated framework enforces best testing practices (test behavior, not integration) - Opinions on how to find elements ( role) encourages accessibility - jest-dom assertions lead to simple, readable tests - ESLint plugins help encourage best practices in real time - test output helps locate elusive elements
There will be a few code examples, but this is largely a discussion (rather than a how-to).