Package Details: shellspec 0.28.1-2

Git Clone URL: https://aur.archlinux.org/shellspec.git (read-only, click to copy)
Package Base: shellspec
Description: BDD style unit testing framework for POSIX compliant shell script
Upstream URL: https://shellspec.info
Keywords: bash BDD behavior development driven posix sh shell spec specification test testing
Licenses: MIT
Submitter: damien.flament
Maintainer: stefanwimmer128
Last Packager: stefanwimmer128
Votes: 2
Popularity: 0.000214
First Submitted: 2019-11-02 13:57 (UTC)
Last Updated: 2023-01-07 21:54 (UTC)

Dependencies (2)

Required by (3)

Sources (1)

Pinned Comments

stefanwimmer128 commented on 2023-01-07 15:37 (UTC) (edited on 2023-03-03 19:53 (UTC) by stefanwimmer128)

Pre-built binaries are available on my GitLab CI. These can be automatically installed using my repository or the shellspec-bin package.

Latest Comments

stefanwimmer128 commented on 2023-11-17 22:28 (UTC)

@HurricanePootis This seems to be a bug in Bash 5.2. Which causes an error message that is not expected thus failing the test.

HurricanePootis commented on 2023-11-14 22:56 (UTC)

Shellspec fails to copmpile

  11) core/subjects/line.sh line subject gets undefined when stdout is undefined
      When run shellspec_subject_line 1 _modifier_

      11.1) WARNING: There was output to stderr but not found expectation

              stderr: /home/hurricane/.cache/paru/clone/shellspec/src/shellspec/lib/core/modifiers/line.sh: line 56: pop_var_context: head of shell_variables not a function context
              /home/hurricane/.cache/paru/clone/shellspec/src/shellspec/lib/core/syntax.sh: line 20: pop_var_context: head of shell_variables not a function context

            # spec/core/subjects/line_spec.sh:26-30

  12) core/subjects/word.sh word subject gets undefined when stdout is undefined
      When run shellspec_subject_word 1 _modifier_

      12.1) WARNING: There was output to stderr but not found expectation

              stderr: /home/hurricane/.cache/paru/clone/shellspec/src/shellspec/lib/core/modifiers/word.sh: line 56: pop_var_context: head of shell_variables not a function context
              /home/hurricane/.cache/paru/clone/shellspec/src/shellspec/lib/core/syntax.sh: line 20: pop_var_context: head of shell_variables not a function context

            # spec/core/subjects/word_spec.sh:24-28

Finished in 30.83 seconds (user 23.62 seconds, sys 13.84 seconds)
1619 examples, 0 failures, 2 warnings, 40 skips (muted 30 skips)


Notable examples: (Listed here do not affect your suite's status)

shellspec spec/core/matchers/be/stat_spec.sh:89 # 1) core/matchers/be/stat.sh be symlink matcher example SKIPPED
shellspec spec/core/matchers/be/stat_spec.sh:117 # 2) core/matchers/be/stat.sh be pipe matcher example SKIPPED
shellspec spec/core/matchers/be/stat_spec.sh:144 # 3) core/matchers/be/stat.sh be socket matcher example SKIPPED
shellspec spec/core/matchers/be/stat_spec.sh:171 # 4) core/matchers/be/stat.sh be readable matcher example SKIPPED
shellspec spec/core/matchers/be/stat_spec.sh:200 # 5) core/matchers/be/stat.sh be writable matcher example SKIPPED
shellspec spec/core/matchers/be/stat_spec.sh:228 # 6) core/matchers/be/stat.sh be executable matcher example SKIPPED
shellspec spec/core/matchers/be/stat_spec.sh:256 # 7) core/matchers/be/stat.sh be block device matcher example SKIPPED
shellspec spec/core/matchers/be/stat_spec.sh:284 # 8) core/matchers/be/stat.sh be character device matcher example SKIPPED
shellspec spec/core/matchers/has/stat_spec.sh:14 # 9) core/matchers/has/stat.sh has setgid matcher example SKIPPED
shellspec spec/core/matchers/has/stat_spec.sh:43 # 10) core/matchers/has/stat.sh has setuid matcher example SKIPPED


Failure examples / Errors: (Listed here affect your suite's status)

shellspec spec/core/subjects/line_spec.sh:26 # 11) core/subjects/line.sh line subject gets undefined when stdout is undefined WARNED
shellspec spec/core/subjects/word_spec.sh:24 # 12) core/subjects/word.sh word subject gets undefined when stdout is undefined WARNED

stefanwimmer128 commented on 2023-01-07 15:37 (UTC) (edited on 2023-03-03 19:53 (UTC) by stefanwimmer128)

Pre-built binaries are available on my GitLab CI. These can be automatically installed using my repository or the shellspec-bin package.