Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests] write initial unit tests #40

Closed
signebedi opened this issue Mar 29, 2023 · 3 comments
Closed

[tests] write initial unit tests #40

signebedi opened this issue Mar 29, 2023 · 3 comments

Comments

@signebedi
Copy link
Owner

Write some basic unit tests for config, context, tagging, and gptty.

@signebedi
Copy link
Owner Author

[tests] integrate with testing CI/CD software
We should consider bootstrapping this package to CI/CD software like Travis CI

@signebedi
Copy link
Owner Author

[tests] Add context.py tests when model_type == 'v1/chat/completions'
We only have basic context.py tests that don't check for more complex context structures. We should add additional tests when model_type == 'v1/chat/completions'.

@signebedi
Copy link
Owner Author

[tests] consider whether and how to test main.py and gptty.py
Currently, we are testing a number of functions, but not testing main.py and gptty.py. These are mostly click interfaces and gptty-specific functions. Is it worth testing these? If so, how?

@signebedi signebedi changed the title [tests] write unit tests [tests] write initial unit tests Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant