Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand test coverage of xdvdfs-core, CLI commands, and the web interface #107

Open
3 tasks
antangelo opened this issue Jan 28, 2025 · 0 comments
Open
3 tasks
Labels
xdvdfs-cli Relating to the xdvdfs command-line frontend xdvdfs-core Relating to the xdvdfs core library xdvdfs-web Relating to the xdvdfs web frontend

Comments

@antangelo
Copy link
Owner

We have Python tests that form a combination end-to-end/regression test suite of (re)packing an image, and reading the result, for a variety of edge-case inputs, through the CLI interface.

This is not generally sufficient though, as there are several features and code paths, particularly in the read library, that are not exercised in the end-to-end suite. Moreover, due to the structure of the Python tests, it is difficult to test the parts of the codebase that are not depended on by xdvdfs-cli (including all of xdvdfs-web and several read interfaces).

We need ...

  • a framework within xdvdfs-core for unit testing individual parts of the program, especially the read functions. Presumably this can be done through an in-memory filesystem of sorts. The write portions are largely covered by the CLI tests, but analysis will need to be done on the exact coverage to determine missing points.
  • to expand coverage of xdvdfs-cli, through additional Python tests primarily, to cover commands that are currently untested at the command-line level.
  • to introduce testing of xdvdfs-web by some method, that at least smoke-tests the various paths through the user interface. These tests do not need to be detailed if the other functionality is verified through the CLI tests or Rust-based unit tests.
@antangelo antangelo added xdvdfs-cli Relating to the xdvdfs command-line frontend xdvdfs-core Relating to the xdvdfs core library xdvdfs-web Relating to the xdvdfs web frontend labels Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
xdvdfs-cli Relating to the xdvdfs command-line frontend xdvdfs-core Relating to the xdvdfs core library xdvdfs-web Relating to the xdvdfs web frontend
Projects
None yet
Development

No branches or pull requests

1 participant