Backupbot Tests #29

Open
opened 2023-10-03 16:56:01 +00:00 by moritz · 6 comments
Owner
  • 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
Owner

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.
Owner

Just to note, in the meantime, we've set up an automated CI for abra running on a specifically provisioned CI server. This could be re-used for this test suite, also using the Bash Framework ™ approach.

Just to note, in the meantime, we've set up an automated CI for `abra` running on a specifically provisioned CI server. This could be re-used for this test suite, also using the Bash Framework ™ approach.
decentral1se moved this to To Do in backupbot revolution on 2025-04-20 06:03:31 +00:00
Sign in to join this conversation.
No description provided.