Neovim PDE — Test-driven Development
Configure a test-driven development (TDD) environment for manual and automated testing.
In this article, we will set up a test-driven development environment for different programming languages.
This article is part of the Neovim PDE series.
The Neovim configuration files are available in this repository.
Getting Started
Neovim is a great choice for practicing test-driven development (TDD) in our programming workflow. TDD is an approach where we write tests before writing the actual code, and Neovim provides features that can support this process.
We have already set up the development environments for Lua, Python, Go, Rust, C/C++, and Java. Before proceeding, we will configure a test-driven development environment for these languages.
Test-driven Development Environment
Common Configuration
We install the plugins and set up the common configuration in the lua/base/coding.lua
file.