You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
As a developer, I'd like to be able to create a test case file from the current class I'm working on, so that I don't have to create the file manually.
Example:
If im working on application/models/fancy/FancyModel.php
I'd like to right click and select "Create test Case"
that will generate the file application/test/models/fancy/FancyModelTest.php
and open it in the editor
The text was updated successfully, but these errors were encountered:
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.
As a developer, I'd like to be able to create a test case file from the current class I'm working on, so that I don't have to create the file manually.
Example:
If im working on application/models/fancy/FancyModel.php
I'd like to right click and select "Create test Case"
that will generate the file application/test/models/fancy/FancyModelTest.php
and open it in the editor
The text was updated successfully, but these errors were encountered: