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

The PowerShell cmd should trace relative paths from the current directory #216

Closed
mikeblakeuk opened this issue Sep 22, 2015 · 5 comments
Closed
Assignees
Labels

Comments

@mikeblakeuk
Copy link

Paths with dots in quotes should move up directories
For example if c:\git\web-wrongFolder\ exists

C:\git\src\Company.Product\Company.Product.Tests.Web> 
Pickle-Features -FeatureDirectory .\Features -OutputDirectory Html -TestResultsFormat nunit -TestResultsFile "TestResult.xml"
Pickles v.1.2.1.0

Generating documentation based on the following parameters
----------------------------------------------------------
Feature Directory         : c:\git\web-wrongFolder\
Output Directory          : C:\git\web-wrongFolder\Html
Project Name              :
Project Version           :
Language                  :
Incorporate Test Results? : Yes
Test Result Format        : NUnit
Test Result File          : C:\git\web-wrongFolder\TestResult.xml
@dirkrombauts
Copy link
Member

If I understand your example, you expect Feature Directory to be C:\git\src\Company.Product\Company.Product.Tests.Web\Features and Output Directory to be C:\git\src\Company.Product\Company.Product.Tests.Web\Html.

Is that what you have in mind?

@dirkrombauts
Copy link
Member

It seems there is indeed a problem with the PowerShell commandlet: it appears to be unable to deal with relative paths, or rather it traces relative paths from the USERPROFILE rather than from the current directory.

@dirkrombauts
Copy link
Member

I'm adapting the title to reflect the new insight.

@dirkrombauts dirkrombauts changed the title The PoweShell cmd should handle dots in the path The PowerShell cmd should trace relative paths from the current directory Sep 24, 2015
@mikeblakeuk
Copy link
Author

Thank you for you support and fast responses.

@dirkrombauts
Copy link
Member

You're welcome. I will release a bug fix for this issue later today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants