mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Documentation: Renamed folder
This commit is contained in:
37
Documentation/UsersGuide/CommandLineParameters.md
Normal file
37
Documentation/UsersGuide/CommandLineParameters.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# Command Line Parameters #
|
||||
|
||||
## Basic usage ##
|
||||
|
||||
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
|
||||
|
||||
## 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.
|
||||
|
||||
### Regression test folder structure ###
|
||||
|
||||
```
|
||||
MyRegressionTestFolder
|
||||
TestCase_Faults
|
||||
RegTestBaseImages
|
||||
RegTestDiffImages
|
||||
RegTestGeneratedImages
|
||||
TestCase_SOIL
|
||||
RegTestBaseImages
|
||||
RegTestDiffImages
|
||||
RegTestGeneratedImages
|
||||
...
|
||||
```
|
||||
|
||||
### -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.
|
||||
Reference in New Issue
Block a user