Skip to content

refactor: using test classes in test_inline tests#3524

Merged
germa89 merged 2 commits intomainfrom
refactor/moving-inline-to-class-approach
Oct 29, 2024
Merged

refactor: using test classes in test_inline tests#3524
germa89 merged 2 commits intomainfrom
refactor/moving-inline-to-class-approach

Conversation

@germa89
Copy link
Collaborator

@germa89 germa89 commented Oct 29, 2024

Description

As the title.

Using:

hyperfine --warmup 2 --show-output "pytest tests/test_inline_functions/*"

Performance

Before

  Time (mean ± σ):     53.528 s ±  3.060 s    [User: 3.689 s, System: 1.806 s]
  Range (min … max):   48.600 s … 58.802 s    10 runs

After

  Time (mean ± σ):     43.933 s ±  4.528 s    [User: 3.644 s, System: 1.557 s]
  Range (min … max):   39.058 s … 52.305 s    10 runs

Issue linked

NA

Checklist

@germa89 germa89 requested a review from a team as a code owner October 29, 2024 11:34
@germa89 germa89 requested review from clatapie and pyansys-ci-bot and removed request for a team October 29, 2024 11:34
@ansys-reviewer-bot
Copy link
Contributor

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review

@germa89 germa89 self-assigned this Oct 29, 2024
@github-actions github-actions bot added the enhancement Improve any current implemented feature label Oct 29, 2024
@codecov
Copy link

codecov bot commented Oct 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.35%. Comparing base (e63570e) to head (2da243e).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3524      +/-   ##
==========================================
- Coverage   82.40%   82.35%   -0.05%     
==========================================
  Files          58       58              
  Lines       10017    10017              
==========================================
- Hits         8255     8250       -5     
- Misses       1762     1767       +5     

@germa89
Copy link
Collaborator Author

germa89 commented Oct 29, 2024

@pyansys-ci-bot LGTM.

@germa89 germa89 enabled auto-merge (squash) October 29, 2024 12:48
Copy link
Contributor

@pyansys-ci-bot pyansys-ci-bot left a comment

Choose a reason for hiding this comment

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

✅ Approving this PR because germa89 said so in here 😬

LGTM

@germa89 germa89 merged commit 11694ed into main Oct 29, 2024
@germa89 germa89 deleted the refactor/moving-inline-to-class-approach branch October 29, 2024 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improve any current implemented feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants