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

Issue39 first pytest file #40

Merged
merged 2 commits into from Aug 26, 2023
Merged

Issue39 first pytest file #40

merged 2 commits into from Aug 26, 2023

Conversation

gernot-h
Copy link
Collaborator

Note that his is a PR on top of #37, so it includes the change from #37.

Fixes #39 by adding the necessary infrastructure for pytest-based test classes and refactoring the "project createbom" testcases to use it.

This shows the pytest assert syntax and how to capture stdout with pytest using the "capsys" fixture.

Fixes #39 by adding the necessary infrastructure for pytest-based test
classes and refactoring the "project createbom" testcases to use it.

This shows the pytest assert syntax and how to capture stdout with
pytest using the "capsys" fixture.
@gernot-h gernot-h requested a review from tngraf August 21, 2023 12:54
@tngraf tngraf merged commit dd94dcb into main Aug 26, 2023
5 checks passed
@gernot-h gernot-h deleted the issue39-first-pytest-file branch September 11, 2023 09:34
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.

refactor testcases to directly use pytest
2 participants