Closed thetredev closed 11 months ago
Devcontainer is prepared: af3d3f1
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
.
Devcontainer uses the published container image now: 9199ed7. We're ready to write some tests!
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
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 ofxdeb
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.