Skip to content

adamelso/transunit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transunit

Convert PhpSpec tests to PHPUnit using the Prophecy library.

This tool takes a different approach to Rector's implementation. Whilst Rector will convert to PHPUnit's internal mocking library, this tool will instead rewrite the test to use PhpSpec's Prophecy library instead within PHPUnit. This tool also has a more linear pipeline.

Dependencies

  • nikic/php-parser
  • symfony/finder
  • symfony/filesystem

Usage

php ./transunit.php spec tests/unit

About

Convert PhpSpec tests to PHPUnit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages