Skip to content

Update file placement and discovery about hidden files/folders behavior #321

@fflaten

Description

@fflaten
Collaborator

I am following the convention recommended here: https://pester.dev/docs/usage/file-placement-and-naming to place my tests " in a separate tests directory that follows the same directory structure as the main src directory."

Since the code being tested is in .github, the tests are in tests/.github

I'll update the page with a note about dot-prefixed files and folders being hidden on Unix. Will also have to update docs about the behavior of hidden files/folders.

Originally posted by @fflaten in pester/Pester#2515 (comment)

Activity

fflaten

fflaten commented on Jul 1, 2024

@fflaten
CollaboratorAuthor

Currently following PowerShell defaults where hidden items are excluded. E.g. Explicit path to hidden folder will include files in the hidden folder, unless the files are also hidden, then they have to be mentioned explicitly.

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

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @fflaten

        Issue actions

          Update file placement and discovery about hidden files/folders behavior · Issue #321 · pester/docs