Skip to content

add names to test cases - #1417

Merged
lukaszstolarczuk merged 3 commits into
oneapi-src:mainfrom
bratpiorka:rrudnick_test_names
Jul 17, 2025
Merged

add names to test cases#1417
lukaszstolarczuk merged 3 commits into
oneapi-src:mainfrom
bratpiorka:rrudnick_test_names

Conversation

@bratpiorka

@bratpiorka bratpiorka commented Jul 4, 2025

Copy link
Copy Markdown
Contributor
  • make providerCreateExt func common
  • cleanup includes order
  • add names to test cases

@bratpiorka
bratpiorka force-pushed the rrudnick_test_names branch 3 times, most recently from ff1b773 to 56819a9 Compare July 7, 2025 07:57
Comment thread test/coarse_lib.cpp Outdated
@bratpiorka
bratpiorka force-pushed the rrudnick_test_names branch 7 times, most recently from d0a9cb1 to 3e20354 Compare July 14, 2025 13:42
@bratpiorka
bratpiorka requested a review from lplewa July 14, 2025 13:43
@bratpiorka
bratpiorka force-pushed the rrudnick_test_names branch from 3e20354 to f27926a Compare July 14, 2025 13:52
@bratpiorka
bratpiorka marked this pull request as ready for review July 14, 2025 18:23
@bratpiorka
bratpiorka requested a review from a team as a code owner July 14, 2025 18:23
Comment thread test/coarse_lib.cpp
Comment thread test/common/pool.hpp Outdated
Comment thread test/providers/provider_level_zero.cpp Outdated
@lukaszstolarczuk

Copy link
Copy Markdown
Collaborator

if you want this to be included in 1.0.0 please rebase to v1.0.x branch.

@lukaszstolarczuk
lukaszstolarczuk requested a review from Copilot July 17, 2025 12:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR aims to improve test organization and maintainability by adding descriptive names to test cases and refactoring common functionality. The changes consolidate the providerCreateExt function across multiple test files and reorganize include statements for better structure.

  • Move providerCreateExt function to common provider header to eliminate duplication
  • Reorganize include statements following a consistent pattern (standard libs, external libs, project headers)
  • Add name generators to parameterized test suites for better test identification

Reviewed Changes

Copilot reviewed 33 out of 33 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
test/utils/cpp_helpers.hpp Reorganized include order and added spacing
test/common/provider.hpp Added common providerCreateExt function and name generator
test/common/pool.hpp Added name generator for pool test parameters
test/ipcFixtures.hpp Added name generator for IPC test parameters and getName() method
Multiple test files Updated to use common functions and added test name generators

Comment thread test/providers/provider_level_zero.cpp Outdated
Comment thread test/providers/provider_level_zero.cpp Outdated
Comment thread test/providers/provider_cuda.cpp
Comment thread test/memspaces/memspace_lowest_latency.cpp
Comment thread test/memspaces/memspace_highest_bandwidth.cpp
@bratpiorka

Copy link
Copy Markdown
Contributor Author

@lukaszstolarczuk this PR changes only tests so main branch is fine

@KFilipek KFilipek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@bratpiorka
bratpiorka force-pushed the rrudnick_test_names branch from 9a60344 to 08f7c9b Compare July 17, 2025 13:26
@lukaszstolarczuk
lukaszstolarczuk merged commit 5f277f8 into oneapi-src:main Jul 17, 2025
72 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.

4 participants