<p>Development-specific management commands live in <code>zilencer/management/commands</code>. Highlights include:
<ul>
<li><code>./manage.py populate_db</code>: Rebuilds database. Has options to e.g. create 3K users for testing.</li>
<li><code>./manage.py mark_all_messages_unread</code>: Useful for testing reading messages.</li>
<li><code>./manage.py add_new_realm</code>: Add a new realm. Useful for testing onboarding.</li>
<li><code>./manage.py add_new_user</code>: Add a new user. Useful for testing onboarding.</li>
<li><code>./manage.py add_mock_conversation</code>: Add test messages, streams, images, emoji, etc.
into the dev environment. First edit zilencer/management/commands/add_mock_conversation.py
to add the data you're testing.
</li>
</ul>
</p>
<p>We also have
<ahref="https://zulip.readthedocs.io/en/latest/subsystems/auth.html">documentation on testing LDAP, Google & GitHub authentication</a> in the development environment.