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

test skeleton for backend with some simple tests #313

Merged
merged 10 commits into from
Sep 18, 2023

Conversation

HansKallekleiv
Copy link
Collaborator

A first sketch on how to organize tests.

  • Added a folder structure under tests with unit and integration. Subfolders are mirroring the code base. E.g. integration/services/sumo_access

  • Added one example of unit test and one integration test towards Sumo using interactive token.

  • Moved some code out of parameter_access into a utility function.

To run the tests:

sumo_login -e dev
pytest

@HansKallekleiv HansKallekleiv added the question Further information is requested label Sep 14, 2023
@HansKallekleiv HansKallekleiv marked this pull request as ready for review September 18, 2023 07:02
Copy link
Collaborator

@sigurdp sigurdp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@HansKallekleiv HansKallekleiv merged commit 8d22ea0 into equinor:main Sep 18, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants