Skip to content

[wdspec] discuss location for shared helpers #59159

@juliandescottes

Description

@juliandescottes

Filing the issue per request from @whimboo at https://phabricator.services.mozilla.com/D291617?id=1239732#inline-1591191

Topic is how to organize test helpers for wdspec.
If a test helper (eg method to assert network cookies) is used both in bidi/network tests but also in bidi/integration tests should we define it in:

  • bidi/__init__.py ("common" to both network/ and integration/)
  • bidi/network/__init__.py (would need to be imported by individual integration/ tests)

My opinion is that we should define helpers in the module which owns them (so network cookies go in the network module).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions