Comments (2)
Working out where to save the file is a hard problem, as different PHP projects have different conventions on where to save the corresponding test file.
But what we can do is copy the output from the skeleton generator into a new buffer in ST2, and just let the user save the file. That shouldn't be too hard to do.
I'll add support both for generating the test skeleton and going the other way - generating the class from the test code.
from sublime-phpunit.
I'll add support both for generating the test skeleton and going the other way - generating the class from the test code.
It'll be great!
from sublime-phpunit.
Related Issues (20)
- Unable to Find Namespace Class HOT 1
- unable to run tests sublime text 2 HOT 1
- Open phpunit.xml uses incorrect file HOT 1
- Run rempte phpunit HOT 2
- "path_to_phpunit" preference doesn't exist in "Settings - Default" HOT 1
- No such file or directory: 'phpunit' when running tests HOT 2
- Merge gerardroche/sublime-phpunit HOT 2
- Error loading color scheme HOT 4
- Class '<SOMECLASS>' could not be found in '<SOMEPATH>' HOT 3
- Color support
- Configfile not detected...
- This version of PHPUnit requires PHP 5.6; using the latest version of PHP is highly recommended.
- Leading path separator check failed under Windows HOT 1
- Same class names but different namespaces not working properly
- How can I get the preview of the sticker
- env: php: No such file or directory HOT 1
- test files need to end in Test to enable context menu HOT 1
- Running a single test or a group of tests from context-menu
- Issue during on_save event.
- Use the `php` binary defined in $PATH HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sublime-phpunit.