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

automated test suite #51

Open
bruffridge opened this issue Feb 28, 2024 · 2 comments
Open

automated test suite #51

bruffridge opened this issue Feb 28, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@bruffridge
Copy link
Member

As the code base grows, it's getting hard to manually test after every change. Should probably start to look into adding some automated tests.

Github Actions might be sufficient or we can look at other CI services.

https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

@bruffridge bruffridge added the enhancement New feature or request label Feb 28, 2024
@jackitaliano
Copy link
Contributor

I believe Github Actions would be sufficient as well. Will have to check that out to see if it'll work with regression testing software (I don't see why not).

Likely will use Selenium. Was also suggested to check out Playwright, so I'll look into that too.

@bruffridge
Copy link
Member Author

Starter Test cases:

  1. With a cleared browser cache, user can login with an OpenAI API key.
  2. User can submit a text message and have a response returned.
  3. User can ask for a set of research papers, and chatbot should call the function that returns a list of papers from Semantic Scholar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants