pashage

Yet Another Opinionated Re-engineering of the Unix Password Store
git clone https://git.instinctive.eu/pashage.git
Log | Files | Refs | README | LICENSE

commit 7f60208a2429c3f8ef2a543a3bbbb57e19a76616
parent 72c3a951b130d62ab001145a33fe13d0c00383b5
Author: Natasha Kerensikova <natgh@instinctive.eu>
Date:   Sun, 20 Oct 2024 09:49:18 +0000

`command_spec` is renamed as `pashage_extra_spec`
Diffstat:
MARCHITECTURE.md | 5+++--
MMakefile | 2+-
Rspec/command_spec.sh -> spec/pashage_extra_spec.sh | 0
3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md @@ -38,9 +38,10 @@ The following test sets can be found in `spec/` directory: - `usage_spec.sh` tests command functions in isolation, mocking everything; - `scm_spec.sh` tests SCM functions in isolation, using the real git and filesystem; -- TODO tests integration, calling command functions with minimal mocks; - `pass_spec.sh` tests `pass`-like and `passage`-like behavior of - the whole script. + the whole script; +- `pashage_extra_spec.sh` tests integration, calling command functions + with minimal mocks, in complement with `pass_spec.sh`. Platform functions are not tested, because the platform adherence make it too difficult to test it automatically. diff --git a/Makefile b/Makefile @@ -41,7 +41,7 @@ cov1: cov2: shellspec --kcov -s bash \ spec/pass_spec.sh \ - spec/command_spec.sh + spec/pashage_extra_spec.sh tests: shellspec diff --git a/spec/command_spec.sh b/spec/pashage_extra_spec.sh