Paul Krill
Editor at Large

Microsoft sets dynamic analysis project

news
Jan 29, 20082 mins

Microsoft Research is working on a project for dynamic analysis and test generation for .Net-based software development projects.

Pex, for Program EXploration, is an intelligent assistant to a programmer, according to a Microsoft Research Web page. It automatically generates unit tests to help find bugs early and also suggests to how to fix bugs.

The project enables a new development experience in the Microsoft Visual Studio Team System application lifecycle management platform by taking test-driven development to “the next level,” Microsoft Research said.

“From a parameterized unit test, it automatically produces traditional unit tests cases with high code coverage. Moreover, when a generated test fails, Pex can often suggest a bug fix,” Microsoft Research said.

With Pex, a systematic program analysis is performed, with detailed execution traces of existing test cases recorded. The software learns the program behavior from execution traces and a constraint solver produces new test cases with different behavior.

“The result is a minimal test suite with maximal code coverage. When a test fails, Pex uses detailed dataflow information to determine the root cause and a potential bug fix,” Microsoft Research said.

Microsoft has not set any date for release of any product based on Pex, a Microsoft representative said.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author