Our VSCode extension is designed to help developers approach software testing, and bypass their own personal testing biases, through integrating the power of LangChain and ChatGPT directly into their extension toolkit.
Built With
Getting Started
Follow these instructions to set up the development environment and run the extension locally.
Before developing and/or using this project extension, you should consider obtaining an OpenAPI key.
Installation - Development
A requirement to use this extension is an OpenAI API key. Make sure to enter your API key as a field in your json settings directory (User or Workspace)
In the main /live-testing directory, run following npm script to install all node modules in project.
npm run install:all
Again in the main /live-testing directory, run following npm script to start the development server. Must be running to use the extension in development mode. Please ignore the ReferenceError: globalFunc is not defined, the extension will still work.
npm run start:webview
Now if any styling is modified in the /live-testing/webview-ui folder then from the main directory /live-testing run the following npm script to compile the webview-ui source code
npm run build:webview
Now you can run and debug the extension!
Installation - VSCode Extensions Marketplance
Search Test Tool At SpiderLab on the VSCode Extensions Marketplace and install the extension
Usage
Press the View Test Panel text right above the first line of code in the function you are trying to test to open the Extension Test Panel. You can answer any question to clarify your test matrices or leave them unanswered if not important to consider.
To generate test matrices, click the Generate Test Matrices button and select the checkboxes of the test plans you want to use to for your test code. You may also click Add Prompt button to provide some customized prompts before the generation of test plans.
After generation of the test matrices, you may click plus sign icon to add new empty test plans, click edit icon to change test plan name or subdomain name, or click light bulb icon to regenerate either the entire test plan based on the test plan you provided or the entire input and output pairs based on the subdomain name you provided.
You can select specific test cases for each test sub-domain for the next step.
After the test plans are selected, click the Generate Selected Test Codes to generate the corresponding test codes.