Neotest Vitest

screenshot of Neotest Vitest

Vitest adapter for Neovim Neotest plugin

Overview

The Neotest-Vitest plugin serves as an essential adapter for integrating the Vitest testing framework into the Neotest ecosystem. Designed for developers looking to streamline their testing workflow, it offers enhanced functionality targeted towards efficient test management. With contributions from the community, this plugin aims to simplify the testing process while encouraging collaborative improvements.

In addition to its core features, the plugin acknowledges current limitations, including partial support for certain functions like test.each, which is still a work in progress. Overall, Neotest-Vitest provides a robust foundation for automating and managing tests effectively.

Features

  • Easy Integration: Seamlessly connects Vitest with the Neotest framework for a simplified testing experience.
  • Custom Test Discovery: Utilize the is_test_file option to set custom criteria, allowing for flexible test file recognition.
  • Directory Filtering: The filter_dir option restricts the search to specified directories, optimizing the test discovery process.
  • Watch Mode: Includes mappings for effective watch mode usage, enhancing real-time testing capabilities.
  • Community-Driven Development: Encourages contributions and bug fixes from users, fostering a collaborative environment for improvement.
  • Documentation & Usage Guidelines: Comprehensive information on usage is available, guiding users through the testing process efficiently.