You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Travis continuous integration script should use a kotnetcli test server to automatically test kotnetcli functionality on each commit. We can proceed as follows:
Running a kotnetcli test server (on localhost or permanently available remote test server) with a known dummy database.
Writing a simple shell script that takes advantage of the known dummy database to invoke kotnetcli with all possible outcomes, looping over all possible communicators. The shell script should verify kotnetcli's return code accordingly (see issue All ideas for numbering the error codes are welcome here. #55 ).
non-existing user
correct user, wrong password
correct user, invalid institution
correct user, max ip
kotnetcli server offline (in 'Kotnetverbinding testen' step)
We can furthermore extend our test server to yield the following two cases (e.g. when trying to log in with a specific dummy username or institution reserved for that purpose):
kotnetcli server internal error
kotnetcli server unkown rc code
kotnetcli server connection timeout (in 'Gegevens opsturen' or 'Gegevens verwerken' steps)
The text was updated successfully, but these errors were encountered:
Travis continuous integration script should use a kotnetcli test server to automatically test
kotnetcli
functionality on each commit. We can proceed as follows:localhost
or permanently available remote test server) with a known dummy database.kotnetcli
with all possible outcomes, looping over all possible communicators. The shell script should verifykotnetcli
's return code accordingly (see issue All ideas for numbering the error codes are welcome here. #55 ).The text was updated successfully, but these errors were encountered: