Skip to content

Create sanity test to run against Thundermail stage#216

Merged
rwood-moz merged 2 commits intomainfrom
testing/stage-sanity-test
Apr 24, 2026
Merged

Create sanity test to run against Thundermail stage#216
rwood-moz merged 2 commits intomainfrom
testing/stage-sanity-test

Conversation

@rwood-moz
Copy link
Copy Markdown
Contributor

Create a sanity test which is a subset of the existing integration tests that will validate the very basic functionality of JMAP/IMAP/SMTP/CalDAV/Cardav on Thundermail stage. Have the ability to run the new sanity test against Thundermail stage by triggering it manually via a Github Actions workflow. Fixes #205.

@rwood-moz rwood-moz linked an issue Apr 21, 2026 that may be closed by this pull request
@rwood-moz rwood-moz force-pushed the testing/stage-sanity-test branch from 9203ced to d0a0436 Compare April 21, 2026 14:46
@rwood-moz
Copy link
Copy Markdown
Contributor Author

(.venv) rwood % python -m pytest -m sanity -vs              
===================== test session starts ================================================
collected 162 items / 140 deselected / 22 selected                                                                                                                                                                 

caldav/test_caldav_calendar.py::TestCaldavCalendar::test_get_default_calendar PASSED
caldav/test_caldav_calendar.py::TestCaldavCalendar::test_create_calendar PASSED
caldav/test_caldav_events.py::TestCaldavEvents::test_create_and_edit_event PASSED
caldav/test_caldav_events.py::TestCaldavEvents::test_get_all_events PASSED
caldav/test_caldav_tasks.py::TestCaldavTasks::test_create_task PASSED
caldav/test_caldav_tasks.py::TestCaldavTasks::test_mark_task_completed PASSED
caldav/test_caldav_tasks.py::TestCaldavTasks::test_get_all_tasks PASSED
carddav/test_carddav_address_book.py::TestCarddavAddressBook::test_get_default_address_book PASSED
carddav/test_carddav_address_book.py::TestCarddavAddressBook::test_create_address_book PASSED
carddav/test_carddav_contacts.py::TestCarddavContacts::test_get_contacts_list PASSED
carddav/test_carddav_contacts.py::TestCarddavContacts::test_update_contact PASSED
imap/test_mailboxes.py::TestIMAPMailboxes::test_create_mailbox PASSED
imap/test_mailboxes.py::TestIMAPMailboxes::test_subscribe_mailbox PASSED
imap/test_messaging.py::TestIMAPMessaging::test_mark_message_read PASSED
imap/test_messaging.py::TestIMAPMessaging::test_fetch_message_details PASSED
jmap/test_jmap_email.py::TestJMAPEmail::test_query_email_inbox PASSED
jmap/test_jmap_email.py::TestJMAPEmail::test_get_email_single PASSED
jmap/test_jmap_email.py::TestJMAPEmail::test_send_email_html PASSED
jmap/test_jmap_mailboxes.py::TestJMAPMailboxes::test_get_all_mailboxes PASSED
jmap/test_jmap_mailboxes.py::TestJMAPMailboxes::test_create_mailbox PASSED
jmap/test_jmap_mailboxes.py::TestJMAPMailboxes::test_subscribe_mailbox PASSED
smtp/test_smtp_messaging.py::TestSMTPMessaging::test_send_email_html PASSED

==================================================================================
22 passed, 140 deselected in 131.90s (0:02:11) 

@rwood-moz rwood-moz force-pushed the testing/stage-sanity-test branch from d0a0436 to 322a51d Compare April 21, 2026 14:54
@rwood-moz rwood-moz force-pushed the testing/stage-sanity-test branch from 322a51d to 29e47df Compare April 21, 2026 18:42
@rwood-moz rwood-moz changed the title WIP: Create sanity test to run against Thundermail stage Create sanity test to run against Thundermail stage Apr 21, 2026
@rwood-moz rwood-moz marked this pull request as ready for review April 21, 2026 18:43
@rwood-moz rwood-moz requested a review from ryanjjung April 22, 2026 12:51
Comment thread .github/workflows/sanity-test-stage.yml Outdated
@rwood-moz rwood-moz requested a review from ryanjjung April 23, 2026 14:21
Copy link
Copy Markdown
Contributor

@ryanjjung ryanjjung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool! Looks good, and I got to learn about custom metadata markers in pytest. Thanks!

@rwood-moz rwood-moz merged commit b7f11ab into main Apr 24, 2026
2 checks passed
@rwood-moz rwood-moz deleted the testing/stage-sanity-test branch April 24, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a sanity test to run on Thundermail stage

2 participants