Update CommandLineParameters.md

This commit is contained in:
Magne Sjaastad 2013-10-21 11:42:34 +02:00
parent d118d0f60b
commit 00f6bc6f22

View File

@ -4,15 +4,14 @@
Parameter|Description
---------|-----------
-last | Open last used project
-project <filename> | Open project file <filename>
-case <casename> | Import Eclipse case <casename> (do not include .GRID/.EGRID)
-startdir | The default directory for open/save commands
-savesnapshots | Save snapshot of all views to 'snapshots' folder in project file folder. Application closes after snapshots are written to file.
-help, -? | Displays help text
`-last` | Open last used project
`-project <filename>` | Open project file <filename>
`-case <casename>` | Import Eclipse case <casename> (do not include .GRID/.EGRID)
`-startdir` | The default directory for open/save commands
`-help, -?` | Displays help text
## Regression test ##
A regression tool for QA is build into ResInsight. This tool will read a project file, open all views in this project, save snapshot images to file, and close the project. When snapshot images from all projects are completed, difference images based o generated and QA-approved images are computed. Based on these three sets of images, an HTML report is created and automatically displayed.
A regression tool for QA is build into ResInsight. This tool will read a project file, open all views in this project, save snapshot images to file, and close the project. When snapshot images from all projects are completed, difference images based on generated and QA-approved images are computed. Based on these three sets of images, an HTML report is created and automatically displayed.
### Regression test folder structure ###
@ -29,9 +28,12 @@ MyRegressionTestFolder
...
```
### -regressiontest <folder> ###
Run a regression test on all sub-folders starting with ``` TestCase* ``` of the given folder. **RegressionTest.rip** files in the sub-folders will be opened and snapshots of all the views is written to the sub-sub-folder **RegTestGeneratedImages**. Then difference images is generated in the sub-sub-folder **RegTestDiffImages** based
`-savesnapshots`
Save snapshot of all views to 'snapshots' folder in project file folder. Application closes after snapshots are written to file.
`-regressiontest <folder>`
Run a regression test on all sub-folders starting with `TestCase*` of the given folder. **RegressionTest.rip** files in the sub-folders will be opened and snapshots of all the views is written to the sub-sub-folder **RegTestGeneratedImages**. Then difference images is generated in the sub-sub-folder **RegTestDiffImages** based
on the images in sub-sub-folder **RegTestBaseImages**. The results are presented in **ResInsightRegressionTestReport.html** that is written in the given folder.
### -updateregressiontestbase <folder> ###
For all sub-folders starting with ```TestCase*```Copy the images in the sub-sub-folder **RegTestGeneratedImages** to the sub-sub-folder **RegTestBaseImages** after deleting **RegTestBaseImages** completely.
`-updateregressiontestbase <folder>`
For all sub-folders starting with `TestCase*`, copy the images in the sub-sub-folder **RegTestGeneratedImages** to the sub-sub-folder **RegTestBaseImages** after deleting **RegTestBaseImages** completely.