Skip to content

Cris-lml007/test.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🧪test.vim


Linux macOS Neovim minimum version

A test executor for vim.
This plugin works as a virtual judge, it is given test cases so that it reviews which are correct and which are not.

⚒️ Install

This plugin has better integration with dotfile nvim.

  • vim-plug
Plug 'Cris-lml007/test.vim'

Execute :call TestViCompiler() for compiler the judge.

⚙️Usage

For use the judge your must have an file NameProgram.test with next syntax:

1 2
3 -2
5 5
~~ All of the above are inputs for the program to test, the symbols ~~ means end of inputs.
3
~# All of the above are outputs expected by the program, the symbols ~# means end of #{1,2,3..n} outputs.
1
~# Each of these represent a test case, for n input lines there must be n expected outputs (~#).
11

Execute :TestVi for tesing cases.
image

💻Support

LANGUAGE SUPPORT
java yes
javascript yes
C++ yes
pascal yes
python yes
bashscript yes
dotnet beta

Support all languages compiled or that can executed with ./program and receive an input by echo 'inputs' | ./program.

About

A test executor for vim.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published