shamim8888 / asterixdb

Automatically exported from code.google.com/p/asterixdb
0 stars 0 forks source link

Request for cleaned/enhanced RuntimeTest suite for DML. #111

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is not a bug report, but a request for cleaning up and enhancing the 
runtime tests under:
runtimets/dml/*

Currently, we have "some" tests, but they don't seem complete, and their naming 
is confusing. We should clean them up and enhance them. In particular we should 
cover the following dimensions:
1. Inserting/deleting using constants
2. Inserting/deleting using a query result
3. Inserting/deleting using an empty dataset
4. Inserting/deleting using a loaded dataset
5. Inserting/deleting with all types of secondary indexes
6. Loading from various external sources

I probably forgot some cases here. My point is we should develop a plan, and 
cover all cases.

I've started some of the work in the context of issue 108.

Original issue reported on code.google.com by alexande...@gmail.com on 3 May 2012 at 2:04

GoogleCodeExporter commented 9 years ago
Alex, good that you have brought this up for discussion. Including Vinayak and 
Mike, for their comments and suggestions.

Original comment by khfaraaz82 on 4 May 2012 at 4:22

GoogleCodeExporter commented 9 years ago
I like the idea of better tests :).

Khurram, could you put together a test spec for testing AQL capabilities?

Make sure you identify the various dimensions along which the tests will be 
created:

Broadly, the dimensions that will generate a combinatorial set of tests are:

1. Insert, Delete, Query
2. Type of source/target: Internal/External, with index, without index
3. Simple to complex schemas: start with flat closed records with no nulls, 
flat closed allow nulls, flat open ..., then one nested structure ... you get 
the picture.
4. Complexity of the query - single source, multiple sources, joins, unions, etc
5. Functions (I think you have a test spec for this already)

Think of any other dimensions I have missed.

Please make sure that the naming convention used for the test files is defined 
by the choices made along the dimensions.

Original comment by vinay...@gmail.com on 4 May 2012 at 4:37

GoogleCodeExporter commented 9 years ago
This is work in progress.

Original comment by khfaraaz82 on 20 Nov 2012 at 4:37

GoogleCodeExporter commented 9 years ago

Original comment by vinay...@gmail.com on 17 May 2013 at 7:59