Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Filtering plenary.nvim tests. Run ONLY the tests you want.

License

NotificationsYou must be signed in to change notification settings

lima1909/only.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build StatusLicenseStars

Filteringplenary.nvim tests. RunONLY the tests you want.

FeaturesInstallCommandsExamples

Note

The project is still in development and can change.

Features

It's easy to run isolated tests in the current open buffer/file:

  • per tags
  • where the current cursor is located

Install

  • packer.nvim:

    use {"lima1909/only.nvim",requires= {"nvim-lua/plenary.nvim"},}
  • lazy.nvim:

    {"lima1909/only.nvim",dependencies= {"nvim-lua/plenary.nvim"},},

    Commands

User commandDescription
:OnlyBustedFile tags [your tags]run all tests, which contains one of the tags in the description
:OnlyBustedFile at_cursorrun all tests, which the cursor contains

Examples

Tags:thisone,other

Command::OnlyBustedFile tags thisone,other

describe("my group",function()it("first test, thisone",function()end)it("second test",function()end)it("third testi, other",function()end)end)

Runs first and third test.

About

Filtering plenary.nvim tests. Run ONLY the tests you want.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp