Code (Repository to Test Case)
The Code option within the Intelligence Hub allows you to generate structured test cases directly from your application's source code. This feature analyzes your connected repository to understand the application's functionality and generate relevant test scenarios, eliminating the need to manually create test cases from existing application behavior.
When to Use Code-Based Test Case Generation
Use this option when your application's functionality is already available in a connected source code repository. WalnutAI analyzes the repository and automatically generates structured test cases, making it useful for documenting and testing existing applications, legacy systems, or projects with limited test documentation.
Existing Connection: If a repository was configured during project setup (GitHub, GitLab, Bitbucket, Azure Repos, or AWS CodeCommit), it will automatically appear under the Code option in the Intelligence Hub.
Open the Code Repository: Click the Code icon in the Intelligence Hub to view the list of available repositories.

Select a Repository: Choose the repository you want to use. The selected repository is automatically attached to the WalnutAI Chat for analysis.

Generate Test Cases: WalnutAI analyzes the repository and generates relevant manual test cases based on the application's source code.

Review the generated manual test cases and click Save to store the generated test cases.
Last updated

