Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Level

...

3 Testing Overview

...


Level 2+ 3 Quality means that the  technical design of the generated application fits the migration team's architecture and development standards on the target platform.

...

Technical defects can typically be removed by modifying the configuration of the translator and re-running the translations. They can then be verified as being resolved, or not, using the Snapshot comparison features built into gmStudio.

.NET Build Test with Code Analysis

Most of the time you will be able to cover allot of ground with manual code reviews. However, the GMM is predicated on automation so an automated code review process is described here.

...

In order to activate code reviews with MSBuild you need to add a block of XML to your .NET project file. This can be done using a target edit like the one shown below

Code Block
<gmBasic>
...
  <Compile Project="%SrcPath%" />

  <Analyse />

  <Output Status="New" Filename="%BndPath%" />

  <Author>
  <Fix>

      <!-- the following target edit turns on code analysis -->

      <Replace name="U: Add Code Analysis to MSBuild step" lang="csproj">
      <OldBlock><![CDATA[
          <ErrorReport>prompt</ErrorReport>
        </PropertyGroup>
      ]]></OldBlock>
      <NewBlock><![CDATA[
          <ErrorReport>prompt</ErrorReport>
          <RunCodeAnalysis>true</RunCodeAnalysis>
        </PropertyGroup>
      ]]></NewBlock>
      </Replace>

  </Fix>
  </Author>
...
</gmBasic>

...

 

Once RunCodeAnalysis is on, the .NET Build Logs will include code analysis information. The Text Plan for the Standard .NET Build Test can also be used for the .NET Build Text with Code Analysis.

...