Features Path not working in Visual Studio when passing parameters to Pickles Cmdlet

5 views
Skip to first unread message

gcnw...@gmail.com

unread,
Apr 21, 2017, 12:43:16 PM4/21/17
to pickles-dev
I am getting error: "Pickle-Features : Could not find a part of the path"

I am trying to use the pickles NuGet package to produce DHTML feature file webpages so that I can display the test results to my team. I was using a relative path to do this from inside the Pack age Manager Console in VS2015:-


Pickle-Features -FeatureDirectory .\Automation\Features -OutputDirectory D:\PicklesOP -SystemUnderTestName "AppTest" -SystemUnderTestVersion "1.0" -DocumentationFormat html


That produces this result:

Generating documentation based on the following parameters
----------------------------------------------------------
Feature Directory              : D:\solution\Automation\Automation\Features
Output Directory               : D:\PicklesOP
Project Name                   : AppTest
Project Version                : 1.0
Language                       : en
Incorporate Test Results?      : No
Include Experimental Features? : No
Exclude Tag                    : 
Pickle-Features : Could not find a part of the path 'D:\solution\Automation\Automation\Features'.
At line:1 char:1
+ Pickle-Features -FeatureDirectory .\Automation\Features -OutputDirectory ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Pickle-Features], DirectoryNotFoundException
    + FullyQualifiedErrorId : System.IO.DirectoryNotFoundException,PicklesDoc.Pickles.PowerShell.Pickle_Features
 

 
Reply all
Reply to author
Forward
0 new messages