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

Add an integration test #60

Open
iamkubi opened this issue Sep 24, 2022 · 0 comments
Open

Add an integration test #60

iamkubi opened this issue Sep 24, 2022 · 0 comments

Comments

@iamkubi
Copy link
Owner

iamkubi commented Sep 24, 2022

Create a test that lets you plugin panel credentials, makes a bunch/all of the pydactyl api calls against the panel, then compares the output against a known good.

Ideally it would be automated so that it spins up a panel using the official docker image(s). It could either load the database with known good data, or make API calls to create the known good data (e.g. create_node(name='integration_test_node') then get_node() that checks that the name was set).

A mock API server would likely be effort to maintain and decrease the accuracy of the integration test.

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