Skip to content

DB: integration tests automation process

 

Windows: open file for writing (lock file)

Sometimes you need to lock file and investigate how an application under the test will be working.

There are few steps to implement it:

  1. Open PowerShell console
  2. Write the following code:
    $file=[System.io.File]::Open('full/path/to/your/file', 'append', 'Write', 'None')
    
  3. Your test steps…
  4. Don’t forget to close the file after testing by
    $file.Close()
    

P.S.: It’s possible that it’ll be the error in your application log:

Exception calling "Open" with "4" argument(s): "The process cannot access the file 'full/path/to/your/file'' because it is being used by another process."

Continuous code quality improvement with SonarQube (Russian edition)

Link

QA interview questions(russian edition)

Follow the link to see QA interview questions. Now question list is in Russian language. English version is coming soon..

QA interview questions(in Russian)

Quote

Sprint Commitment – it is only in your head

Overall there seems to be too much fuzz around sprint commitment and Burndowns. But sprint is a tool, not a goal. Neither we work for nice metrics. Our job is to create and maintain products. If this function is impaired just to make the charts green, it means we shift our priority from the product to the metrics.

Read more http://qala.io/blog/you-must-fail-scrum-sprints.html

jobDSL plugin: scripting Jenkins CI configuration

%d bloggers like this: