You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add tests for *-Item and Get-ChildItem cmdlets #4148
SessionStateItem and SessionStateContainer error cases
Dynamic parameters
*-Item for alternate streams
Get-ChildItem for file
Rename-Item for directory
Copy-Item over remote session
*-Item for Registry provider
*-Item for Function provider
Mapped network drive
Environment data
>$PSVersionTable
Name Value
---------
PSVersion 6.0.0-beta
PSEdition Core
GitCommitId v6.0.0-beta.3
OS Microsoft Windows 10.0.16204
Platform Win32NT
PSCompatibleVersions {1.0,2.0,3.0,4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Aditya Patwardhan (@adityapatwardhan) What are you looking for regarding tests for "Get-ChildItem for file"? Just that it will return information about the file specified?
What is the expected behavior if, for example, Get-ChildItem is given a specific, non-globbed file name and also the -Directory parameter? Should it return information about the file anyway or return nothing because the file is not a directory?
Also, regarding "Rename-Item for directory", do you just mean that the cmdlet can rename a directory, or something more involved than that?
The list above is a summary of what is missing. So some tests might not look very useful, but there is untested code that exists and hence we need to exercise those code paths.
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commented on Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commented on Nov 23, 2023
Activity
jeffbi commentedon Jul 17, 2017
Aditya Patwardhan (@adityapatwardhan) What are you looking for regarding tests for "Get-ChildItem for file"? Just that it will return information about the file specified?
What is the expected behavior if, for example,
Get-ChildItemis given a specific, non-globbed file name and also the-Directoryparameter? Should it return information about the file anyway or return nothing because the file is not a directory?Also, regarding "Rename-Item for directory", do you just mean that the cmdlet can rename a directory, or something more involved than that?
adityapatwardhan commentedon Jul 19, 2017
jeffbi We are interested covering the missing code paths at: https://codecov.io/gh/PowerShell/PowerShell/src/master/src/System.Management.Automation/namespaces/FileSystemProvider.cs
The list above is a summary of what is missing. So some tests might not look very useful, but there is untested code that exists and hence we need to exercise those code paths.
jeffbi commentedon Jul 20, 2017
Thanks, Aditya Patwardhan (@adityapatwardhan), I'll look that over.
Add test coverage for Registry (#4354)
SteveL-MSFT commentedon Oct 12, 2017
I think the remaining items can be pushed to MQ
TravisEz13 commentedon Feb 13, 2018
Klaudia Algiz (@kalgiz) I recommend looking at the function provider first. Work with Aditya Patwardhan (@adityapatwardhan) to figure out what tests are needed.
After that, you could work on the remoting tests. Paul Higinbotham (@PaulHigin) would be a good resource for showing you how to use remoting in a test.
1 remaining item
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 23, 2023
This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.
Add test coverage for Registry (PowerShell#4354)