CODECEPTION NEXT4 0.0.2 Generates automated unit tests via VSCode for Yii2 and Laravel so far. It can be applied to other PHP frameworks, but this has not been tested. Tests can currently only be performed for the PHP language. Technologies UsedConfiguration[CTRL + ,] go to extensions, locate Next Test System, and provide the path to the local unit test folder of your project where the tests will be sent, usually test/unit/. You need to do this for each project if the structure is different. Specify which technology you are using: Yii2, Laravel, or other. Provide your OpenAI GPT token. And the model to be used for the tests, by default it is gpt-4o-mini. How to Run the Tests[CTRL + SHIFT + P] search for NextTest. Checking the configuration
Generate a test by selecting a function
Generate a test from an active tab
Generate tests for all open tabs
ContributionFeel free to open issues or pull requests to improve the tests. Contributors
LicenseGNU General Public License v3.0 |