Test accounts
For testing (by hand, or by a testing service such as TestSprite), run in the server's console:
sudo /opt/schoolstack/bin/schoolstack-test-accounts
and type a password (it isn't shown). It makes test-admin@schoolstack.test (administrator and
teacher), test-teacher@schoolstack.test, test-student1@schoolstack.test and
test-student2@schoolstack.test, all with that password; running it again sets the password
again. It also makes, once, the class "Test class: returned work" (taught by test-teacher, with
both test students in it and a returned essay with a grade, rubric feedback and a private
comment), so testers can check what students see after grading.
When testing is done, sudo /opt/schoolstack/bin/schoolstack-test-accounts --off turns them
off. The .test addresses never receive email. The product requirements for testers are in
docs/testing/ in the repository.
Example: Before handing the site to a testing service, the owner runs the command, types a
password, and gives the service https://schoolstack.me, test-teacher@schoolstack.test and that
password.
Related: Where the data lives · Notifications · Server options