Skip to content

Policy for testing types of input parameters #61

Open
@lionelkusch

Description

@lionelkusch

Some functions have testes for checking the type of input.
For example: random_state in knockoff_aggregation in hidimstat/knockoff_aggregation.py.
random_state is a variable existing in multiple methods but this one is the only one which tests the type.

Which policy do we choose for testing the type of variable?

  • Do we test all the input variables? (This can create a bit of slowing down the code.)
  • Do we test only the most important?
    • if yes, how do we choose the most important variables?
  • We don't test their type only to make the difference is their set or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    management of projectquestion regarding the policy of the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions