FiorelaCiroku / XD-Testing

This repository is created to keep track on the progress of an automated test management using Github Actions. The testing methodology is based on the eXtreme Design ontology modelling methodology.
2 stars 2 forks source link

Input cross-check #17

Closed FiorelaCiroku closed 2 years ago

FiorelaCiroku commented 2 years ago

Is your feature request related to a problem? Please describe. This feature is requested in order to check if the ontology tester has provided all the necessary input to create a test case.

Describe the solution you'd like I would like for the bot to validate the input and be able to verify whether all types of input are present in the repository.

Describe alternatives you've considered The alternative option is for the ontology engineer to provide the test case completed.

Additional context The input required from the ontology engineer is a competency question file, SPARQL query file and expected result file.

FiorelaCiroku commented 2 years ago

The work regarding this issue can be followed in the input cross-check action.

FiorelaCiroku commented 2 years ago

The action is 90% complete. It can find the directory of the conceptual component that we are testing, run through the files in the directory and check of each file if it is empty or not. Currently, it displays a message in the terminal the result of the validation. This result will be used as a condition for the continuation of the test execution.

FiorelaCiroku commented 2 years ago

The action has been modified for better validation of the files. It now has full functionality.

FiorelaCiroku commented 2 years ago

In the future, we will need to improve the input cross check with more sophisticated methods for the check. For the moment the action checks if the files are 0 byte or not, but it does not check what kind of information is there.