Skip to content
Simon Cox edited this page Aug 23, 2019 · 4 revisions

Welcome to the loci-testdata wiki!

Test cases

Intro

Tests have been developed for Loc-I components and their integration. The two main components tested are listed below included what has been tested. A principle of the project is to define Test Cases for Loc-I based on use cases from the demonstrator tools as a starting point. Currently, CSIRO has defined Test Cases for Loc-I based on the Excelerator tools. The Test Cases are documented in various pages in this wiki.

Based on the Test Cases, Loc-I test data is populated in this repository - test case source files, test configs, and expected outputs as a result of the test cases.

Source data for the tests are stored here: http://loci-assets.s3-website-ap-southeast-2.amazonaws.com/source-data/ Source data for the Test Datasets can be loaded into a GIS tool to replicate the visualisation presented below as well as perform various area calculations to verify Loc-I data products and link sets.

Test case A. Geofabric Contracted Catchments (GFCC) with whole Mesh Blocks (MBs) contained

This tests the sfContain statements in the Graph cache are consistent and align with the GIS data for Geofabric Contracted Catchments and ASGS Mesh Blocks. Test instances currently use Geofabric v2.1 and ASGS 2016.

See https://github.com/CSIRO-enviro-informatics/loci-testdata/wiki/Test-case-A

Test case B. MBs with whole Geofabric Contracted Catchments contained

This tests the sfContain statements in the Graph cache are consistent and align with the GIS data for ASGS Mesh Blocks and Geofabric Contracted Catchments (the inverse of Test case A). Test instances currently use Geofabric v2.1 and ASGS 2016.

https://github.com/CSIRO-enviro-informatics/loci-testdata/wiki/Test-case-B

Test case C. Features overlapping with each other (GFCC and ASGS MB)

This tests cases where the statements about Features in the Graph cache overlap for (i) ASGS Mesh Blocks and (ii) Geofabric Contracted Catchments. Test instances currently use Geofabric v2.1 and ASGS 2016.

See https://github.com/CSIRO-enviro-informatics/loci-testdata/wiki/Test-case-C

Test case D. Catchments overlapping with each other (topology)

This tests the ability to navigate relationships within nested classifications and across to other classifications via topology (e.g. sfContain and sfWithin statements). Test instances currently use Geofabric v2.1 and ASGS 2016.

See https://github.com/CSIRO-enviro-informatics/loci-testdata/wiki/Test-case-D