Content-type: text/html; charset=UTF-8 Man page of SOPHOMORIX-TEST-API-FUNCTIONS

SOPHOMORIX-TEST-API-FUNCTIONS

Section: Maintenance Commands (8)
Updated: January 27, 2005
Index Return to Main Contents
 

NAME

sophomorix-test-api-functions - Testet Perl-Funktionen von sophomorix.  

SYNOPSIS

sophomorix-test-api-functions
 

DESCRIPTION

sophomorix-test-api-functions testet wichtige Funktionen von sophomorix, die eine Schnittstelle zu anderen Programmen, wie z.B. webmin darstellen.


Um den Test erfolgreich laufen zu lassen, ist es erforderlich einen definierten Benutzerstamm zu haben, um z.B. die Funktion get_user_in_adminclass() zu testen.

Diesen Benutzerstamm legt man an mit:

sophomorix-test-bunchofusers --add


Auch ist es notwendig, dass in einer Klasse keine zusätzliche Benutzer sind, so z.B. durch eigene Tests.


Das heisst letztendlich, dass ein leere Benutzerdatenbank vorhanden sein soll. Dann werden mit obigem Befehl Benutzer anlegt. Nun ist man bereit für den Test mit sophomorix-test-api-functions

 

SEE ALSO

sophomorix(8), sophomorix-teach-in(8), sophomorix-add(8), sophomorix-move(8), sophomorix-kill(8), sophomorix-print(8), sophomorix-user(8), sophomorix-split(8), sophomorix-project(8),  

AUTHOR

Written by <jeffbeck@web.de>.


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 20:49:58 GMT, May 10, 2019