xdeb-org / xdeb-install

Simple tool to automatically download, convert, and install DEB packages on Void Linux via the awesome xdeb tool.
MIT License
5 stars 2 forks source link

Testing #8

Closed thetredev closed 11 months ago

thetredev commented 11 months ago

The tool needs some kind of testing. I started a bit of unit testing but I feel like that's not really needed and is actually misleading. It solely needs verification that the subcommands do what they're supposed to do.

As a bonus, this way the functionality of xdeb-install can be tested for compatibility with any version of xdeb and we can provide some sort of a compatibility table.

Maybe this will lead to become a testing mechanism for the xdeb tool itself. We'll need a list of a couple of vastly different DEB packages for this.

Edit: The unit tests have been removed from the main branch.

thetredev commented 11 months ago

Devcontainer is prepared: af3d3f1

thetredev commented 11 months ago

A separate devcontainer branch could hold the devcontainer source code. The devcontainer image is published as ghcr.io/thetredev/xdeb-install:devcontainer as part of CI running on pushes to the devcontainer branch.

Then we can use that image both for local development/testing and also during CI pipelines of the main branch to verify xdeb-install.

thetredev commented 11 months ago

Devcontainer uses the published container image now: 9199ed7. We're ready to write some tests!

thetredev commented 11 months ago

Done! Tests are running for with the latest release of xdeb at the moment.

Branch devcontainer:

Branch testcontainer:

Branch main:

Test report: https://thetredev.github.io/xdeb-install