Add tests for Python code #51

Merged
pfm merged 14 commits from 39-add-tests into master 5 months ago
pfm commented 5 months ago
Collaborator
  • Provide a script to feed Mailgate with input messages and check the output.
  • Explain testing basics.
  • Set up 3 identities: cleartext, RSA and Ed25519.

This addresses #39.

- Provide a script to feed Mailgate with input messages and check the output. - Explain testing basics. - Set up 3 identities: cleartext, RSA and Ed25519. This addresses #39.
pfm added 10 commits 5 months ago
a9506805fb Write a test mail relay
27d7481078 Set up ground for E2E tests
f1a799d864 Adjust E2E tests to work with all scenarios
ff3f6aa793 Add a test overview, extract constants
pfm added 1 commit 5 months ago
fc2779ef7d Improve test code structure
muppeth was assigned by pfm 5 months ago
Poster
Collaborator

Hi @muppeth, please take a look if the tests work on your machine and if so, consider accepting the change.

Hi @muppeth, please take a look if the tests work on your machine and if so, consider accepting the change.
pfm added 1 commit 5 months ago
2cf60dec40 Add unit tests for GnuPG command-line generator
pfm added 1 commit 5 months ago
1002da78fa Clean up test messages
muppeth approved these changes 5 months ago
# GPG-Mailgate test files
test/logs
test/tmp
test/gpg-mailgate.conf
Owner

shouldn't we also have test/keyhome/random_seed?

shouldn't we also have `test/keyhome/random_seed`?
pfm commented 5 months ago
Poster
Collaborator

You're right - I've fixed that in the newest commit.

You're right - I've fixed that in the newest commit.
pfm added 1 commit 5 months ago
3b9f714cdb Ignore random_seed
pfm merged commit ee0d65f6bb into master 5 months ago
pfm deleted branch 39-add-tests 5 months ago

Reviewers

muppeth approved these changes 5 months ago
The pull request has been merged as ee0d65f6bb.
Sign in to join this conversation.
Loading…
There is no content yet.