[GH-ISSUE #10] Tests (Test files, unit test, CI ...) #9

Open
opened 2026-03-02 03:59:11 +03:00 by kerem · 4 comments
Owner

Originally created by @ElDavoo on GitHub (Feb 21, 2022).
Original GitHub issue: https://github.com/ElDavoo/wa-crypt-tools/issues/10

I'd be useful to have a test suite with:

  1. Sample unencrypted, crypt14 and crypt15 msgstore, wallpapers, stickers, commerce_backup ...
  2. Unit test to test single functions
  3. Automatic scripts to run these tests in Github at every commit.

Unfortunately I don't have the time to do that. If someone else does I will happily accept a PR

Originally created by @ElDavoo on GitHub (Feb 21, 2022). Original GitHub issue: https://github.com/ElDavoo/wa-crypt-tools/issues/10 I'd be useful to have a test suite with: 1) Sample unencrypted, crypt14 and crypt15 msgstore, wallpapers, stickers, commerce_backup ... 2) Unit test to test single functions 3) Automatic scripts to run these tests in Github at every commit. Unfortunately I don't have the time to do that. If someone else does I will happily accept a PR
Author
Owner

@martinodonnell commented on GitHub (May 12, 2022):

Hey @ElDavoo,

I am back to repay my debt. Do you have a testing framework in mind or will I just use pytest

<!-- gh-comment-id:1125261899 --> @martinodonnell commented on GitHub (May 12, 2022): Hey @ElDavoo, I am back to repay my debt. Do you have a testing framework in mind or will I just use [pytest](https://docs.pytest.org/en/7.1.x/)
Author
Owner

@ElDavoo commented on GitHub (May 12, 2022):

Hey @ElDavoo,

I am back to repay my debt. Do you have a testing framework in mind or will I just use pytest

No idea, just go for the default option (pytest I guess)

<!-- gh-comment-id:1125475855 --> @ElDavoo commented on GitHub (May 12, 2022): > Hey @ElDavoo, > > I am back to repay my debt. Do you have a testing framework in mind or will I just use [pytest](https://docs.pytest.org/en/7.1.x/) No idea, just go for the default option (pytest I guess)
Author
Owner

@ElDavoo commented on GitHub (Aug 25, 2023):

I made some example tests, but I don't have the time to work on it. They also broken on GH actions...

<!-- gh-comment-id:1693546133 --> @ElDavoo commented on GitHub (Aug 25, 2023): I made some example tests, but I don't have the time to work on it. They also broken on GH actions...
Author
Owner

@ElDavoo commented on GitHub (Mar 31, 2024):

we REALLY need this, as now every change requires lots of testing and might break everything

<!-- gh-comment-id:2028908018 --> @ElDavoo commented on GitHub (Mar 31, 2024): we REALLY need this, as now every change requires lots of testing and might break everything
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wa-crypt-tools#9
No description provided.