Add info about testing

pull/250/head
Dakota Benjamin 2016-02-08 13:24:11 -05:00
rodzic de0339cce0
commit ce0ee9c005
1 zmienionych plików z 66 dodań i 0 usunięć

66
tests/testing.md 100644
Wyświetl plik

@ -0,0 +1,66 @@
## opendm/
### config.py
* test each parameter (min, max, out of bounds, etc.)
### context.py
* Each path must be a valid, existing path
### io.py
* check each function with a known string
### system.py
* (Get_ccd_widths is depreciated)
* parse_coordinate_system:
* This is also old code - new one is in types
### types.py
* ODM_Photos
* updated focal equal to known focal length
* updated ccd equal to known ccd
* ODM_Georef
* calculate_epsg needs to be updated, see master
* convert_to_las: assert existence of las file output
* utm_to_latlon:
*
*
## scripts/
### dataset.py
* test that supported_extensions works with a variety of file names, even bogus ones
* check outputs are all the photos
### resize.py
* resulting images are the right size
* metadata has been properly updated
### OpenSfM.py
* config file is contains info same as params
* when matcher_distance > 0 it is written to the config
* at least one reconstruction file is generated
* check that bundler file is exported (possible to check if valid?)
### CMVS.py
* validate params
* system.run() command is equal to some known string
### PMVS.py
* validate params
* system.run() command is equal to some known string
### odm_meshing.py
* validate params
* system.run() command is equal to some known string
### odm_texturing.py
* validate params
* system.run() command is equal to some known string
### odm_georeferencing.py
* validate params
* system.run() command is equal to some known string when using EXIF coords
* system.run() when using GCP
### odm_orthophoto.py
* validate params
* system.run() command is equal to some known string