Tag Archives: powershell

Cannot upload task attachment file

We run Pester tests during our tfs release. The output is published as test results and saved to the log files. To save the output.xml to the log file we use task.uploadfile from azure pipeline tasks. This task failed because … Continue reading

Posted in Development | Tagged , , , , | Leave a comment

Powershell extension method

We are testing our Powershell Module with Pester. Since the data is some sort of graph we need to work with indexers / lists all the time. After a small brainstorm session we decided on an Extension Method approach. Reading … Continue reading

Posted in Development | Tagged , , , | Leave a comment

Powershell module

Windows PowerShell is a Windows command-line shell designed especially for system administrators. Windows PowerShell includes an interactive prompt and a scripting environment that can be used independently or in combination. docs.microsoft.com We are building a system and need to transform-and-load … Continue reading

Posted in Development | Tagged , , | 1 Comment

Regression test with Pester

My current project is a scrum project. We develop new features in sprints and deliver working software every 3 weeks. To keep the pace steady we have loads of tests that run every night after a build is deployed. Until … Continue reading

Posted in Tooling | Tagged , , | 1 Comment

Start-SqlJobAndWait

We have some SqlJobs that we run in our regression tests. To automate this we need something that can start the job and wait for it to finish. Based on this post we know we need to poll the sysjobhistory … Continue reading

Posted in Test, Tooling | Tagged , , , | Leave a comment

Week 38 roundup

Last week recap and links: Powershell syntax in Sublime Text 2, the method is for Windows but also applies to Mac We used the build definition settings (TFS2015) to use a two digit month and dayOfTheMonth buildnumber. The key is … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

Loadtesting with Powershell

Our product is in the acceptance testing phase. In the assigned environment the available tooling is very limited. But we must do a loadtest to report on the average requests / second our webservice can handle from a single client. … Continue reading

Posted in Test | Tagged , , | Leave a comment