Skip to content

Commit

Permalink
Added FAQs to Keploy/docs website (#428)
Browse files Browse the repository at this point in the history
* added FAQs to Keploy/docs website

Signed-off-by: Yaten Dhingra <yaten598@gmail.com>


* fix: installation in docker with linux/wsl (#429)

Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com>

---------

Signed-off-by: Yaten Dhingra <yaten598@gmail.com>
Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com>
Co-authored-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com>
  • Loading branch information
yaten2302 and Sonichigo authored Jul 26, 2024
1 parent 407fe26 commit 11867b7
Showing 1 changed file with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,17 @@ description: This section documents usecase of Keploy's Unit Test Generator
tags:
- utg
- unit test generator
- generate unit test
- unit test
keywords:
- unit test generator
- unit testing
- unit tests
- documentation
- commands
- testcases
- AI testing
- Gemini
- OpenAI
---

Keploy's unit test generator(ut-gen) implementation of Meta LLM research paper is a first which understands code semantics and generates meaningful unit tests, aiming to:
Expand Down Expand Up @@ -145,3 +150,18 @@ We will get following output : -
<img src="/docs/img/mux-sql-utg.png" alt="Keploy test coverage with ai generated unit test for mux-sql" width="100%" style={{ borderRadius: '5px' }}/>

_Voila!! The Generated Testcases have provided with 71% coverage in just 2 iterations 🌟_

## Frequently Asked Questions(FAQs)

1. **What is Keploy's Unit Test Generator (UTG)?**<br/>
- Keploy's UTG automates the creation of unit tests based on code semantics, enhancing test coverage and reliability.
2. **Does Keploy send your private data to any cloud server for test generation?**<br/>
- No, Keploy does not send any user code to remote systems, except when using the unit test generation feature. When using the UT gen feature, only the source code and the unit test code will be sent to the Large Language Model (LLM) you are using. By default, Keploy uses - litellm to support vast number of LLM backends. Yes, if your organization has its own LLM(a private one), you can use it with Keploy. This ensures that data is not sent to any external systems.
3. **How does Keploy contribute to improving unit test coverage?**<br/>
- By providing a zero code platform for automated testing, Keploy empowers developers to scale up their unit test coverage without extensive coding knowledge. This integration enhances testing reports, ultimately boosting confidence in the product's quality.
4. **Is Keploy cost-effective for automated unit testing?**<br/>
- Yes, Keploy optimizes costs by automating repetitive testing tasks and improving overall test efficiency.
5. **How does Keploy generate coverage reports?**<br/>
- Keploy generates detailed Cobertura format reports, offering insights into test effectiveness and code quality.
6. **Can Keploy handle large codebases efficiently?**<br/>
- Yes, Keploy is designed to handle large codebases efficiently, though processing time may vary based on project size and complexity.

0 comments on commit 11867b7

Please sign in to comment.