Skip to content

🛠️ add e2e tests #51

@Cyber-Syntax

Description

@Cyber-Syntax

Problem Statement

  • Lack of end-to-end (e2e) tests for the CLI tool, which means we cannot verify that the tool works correctly in a real-world scenario. This can lead to undetected bugs and issues that may arise when users try to use the tool.

Solution Approach

  • Add e2e tests that simulate real-world usage of the CLI tool. This can be done by creating temporary configurations and backup locations using conftest fixtures, and then running the CLI tool to create backups. The tests should verify that the backups are created correctly and that the tool behaves as expected.

Implementation Details

  • Create a new test file for e2e tests, such as test_e2e.py.
  • Use pytest and conftest fixtures to set up temporary configurations and backup locations.
  • Write test cases that run the CLI tool and verify the results, such as checking that the backup files are created and contain the expected data.

Checklist

A checklist of specific tasks that need to be completed as part of this development work. Dividing the work into smaller tasks can help make it more manageable and easier to track progress. We can also create sub-issues from below checklist items if needed.

  • refactor module
  • add tests
  • update docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions