Conversations about Front-End Testing. Every single line of code that is tested is a win for us. Unit, Integration, E2E, Snapshot, Visual Regression. Expect Exceptional Discussions about Frameworks, Tools, Libraries, and Techniques. Frontend Testing is such an opinionated topic and hosts Vanessa Böhner, Roman Kuba, Tobias Timm, Markus Wolf, David Müllerchen, and Mirjam Bäuerlein will dive deep into it to answer all your... or their questions. The web develops quickly. It's time that the testing evolves with it.
9: Jest with Tim Seckinger
2: Testing UI Components
In this episode, Mirjam Bäuerlein, Roman Kuba, and Vanessa Böhner talked about how to test UI Components like Vue, React or Svelte components. They discussed when they 'shallowMount' and 'mount' components, and when they mock or don't mock API requests, stores, or other dependencies. Roman and Mirjam tell stories about performance issues, whereas Vanessa never experiences those problems working on a micro-frontend bases project in the last couple of months. On the contrary, she and her teams needed strict rules about what exactly one component or one unit is.
1: Cypress: E2E Testing
Dave, Mirjam and Vanessa had a closer look at the E2E testing tool Cypress (Cypress.io). First, they clarified what E2E Testing is and which role those tests play in the Testing Pyramid. They discussed the pain points other End To End Testing Suites like Selenium. But is Cypress the perfect newcomer on the market or is it just another hype? They talked about the weak points of the library, too.
8: XState with David Khourshid
In this episode of expect(Exception), Vanessa and Tobi talk to David Khourshid about State Machines. They talk about his inspiration to build XState and how to add state machines to existing codebases. As usual, they discuss what possible tradeoffs. In the end they give a lookout for future changes and where to find the XState community. David shares a great tip how he organises himself and gets so many things done.
7: Cypress, the Deep-Dive
Vanessa and Tobi T. are diving deep into the beloved End-to-End testing framework Cypress, together with Priyanka Kore and Tobias Struckmeier.
Tobias S. is an official Cypress Ambassador and also organizes the first Cypress Meetup in Germany.
Long-awaited answers to questions like, "On which data should I grab on? id, data-*, test-id, ...", "When should I bring in e2e-tests?", "Are there more UI-driven ways to create e2e-tests?" are finally clarified, and you will also get a glimpse of some pretty amazing stuff that is currently experimental within Cypress.
If you are entirely new to Cypress, don't miss to check out our previous episode about the basics!
Glebs article about Page objects https://www.cypress.io/blog/2019/01/03/stop-using-page-objects-and-start-using-app-actions/
Tobias S: briefs.video
Priyanka: Gleb's Cypress blog
35% discount on all Manning Products with the code "podexcept20" using the link: https://www.manning.com/?utm_source=expect-exception&utm_medium=affiliate&utm_campaign=affiliate&a_aid=expect-exception
They talk about the Testing Pyramid, Code Coverage, Jest and Cypress, Mocha, and much more - check out the chapter marks for more information. Lucas also mentioned an article about to never to a full rewrite.
Free eBooks & Codes
We are happy to offer 4 free eBook copies. To win, go on Twitter, follow @expectPodcast, and comment or retweet the post about this episode telling that you'd like to win a free copy of Blazor in Action. Deadline: 9th of February 2021, 6 pm CET.
Manning Publications 35% discount code for all of their products in all formats: podexcept20
Music from Pixabay
Domain Hosting by @webdave_de