PowerShell/pester.sh

7 lines
237 B
Bash
Raw Normal View History

2015-12-22 04:17:48 +01:00
export CORE_ROOT=$(pwd)/bin
./powershell -c "Invoke-Pester src/pester-tests/$1 -OutputFile pester-tests.xml -OutputFormat NUnitXml"
# XML files are not executable
chmod -x pester-tests.xml
2015-12-22 04:17:48 +01:00
# Fix tty due to possible bug in .NET
stty echo