All projects
Project

GPT-unitTest

automatically create unit test scripts using openAI' API, which can then be executed seamlessly with a corresponding test runner framework by issuing a single command.

chatgptmochaopenapiquality-assuranceunit-testing

Auto Gnenerate unit test using gpt-3.5-turbo

Installation:

npm i 

Expecute:

  • In ex.js file, add the relative path to you script file

  • Add relative test framework

  • then run the following

     npm run writeTest
    
     npm run test