User Tools

Site Tools


technical_notes:public:fitnesse-research-by-properties

Parent

Fitnesse - Open pages in chrome that match with a tag with PowerShell

Simple script to open fitnesse pages that match with tags (more generally with content of properties.xml).

find.ps1
$repo_path="C:\\Fitnesse\\FitNesseRoot\\"
$url_fitnesse="http://localhost:8080/"
 
gci -r -Filter "properties.xml"  | 
  Select-String $args[0] | 
  %{echo $_.Path} | 
  %{$_ -replace "$repo_path", "$url_fitnesse"} | 
  %{$_ -replace ".properties.xml", ""} | 
  %{$_ -replace "\\","."} | 
  %{chrome $_}

Usage :

.\find.ps1 "tag1"
technical_notes/public/fitnesse-research-by-properties.txt · Last modified: 2014/05/27 20:32 by Fabien Arcellier