Skip to content

ENH: MAINT: STY: group iotool tests into folder #848

Closed

Description

@mikofski

Is your feature request related to a problem? Please describe.
there are so many tests now, would it be okay to group some of them, eg iotools into a folder?

Describe the solution you'd like
move all of the iotools tests into a folder called iotools_tests inside the pvlib/test folder

Describe alternatives you've considered
just keep letting the number of files in test grow until someone else thinks it might be useful to group them

Additional context
pandas/tests are grouped in folders, but forgo the _tests suffix, it does seem redundant, but will pytest still work without it? I'm not set on any particular convention, as long as it's consistent

so what do folks think? OK to post here? Should I have posted in pvlib-python google group instead? thx!

Activity

  1. wholmgren commented on Jan 7, 2020

    @wholmgren
    Member

    I’m ok with any of these reorganizations of the tests. I have a mild preference for a pattern like pvlib/iotools/tests.

    And this is the right place to discuss.

  2. mikofski commented on Jan 7, 2020

    @mikofski
    MemberAuthor

    I'm not completely sure, but I think all of the tests need/should to be in the same top level folder, or at least in the past, I've had problems with VSCode, so maybe it's not a pytest problem per sé.

    So like pvlib/test/iotools/test_tmy3.py etc. would that be okay?

  3. wholmgren commented on Jan 7, 2020

    @wholmgren
    Member
  4. cwhanse commented on Jan 7, 2020

    @cwhanse
    Member

    I’m ok with any of these reorganizations of the tests. I have a mild preference for a pattern like pvlib/iotools/tests.

    I would prefer pvlib/iotools/test over pvlib/test/iotools/, but not a strong preference.

  5. mikofski commented on Jan 14, 2020

    @mikofski
    MemberAuthor

    The internet has spoken?

    Screenshot_20200113-234243_Twitter

  6. added a commit that references this issue on Jan 15, 2020
    050a6d7
  7. added a commit that references this issue on Jan 16, 2020
    bb081ed
  8. added a commit that references this issue on Mar 18, 2020
    b5ab200
  9. added a commit that references this issue on Mar 28, 2020
    a28d819
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions