Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trismegiste/pastadebug
PastaDebug is a dynamic code analysis tool for Mondrian
https://github.com/trismegiste/pastadebug
Last synced: about 1 month ago
JSON representation
PastaDebug is a dynamic code analysis tool for Mondrian
- Host: GitHub
- URL: https://github.com/trismegiste/pastadebug
- Owner: Trismegiste
- Created: 2013-06-03T07:54:18.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-06-03T07:57:41.000Z (over 11 years ago)
- Last Synced: 2023-03-15T19:06:14.999Z (almost 2 years ago)
- Language: PHP
- Size: 121 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PastaDebug
A plugin for Mondrian
## What
It is a plugin for [Mondrian][1] . It helps to refine the type-hinting configuration
for graph with PhpUnit tests. Since this plugin is higly experimental, I've made
a plugin outside the Mondrian tool so you have to insert it manually (sorry)## Install
You need 2 things :
- a PhpUnit libray in the include_path of PHP (PHPUnit will be packaged later)
- modifying the composer.json of Mondrian :```
$ composer.phar require trismegiste/pastadebug
```
Adding the class Trismegiste\\PastaDebug\\Command\\Refine in the extra->plugins array## How
This tool add a new command typehint:refine. This command will refine a pre-existing .mondrian.yml
file at the root of the package (at the same level of phpunit.xml). It will catch the autoloading
and edit any scanned class to track a method invocation from another method.With this information, the command will remove the ignored calls in the .mondrian.yml which were
not found by static analysis of the code.[1]: https://github.com/Trismegiste/Mondrian