Ollie Kennedyolliekennedy.hashnode.dev·Jun 2, 2023Enhancing Object Matching in Kotlin Component Tests: From Simple Assertions to Hamcrest MatchersI was writing a component test in Kotlin for a scenario where we publish an event to a Kafka topic whenever we receive a request from an upstream system. It offered a good opportunity to learn how to write a custom matcher for comparing two different...Discuss·4 likesKotlin
Blossomblossom.hashnode.dev·Feb 1, 2023UI Testing: Unit vs Component testWhen it comes to testing your frontend applications; there are many testing methodologies: unit testing, component testing, integration and end-to-end test. This article focuses on unit and component testing as they are commonly used interchangeably ...Chinenye Anikwenze and 1 other are discussing this2 people are discussing thisDiscuss·15 likes·352 readsfrontend conceptsreact testing
Canopascanopas.hashnode.dev·Feb 1, 2023How to test Vue 3 components with Jest?Testing is crucial to ensure that our code is working as expected and maintaining the stability of the application. When working with Vue.js or any other js framework, Jest is an excellent choice for testing your components. In this blog post, we wil...Discuss·71 readsVue.js
David Pengdavipon.hashnode.dev·Sep 19, 2022Svelte Component Test RecipesIn this blog post, we'll use vitest, @testing-library/svelte, and svelte-htm to test Svelte components that seemed to be hard to test. Such as two-way bindings, name slots, Context API, ...etc. As a Svelte advocate, the fantastic DX is one of the rea...Brandon Paul and 1 other are discussing this2 people are discussing thisDiscuss·11 likes·4.2K readsSvelteSvelte
David Pengdavipon.hashnode.dev·Jul 27, 2022FeaturedTest Svelte Component Using Vitest & PlaywrightHi 👋, I'm David Peng. It's been a while since my last blog post. In the last two months, I added 100+ unit/ component/ e2e tests in my Svelte project (yeah, I didn't do TDD because I wasn't familiar with testing enough 😅). I experimented with diffe...Discuss·34 likes·17.0K readsSvelteSvelte