toyama0919 / gptest

Using chat-gpt to generate test code.

Repository from Github https://github.comtoyama0919/gptestRepository from Github https://github.comtoyama0919/gptest

gptest

PyPI version Build Status

Command Line utility for Amazon Aurora.

Support python3 only. (use boto3)

Settings

export AWS_ACCESS_KEY_ID=XXXXXXXXXXXXXXXXXXXX
export AWS_SECRET_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
export AWS_DEFAULT_REGION=xx-xxxxxxx-x
  • support environment variables and iam role.

Examples

list instance and cluster

$ gptest list

[instances]
db01 mysql available db.m3.xlarge  ap-northeast-1c None
db02 mysql available db.m3.xlarge  ap-northeast-1c None
db03 mysql available db.m3.large ap-northeast-1c None
db04 mysql available db.m3.large ap-northeast-1c None
db05 aurora available db.t2.medium  ap-northeast-1c aurora-cluster
db06 aurora available db.t2.medium  ap-northeast-1c aurora-cluster

[clusters]
aurora-cluster available aurora  ['db05', 'db06']
...

Installation

pip install gptest

CI

install test package

$ ./scripts/ci.sh install

test

$ ./scripts/ci.sh run-test

flake8 and black and pytest.

release pypi

$ ./scripts/ci.sh release

git tag and pypi release.

About

Using chat-gpt to generate test code.


Languages

Language:Python 95.5%Language:Shell 4.5%