Skip to content

Refactor UQ tests #126

@mjwen

Description

@mjwen

Hi @yonatank93, in #125 I have refactored the tests to use more recent techniques in pytest to make it easier to maintain and write new tests.

I've slightly tweaked the UQ tests to make it work. But it would be great if you can make a bit more updates.

  • A lot of stuff are not in functions, but in module level (for example, lines 28--70 in this file). Is it possible to move them into functions and call to get them?
  • Related to the above, some of these module level stuff seem to be the same across the four files in the UQ test folder. It would be great if we can make one copy and reuse them? This can be achieved by using a conftest.py file (if placed in the UQ directory, it will only affect tests there).

Let me know if it is unclear and I'd be happy to explain more.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions