Thanks to visit codestin.com
Credit goes to github.com

Skip to content

nulty/neotest-minitest

 
 

Repository files navigation

neotest-minitest

This plugin provides a minitest adapter for the Neotest framework.

📦 Installation

Install the plugin using packer:

use({
  'nvim-neotest/neotest',
  requires = {
    ...,
    'zidhuss/neotest-minitest',
  },
  config = function()
    require('neotest').setup({
      ...,
      adapters = {
        require('neotest-minitest'),
      }
    })
  end
})

🔧 Configuration

TODO

🚀 Usage

NOTE: All usages of require('neotest').run.run can be mapped to a command in your config (this is not included and should be done by yourself).

Test single function

To test a single test, hover over the test and run require('neotest').run.run()

Test file

To test a file run require('neotest').run.run(vim.fn.expand('%'))

🎁 Contributing

This project is maintained by the Neovim Ruby community. Please raise a PR if you are interested in adding new functionality or fixing any bugs. When submitting a bug, please include an example test.

To trigger the tests for the adapter, run:

make test

👏 Thanks

Special thanks to Oli Morris and others for their work on neotest-rspec that inspired this adapter.

About

Neotest adapter for Minitest

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 94.8%
  • Makefile 3.2%
  • Ruby 2.0%