Skip to content

IHookable and IConfigurable callback discrepancy  #2704

@krmahadevan

Description

@krmahadevan

Currently TestNG provides the following two ways in which one can intercept test or config executions

  • IHookable
  • IConfigurable

Today TestNG does not distinguish between a successful invocation vs a wilful skip of invoking the callback and so if a user within their run() implementation, decided to never patch through the callback, TestNG would still classify that method as passed.

More details can be found here #2700 (review)

This issue is to track this discrepancy and arrive at a proper solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions