2024-03-29
Discovered `container-structure-test` for verifying if the structure and settings within a Docker image are as expected. Check out the container-structure-test GitHub repository. Decided to give it a try....
2024-03-25
I learned about Testcontainers. Testcontainers is a tool that allows you to build a test environment using containers and easily perform integration testing.Using this convenient tool, I conducted integration testing combining Next.js and a database (DB).It seems promising for implementing disposable end-to-end (E2E) tests, and I found it very useful. I'll briefly introduce what I tried....
2024-03-21
I learned about Million.dev and decided to give it a try. About Million.js This library seems to make profiling easier than using React DevTools' Profiler. Profiling performance is usually a cumbersome and time-consuming task. If this can make it easier, I was quite excited about the prospects....
2024-03-20
I learned about "Playwright Component Test" (hereafter referred to as "playwright-ct"), which allows you to run component tests in the browser directly on Playwright, and tried it out. In this article, we share our experience. The actual repository used is as follows...
2024-03-14
If you are a TypeScript developer, you may have written documentation in your code. It seems that you can write documentation tests for your documentation. This article introduces some tools to perform documentation tests in TypeScript....
2024-03-07
tRPC is a framework that allows you to easily build type-safe APIs. During development, if you want to proceed with front-end development on Storybook without waiting for the backend implementation, you can mock the API using Mock Service Worker (MSW). This article explains how to mock tRPC communication with MSW using maloguertin/msw-trpc. As a practical example, the sample code is shared on the GitHub repository silverbirder/trpc-msw-storybook-nextjs....
2023-11-13
Automated testing is essential in web application development. Especially, the importance of E2E testing before release is high. This time, I will introduce my experience of incorporating the famous Cucumber and Screenplay design in BDD....
2023-04-28
Hello, I am silverbirder who loves testing. Are you conducting tests on your Web frontend? I believe unit tests and visual regression tests are widely known. However, do you have test codes for performance tests? Also, do you have chaos engineering tests and accessibility tests?...
2021-11-26
BigQuery, do you use it? I am building data using BigQuery in my work. For quality assurance, I want to test against BigQuery SQL....
2020-11-28
I recently learned about something called ArchUnit. It seems that it can test dependencies. I want to try it out right away, so I'll leave this as a memo....
2020-06-18
Recently, I learned about the term Property Based Test. I was curious about what other types of tests there are, so I looked into it. This article lists the types of tests. ※ The technology used is chosen in node.js for my convenience....
2020-02-01
I have published a library in Google Apps Script (hereafter, GAS). When developing the library, I chose a tech stack of `Clasp + Typescript + Jest` to shorten the test feedback cycle. I would like to share my development experience. I haven't done anything particularly unusual....
2020-01-12
I usually write and review unit tests at work. Having unit tests is a good thing, but there is a problem. That is, the rules for unit tests are not clear....
2019-11-15
We have created a tool to continuously monitor visual changes on web pages by combining CircleCI and BackstopJS....