summaryrefslogtreecommitdiff
path: root/tests/README
blob: 2bc981cc8dfa02378b679e8466bc85bafbb36682 (plain)
  1. Monkeysphere test infrastructure
  2. ================================
  3. These are scripts to test various aspects of the Monkeysphere system.
  4. Some notes about getting started working on the monkeysphere test
  5. infrastructure:
  6. - the tests can and should be run as a non-privileged user. since the
  7. tests do potentially destructive things (like wiping out and
  8. recreating gpg keyrings) they should definitely *not* be run as
  9. root. it may even be advisable to run them as a different,
  10. dedicated user, so that any goofs you make while updating the test
  11. infrastructure don't compromise your main account.
  12. - you do not need the monkeysphere package installed locally, though
  13. you will need the monkeysphere dependencies installed locally.
  14. - the idea with this script is to do the following:
  15. - set up test server infrastructure
  16. - test the server setup
  17. - set up test user
  18. - test an ssh connection between test user and test server
  19. - modify server/user setup and rerun ssh_test to make sure it
  20. suceeds/fails as expected
  21. - there are various FIXMEs in the script that outline some of the
  22. further testing that should be undertaken.
  23. - good documentation in the code in the form of comments are needed.