Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fflaten opened this issue Jul 1, 2024 · 1 comment
Open
Labels
documentation Improvements or additions to documentation

Comments

@fflaten
Copy link
Collaborator

fflaten commented Jul 1, 2024

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)

@fflaten
Copy link
Collaborator Author

fflaten commented Jul 1, 2024

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.

@fflaten fflaten added the documentation Improvements or additions to documentation label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant