Replies: 2 comments 10 replies
-
@rami3l you may need that to run test on your laptop. |
Beta Was this translation helpful? Give feedback.
-
@icy I've written some basic tests in #134. Finally I didn't take your text files directly but rather made a framework that allows for easy copy-and-paste of specific tests. This decision is made in order to make the most of the test structure that I have now. That is, I have multiple GitHub Actions runners running in parallel, each with a different OS, and the execution of tests inside each runner is also concurrent, thanks to Of course, it'll be better if we can somehow share the changes that each of us have made, but first let's get the basics working! |
Beta Was this translation helpful? Give feedback.
-
@icy A quick status report of what we have for now, following our discussion in icy/pacapt#150 (comment) on a common smoke test suite shared between this project and
icy/pacapt
:What's good
We already have:
README.md
and showcased indpkg.txt
:in
to inputpacapt(r)
argsin !
to run shell commandsou
to pattern match output stringubuntu
->dpkg/apt
only).pacapt
: This is done by theMakefile
withmake TESTS="dpkg.txt"
.pacaptr
: This is simply done bycargo test apt
.What's challenging
The following issues should be resolved:
pacapt
's side, theim
syntax (for choosing images) should beremovedable to be ignored, and the choice of images should be done byGitHub Actions
config.pacapt
's side, the scripts should correctly noticeGitHub Actions
runner on failure.pacaptr
's side:grep
and pipes are great in *nix shells,pacaptr
should always consider Windows support, which means they might have to be manually translated into Rust code.Beta Was this translation helpful? Give feedback.
All reactions