https://github.com/urigoren/phpure
Automatically generate unit tests for legacy php code
https://github.com/urigoren/phpure
legacy-code php pure unittest
Last synced: 7 months ago
JSON representation
Automatically generate unit tests for legacy php code
- Host: GitHub
- URL: https://github.com/urigoren/phpure
- Owner: urigoren
- Created: 2015-12-05T09:59:50.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-05T19:51:29.000Z (almost 10 years ago)
- Last Synced: 2025-01-23T20:34:05.448Z (9 months ago)
- Topics: legacy-code, php, pure, unittest
- Language: Java
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
PHPure
===PHPure is a command-line tool to generate php unit tests/
How it works ?
---
The process is simple, given an **existing** php website,
1. Run the patching, by launching `java phpure `
2. Let the website run for a while
3. Unpatch by renaming all `*.*.uri` to `*.*`
4. Unit tests are saved to `/logger.txt`If you want to override the test location or storage method, write your own `phpure_save` method.