Successful Tests (17 of 54 passed)

18 views
Skip to first unread message

Joaquin Menchaca

unread,
Aug 17, 2014, 6:40:31 PM8/17/14
to pash-p...@googlegroups.com
I have a battery of 54 use case style tests.  Pash has passed 17 of 54 tests.  

Here are my notes on this (grouped into categories)

1. Output
   * output text to standard out
     * Write-Host
     * Write-Output
     * naked string (last string is always ends up in standard output)
   * output text to standard error
     * [Console]::Error.WriteLine()
2. Variables
   * output variables using string interpolation
     * demonstrate using Set-Variable
     * demonstrate using = operator
3. Arithmetic
   * show basic boolean evaluation
5. Branch
   * test a number for menu selection (note: @" "@ commented out)
     * demonstrate string comparison
6. Looping
   * collection loops on directory listing and PsIsContainer to test for a directory
     * demonstrate using foreach() collection loop
     * demonstrate piping into ForEach-Object collection loop
   * count style loop
     * demonstrate using range operation .. piped into foreach
     * demonstrate using foreach with a range operation ..
7. Arrays
   * Array Initialization
      * array length with length property
   * Array Enumeration
      * declare and initialize array
      * enumerate array one element at a time
        *  demonstrate using collection loop with foreach

Reply all
Reply to author
Forward
0 new messages