Commit graph

350 commits

Author SHA1 Message Date
Sergei Vorobev 8011ad707f Disable 3 debugging tests on all platforms to unblock code integration 2016-06-22 06:28:34 -07:00
James Truher [MSFT] 810ed39d49 Merge pull request #1062 from PowerShell/XMLCommandPesterTest
Add Export-Clixml and Import-Clixml Pester Test
2016-06-20 11:00:02 -07:00
Dongbo Wang eae26dc0fa Add test to verify that a simple workflow can run 2016-06-17 14:54:54 -07:00
Sergei Vorobev 299d7798ce Merge pull request #1136 from PowerShell/vors/scheduledjobs
PSScheduledJobs Module
2016-06-17 11:26:24 -07:00
JumpingYang001 8cd16e81c1 Update fix based on comments for Sort-Object Pester Test 2016-06-16 19:54:13 -07:00
JumpingYang001 bb32b104bc Add Sort-Object Pester Unit Test 2016-06-16 19:46:52 -07:00
JumpingYang001 c1b0095361 Update fix based on comments for Export-Clixml and Import-Clixml Pester Test 2016-06-16 19:44:57 -07:00
JumpingYang001 5c9ff45370 Add Export-Clixml and Import-Clixml Pester Test 2016-06-16 19:42:51 -07:00
Sergei Vorobev 7cd6a76479 Add project.json for ScheduledJob, add test that we build PSScheduledJob module 2016-06-16 19:20:35 -07:00
Andrew Schwartzmeyer b19be8c911 Fix CentOS RID in tests and build module 2016-06-16 18:39:29 -07:00
Andrew Schwartzmeyer 8e7c2ca30b Sign all assemblies with key 2016-06-16 15:48:18 -07:00
Sergei Vorobev e32346e58c Add tests to ensure we build LocalAccounts and Archive correctly 2016-06-16 12:53:51 -07:00
Andy Schwartzmeyer cd6b4e2ebc Merge pull request #1090 from PowerShell/scriptdebug
Fix Broken Powershell Debugging
2016-06-15 17:38:16 -07:00
Andrew Schwartzmeyer 7d1ce65079 Mark tests as pending on Travis's OS X and on Windows
Because redirected `stdin` does not yet work on Windows, and because any
output based test does not yet work on OS X on Travis (where this is no
TTY), we cannot yet run these tests on those platforms.
2016-06-15 12:36:17 -07:00
v-alexjo acd9249fe2 Added PORTABLE as define for debugging and reidented tests. 2016-06-15 12:33:11 -07:00
v-alexjo f483429d11 Guarding Diagonstics to fix powershell debugging on Linux 2016-06-15 12:32:10 -07:00
v-alexjo 72cd28c336 Moving debugging tests out of Set-PSBreakpoint tests 2016-06-15 12:32:10 -07:00
Andrew Schwartzmeyer af258919b7 Add tests for hierarchical paths 2016-06-15 12:16:54 -07:00
JumpingYang001 719c9fd5f3 Update fix for Get-Member Pester Test 2016-06-14 21:27:48 -07:00
JumpingYang001 bd61c5e88d Add Get-Member Pester Test and fix merged to master broken 2016-06-14 19:51:41 -07:00
James Truher [MSFT] ed590b95e7 Merge pull request #1097 from PowerShell/CompareObjectPesterTest
Fix merge to master broken for Compare-Object Pester Test
2016-06-14 15:06:16 -07:00
JumpingYang001 4005348f45 Update fixes based on James comments for DisplayXML Pester Test 2016-06-11 23:11:53 -07:00
JumpingYang001 1d6ab11ea8 Update fix based on comment for DisplayXML Pester Test 2016-06-11 23:11:53 -07:00
JumpingYang001 0dc339f579 Update Format-Custom Tree object Pester Test 2016-06-11 23:11:53 -07:00
JumpingYang001 1504f9b64f Add Format-Custom Tree object Pester Test 2016-06-11 23:11:53 -07:00
JumpingYang001 dd3ee79c89 Fix OSX fail for DisplayXML Pester Test 2016-06-11 23:11:53 -07:00
JumpingYang001 c87dac7ba0 Add DisplayXMLTest to Pester Unit Test 2016-06-11 23:11:53 -07:00
JumpingYang001 0514f6a8d0 Add Compare-Object Pester Test and fix merge to master broken 2016-06-11 22:53:01 -07:00
Andrew Schwartzmeyer e3056303aa Rename compilationOptions to buildOptions in project.json files
This resolves #928. This is a breaking change in that you *must* be
running a recent version of .NET CLI.
2016-06-10 11:03:56 -07:00
Sergei Vorobev 88ac6d0b2d Temporarely skip 1 failing test 2016-06-10 17:03:49 +00:00
James Truher [MSFT] 7170bc681b Merge pull request #982 from PowerShell/SelectObjectPesterTest
Add Select-Object Pestert Test
2016-06-09 16:41:36 -07:00
James Truher [MSFT] 5b17b603fb Merge pull request #989 from PowerShell/CsvCommandTest
Add Unit Test for Export-Csv
2016-06-09 16:37:57 -07:00
James Truher [MSFT] 0d3f980795 Merge pull request #1022 from PowerShell/ImportCSVV2Tests
Add Unit Test for Import-Csv
2016-06-09 16:34:53 -07:00
James Truher [MSFT] b76f569caf Merge pull request #983 from PowerShell/ConvertToXml
Add Unit Test for ConvertTo-Xml
2016-06-09 16:28:05 -07:00
Andrew Schwartzmeyer 560bcaf736 Refactor base directory tests 2016-06-09 14:16:33 -07:00
Andy Schwartzmeyer a48c5281a5 Fix Windows consistency tests
Use `USERPROFILE`, not `HOME`. The latter doesn't exist on Windows, and
`HOMEPATH` strips the drive. The former provides `C:\Users\<username>`.

Fix location tested for JIT cache location on Windows.
2016-06-09 09:50:36 -07:00
Andrew Schwartzmeyer 4b0c916646 Skip tests which can't be run on Travis OS X
These should be marked as `-Pending` but Pester doesn't accept both
`-Skip` and `-Pending` parameters, so they had to be combined to support
skipping on Windows.
2016-06-09 09:50:36 -07:00
Andrew Schwartzmeyer 41c7f9e469 Update XDG BDS tests to specifications
This renames the tests and updates for better requirement
specifications. The profile, modules, history, and startup cache data
are tested for not breaking Windows behavior, new Linux behavior, and
respecting set variables on launch. This also corrects some erroneous
assumptions I had previously made.

The ModuleAnalysisCache cannot be tested, and the startup cache data
might not be testable on Windows.
2016-06-09 09:50:36 -07:00
v-alexjo c2527199a6 Further code review changes 2016-06-09 09:50:36 -07:00
v-alexjo 4c1f9f9c79 Adding XDG tests 2016-06-09 09:50:36 -07:00
Andrew Schwartzmeyer fd649c0f77 Revert "Merge pull request #1046 from PowerShell/GetMemberCommandTest"
This reverts commit 7392c68bcb, reversing
changes made to 1ee6e4ef2d.
2016-06-08 13:24:33 -07:00
Andrew Schwartzmeyer 1f36de3e03 Revert "Merge pull request #1047 from PowerShell/CompareObjectPesterTest"
This reverts commit 1ee6e4ef2d, reversing
changes made to 5a0155dc9d.
2016-06-08 13:23:21 -07:00
James Truher [MSFT] 26691a5088 Merge pull request #1024 from PowerShell/MeasureObjectPesterTest
Add Measure-Object Pester Unit Test
2016-06-08 12:02:56 -07:00
James Truher [MSFT] 7392c68bcb Merge pull request #1046 from PowerShell/GetMemberCommandTest
Add Unit Test for Get-Member
2016-06-08 12:00:57 -07:00
James Truher [MSFT] 1ee6e4ef2d Merge pull request #1047 from PowerShell/CompareObjectPesterTest
Add Compare-Object Pester Unit Test
2016-06-08 11:59:14 -07:00
James Truher [MSFT] 5a0155dc9d Merge pull request #1056 from PowerShell/NewObjectPesterTest
Add New-Object Pester Unit Test
2016-06-08 11:57:59 -07:00
James Truher [MSFT] 8fca9646e9 Merge pull request #1057 from PowerShell/SelectXMLPesterTest
Add Select-XML Pester Unit Test
2016-06-08 11:56:23 -07:00
James Truher [MSFT] 0e2f25def5 Merge pull request #1059 from PowerShell/TeeObjectTests
Add Unit Test For Tee-Object
2016-06-08 11:53:39 -07:00
Andrew Schwartzmeyer c6960f0867 Add tests for command name matching 2016-06-03 14:18:00 -07:00
Andy Schwartzmeyer b9bf32d962 Merge pull request #1068 from PowerShell/andschwa/trace-command
Port Trace-Command
2016-06-03 14:13:13 -07:00