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

User input #7

Closed FiorelaCiroku closed 2 years ago

FiorelaCiroku commented 2 years ago

Is your feature request related to a problem? Please describe.

Receiving input from users.

Describe the solution you'd like

The input that the bot needs to get from the ontology engineer is:

Describe alternatives you've considered

The alternative is for the ontology engineer to assign IDs that connect CQs to SPARQL queries and expected results so that the test case can be built. That way we cannot test only one specific CQ but all that are available for the conceptual component.

Additional context

Until now, getting the user input by using bash script has not worked. The GitHub actions cannot stop the automation to require input from the user as it defies the purpose of the automation.

Currently, we are trying to get this input by environment variables, but this solution requires to modify the code each time you want to test a CQ.

FiorelaCiroku commented 2 years ago

The work progress about this feature can be followed in user-input action.

FiorelaCiroku commented 2 years ago

Environment variables are not a good solution to get user input. I also tried to get the input from the user by creating a GitHub page, but it does not support server side services that are necessary to store information received from the user. The input can only be received by using third party forms that direct the information to the email and not the back end of the website.

The solution for the moment is to get the user input by reading a file.

FiorelaCiroku commented 2 years ago

Getting input from a file is successful. Since getting input while an action is being executed is not supported by Github for the moment, we'll get the input the a .txt file that the user is going to create with the name of the conceptual component that they want to add.