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 initial testsuite setup #18

Merged
merged 6 commits into from
Apr 29, 2024
Merged

Add initial testsuite setup #18

merged 6 commits into from
Apr 29, 2024

Conversation

jchecahi
Copy link
Contributor

Initial implementation of NEWA testsuite. This adds a some simple tests and configures pyproject file to be able to run them. Also sets up a basic GH action to run the tests upon PR creation or push event.

To run the tests:

hatch run test:unit
hatch run test:cov

Fixes: #16

@jchecahi jchecahi force-pushed the testsuite-init branch 2 times, most recently from 038d132 to 8855995 Compare April 9, 2024 07:26
Jesus Checa Hidalgo added 5 commits April 17, 2024 08:14
For now there is not much logic to test in the project so we are only
adding the needed configuration in the pyproject.toml and some of
smoke unit tests.
Add fixture to patch methods that communicate with ET
Add mocked CLIContext object fixture
The setup-python action has trouble setting python 3.12 in the fedora
container and is not able to find platform independent libraries.
Disabling it until the issue is solved
@jchecahi jchecahi marked this pull request as ready for review April 17, 2024 10:03
@happz happz merged commit 7b90ba8 into RedHatQE:main Apr 29, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

Implement a test suite
2 participants