Skip to content

songokas/vim-phpunit-skelgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vim Plugin - PHPUnit Skeleton Generator

this plugin allows you generate tests from existing classes or classes from the
tests

INSTALL
-------

just copy 'phpunit-skelgen.vim' to your '$HOME/.vim/plugins' directory

or

add this to your bundle configuration

Bundle 'TsonJgoku/vim-phpunit-skelgen'

CONFIGURE
---------

define directory where you keep your test files (relative to working directory)

let g:phpunit_testroot = 'tests'


USAGE
------

:PhpGenSkel
:PhpGenSkel file

generate test/class file for current file in g:phpunit_testroot/filePath
if the file contains Test suffix - class will be generated
else - test file will be generated

About

phpunit skeleton generator for vim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published