Craft UI component tests for Ink CLI applications with ease using ink-testing-library. This package simplifies testing by providing utilities to simulate user interactions, assert on output, and verify component behavior within the Ink environment. It offers helpful methods for finding elements, triggering events, and asserting on terminal output, making it invaluable for comprehensive Ink CLI testing. Focus on writing robust tests, ensuring your Ink CLI applications function as expected.
The ink-testing-library npm package has had sporadic releases since March 2019. There were bursts of activity in 2019 and 2020, with releases in March, June of 2019, and January, June, July, and October of 2020. After a long pause, a release occurred in March 2023 and another in May 2024. No releases have occurred in the months between or since then. As of September 13, 2025, there have been no releases this year.
Ink-testing-library downloads show steady growth from March 2024 to August 2025, peaking at 831,321 downloads in July 2025. A significant upward trend is evident, especially in the first half of 2025. September 2025 downloads are incomplete and show a sharp decrease compared to the previous months.