gemini-pro-unit-tester
Ever wondered about running unit tests without even to write a single line of code? Well, Gemini Pro Unit Tester allows you to do so easily!
Source Code
The source code of the application Gemini Pro Unit Tester is available in Source Code.
Installation
pip install gemini-pro-unit-tester
How to Use the Application?
Pre-requisites:
- Python installed in your device.
- .env file in the same directory as <GEMINI_PRO_UNIT_TESTER_DIRECTORY> and has the value of GEMINI_API_KEY.
First, open a Terminal or Command Prompt window and run the following command.
cd <GEMINI_PRO_UNIT_TESTER_DIRECTORY>
python3 main.py
Note: Replace <GEMINI_PRO_UNIT_TESTER_DIRECTORY> with the path to the directory of the application Gemini Pro Unit Tester.
Then, the application will start with something looking like in the screenshot below.
You will then be asked to input the following values.
- Temperature - between 0 and 1 inclusive
- Top P - between 0 and 1 inclusive
- Top K - at least 1
- Max output tokens - at least 1
The following screenshot shows what is displayed after inputting the mentioned values.
You are required to enter the following values.
- The programming language you want to run unit tests in - must be an existing programming language.
- The path of the file you want to test - the file mentioned must be a file of the programming language you entered in step number 1 above (i.e., if you entered "Python" in step 1, the path of the file you entered must be a Python file).
Once you enter the values mentioned above, the application will display the command used to run unit tests, together with the test results. Then, you will be asked whether you still want to continue unit testing or not. If you enter 'Y', you will be redirected to an application window like in screenshot above. Else, you will exit the application.
Progress
- Supports creating and running unit tests for one file. (ongoing)
- Supports creation of unit tests based on code in multiple files. (pending)
Version History
- Version 0.5 (Release Date: 29 December 2023):
- Supports creating and running unit tests for one file.
- Version 1 (Release Date: TBA, 2024):
- Supports creation of unit tests based on code in multiple files.
Metadata
Release files for gemini-pro-unit-tester 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gemini-pro-unit-tester-0.5.tar.gz | 3.2 kB | Without provenance | Details for gemini-pro-unit-tester-0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gemini_pro_unit_tester-0.5-py3-none-any.whl | Python 3 | none | any | Details for gemini_pro_unit_tester-0.5-py3-none-any.whl |
Total release size: 6.6 kB
Release files / gemini-pro-unit-tester-0.5.tar.gz
| Download URL | gemini-pro-unit-tester-0.5.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
16d2d83f7f9735ab175d0153023c28b031d2ba10730b67ad2c003fed453087a7
|
|
BLAKE2b-256 checksum How to use checksums |
41a8a62ffd03ad61bfcc02e96d4237a7e434a9c1af3f57100e0268a594f6e880
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.31.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4
|
Release files / gemini_pro_unit_tester-0.5-py3-none-any.whl
| Download URL | gemini_pro_unit_tester-0.5-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76a5b5bbdb7e1e6ef80219a2cd06c7dc0dec4c6d5987e1bbee2b796bf1aa9820
|
|
BLAKE2b-256 checksum How to use checksums |
c3a2cbb5f7f50fb98de507e6b9022af644a4701381bb782b0fbf48bf95d94723
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.31.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4
|
Security for gemini-pro-unit-tester 0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.