Skip to content

Add tracing tests#72

Open
igniteflow wants to merge 4 commits intooctoenergy:mainfrom
igniteflow:add-tracing-tests
Open

Add tracing tests#72
igniteflow wants to merge 4 commits intooctoenergy:mainfrom
igniteflow:add-tracing-tests

Conversation

@igniteflow
Copy link
Copy Markdown

@igniteflow igniteflow commented May 14, 2023

Adds tests for xocto.tracing

Before

> pytest --cov=xocto

Name                          Stmts   Miss  Cover
-------------------------------------------------
...
xocto/tracing.py                 16     16     0%
...

After

> pytest --cov=xocto

Name                          Stmts   Miss  Cover
-------------------------------------------------
...
xocto/tracing.py                 16     0     100%
...

Note that I haven't used pytest much before. I feel like the first two lines of each test could be encapsulated in the pytest equivalent for setUp() - perhaps setup_method?

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.

1 participant