Opened 7 years ago

Last modified 6 years ago

#1689 closed enhancement

Systemtest_rename rasql's test cases homogeneously — at Version 3

Reported by: Bang Pham Huu Owned by: dkamov
Priority: minor Milestone: Future
Component: systemtest Version: development
Keywords: Cc: Dimitar Misev
Complexity: Medium

Description (last modified by Bang Pham Huu)

In systemtest/testcases_mandatory (e.g: http://rasdaman.org/browser/systemtest/testcases_mandatory/test_select/queries)

the test queries are not homogeneous with systemtest/testcases_services (e.g: http://rasdaman.org/browser/systemtest/testcases_services/test_wcps/queries)

They should have:
+ Test number prefix (e.g: 001-arcosbig.rasql).
+ Test errors needs .error.rasql to recognize (current I need to check oracle file to know this test is error, not only in my system).

@Dragi: The ticket is about checking rasdaman/systemtest with any queries folders and add the prefix with increasing numbers if they don't exist, e.g:

systemtest/testcases_mandatory/test_clipping/queries/cline_bothvertout.rasql

-> 

systemtest/testcases_mandatory/test_clipping/queries/001-cline_bothvertout.rasql

NOTE: if you change test files in queries folder (e.g: test_clipping/), check if test files also listed in test_clipping/known_fails and rename them accordingly.

and this is more frustrating, check folder oracles of test cases without prefix numbers and see which oracles are expected error cases. Add ".error." before the file extension for the corresponding query in queries folder and oracle file in oracle folder, e.g:

Open this file, it is an oracle with expected error from Rasql query, but there is no way to tell it is working query or non working query from its name:

systemtest/testcases_mandatory/test_clipping/oracle/e_clinestr_rg_card1.oracle

rename to (note the prefix increasing number)

systemtest/testcases_mandatory/test_clipping/oracle/001-e_clinestr_rg_card1.error.oracle

and 


systemtest/testcases_mandatory/test_clipping/queries/001-e_clinestr_rg_card1.error.rasql

Change History (3)

comment:1 by Vlad Merticariu, 7 years ago

Milestone: 9.5Future

comment:2 by Bang Pham Huu, 6 years ago

Cc: bbell added
Description: modified (diff)
Milestone: Future9.7
Owner: changed from bbell to dkamov
Status: newassigned

comment:3 by Bang Pham Huu, 6 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.