Backupbot Tests #29

Open
opened 2023-10-03 16:56:01 +00:00 by moritz · 5 comments
Member
  • Test the backupbot.py script itself using python tests?
  • Write abra integration tests
- [ ] Test the `backupbot.py` script itself using python tests? - [ ] Write abra integration tests
moritz added this to the backupbot revolution project 2023-10-03 16:56:06 +00:00
Owner

CI is currently running the old version: https://git.coopcloud.tech/coop-cloud/backup-bot-two/src/branch/main/.drone.yml we could at least be running linter or a python -i ... over the script to check it can run through?

CI is currently running the old version: https://git.coopcloud.tech/coop-cloud/backup-bot-two/src/branch/main/.drone.yml we could at least be running linter or a `python -i ...` over the script to check it can run through?
Owner

Working on the integration tests, ran into #34 and #32 🤓

Working on the integration tests, ran into https://git.coopcloud.tech/coop-cloud/backup-bot-two/issues/34 and https://git.coopcloud.tech/coop-cloud/backup-bot-two/issues/32 🤓
Owner

Annnnd #35

This is all for the "no backups, starting from scratch" use case.

I see also backup snapshots works well but outputs nothing if there are no snapshots. Could we maybe get a "there are no snapshots" output to tell the user what is going on?

Annnnd https://git.coopcloud.tech/coop-cloud/backup-bot-two/issues/35 This is all for the "no backups, starting from scratch" use case. I see also `backup snapshots` works well but outputs nothing if there are no snapshots. Could we maybe get a "there are no snapshots" output to tell the user what is going on?
Author
Member

I see also backup snapshots works well but outputs nothing if there are no snapshots. Could we maybe get a "there are no snapshots" output to tell the user what is going on?

Fixed: 8750ec1813

> I see also `backup snapshots` works well but outputs nothing if there are no snapshots. Could we maybe get a "there are no snapshots" output to tell the user what is going on? Fixed: https://git.coopcloud.tech/coop-cloud/backup-bot-two/commit/8750ec181346bbd36c64a0f3beba0ab8df78fb7c
decentral1se added the
help wanted
label 2024-01-11 13:32:34 +00:00
Owner

I think we're having issues with the abra integration test suite being huge and only runnable locally.

So we might want to consider setting up our own integration suite here?

We could copy the abra test suite approach.

I think we're having issues with the `abra` integration test suite being huge and only runnable locally. So we might want to consider setting up our own integration suite here? We could copy the `abra` test suite approach.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
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: coop-cloud/backup-bot-two#29
No description provided.