Skip to content

Add a note in the docs that private functions are not allowed as hooks #3486

Closed

Description

@vkarak

We should also add a tip that if you are writing a library it's a wise idea to properly make the names unique by following a pattern _<ClassName>_<HookName>. This will avoid conflicts with hooks defined in subclasses which can go unnoticed. Also, with the introduction of the always_last argument, there is no need for exposing the hooks and overriding them.

Activity

  1. added this to the ReFrame 4.8.2 milestone on May 21, 2025
  2. self-assigned this
    on May 21, 2025
  3. moved this from Todo to In Progress in ReFrame Backlogon Aug 28, 2025
  4. moved this from In Progress to Done in ReFrame Backlogon Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions