HGustavs / LenaSYS

Code Viewer and Course Organization System used in some courses at University of Skövde
57 stars 31 forks source link

Write tests for services in highscoreservice.php #13950

Closed d21erisu closed 7 months ago

d21erisu commented 1 year ago

Go through the code, focusing on services, and write tests that traverses all paths in the code. A step by step text file containing what actions to perform and evaluate the tests.

You should do thorough research of the logs, testing out different actions and what values are sent, if logging in or not changes behaviour. The models and functional requirements may also be applicable.

Follow the template in the README under backend-models/service-tests/README.md

See the process of work done in issue https://github.com/HGustavs/LenaSYS/issues/13343!!!

Ignore "Retrieve Information"

b21antbr commented 1 year ago

I believe we have to put this issue to pause at the moment since it only does queries in retrieve information.

c21axepe commented 1 year ago

As anton said. I dont think we are supposed to test the retrieval of information. Only services

c21alest commented 1 year ago

After discussion with Henrik this service is not used anymore