prole/tests/shellspec/.vendor/shellspec-0.28.1/examples/spec/03.example_spec.sh
chrisfu 909e92109e Refactor shell layout; add shellspec + authority
- Introduce lib/shell helpers and keep etc/* scripts thin via compatibility shims

- Move Kerberos validation to scripts/validation/check_kerberos.sh and update callers

- Add deterministic shellspec unit tests under tests/shellspec/ and wire Maven to run them

- Add minimal Spring Boot authority module with startup + /health endpoint and Maven wiring

- Document the new layout in docs/layout.md

Co-authored-by: Junie <junie@jetbrains.com>
2026-03-13 09:19:56 -07:00

38 lines
750 B
Bash

#shellcheck shell=sh
Describe 'example example'
It 'is "example"'
When call echo 'foo'
The output should eq 'foo'
End
Example 'is "example"'
When call echo 'bar'
The output should eq 'bar'
End
Specify 'is also "example"'
When call echo 'baz'
The output should eq 'baz'
End
Example 'this is "Not yot implemented" example block'
:
End
Todo 'what to do' # same as "Not yot implemented" example but not block
It 'not allows define "example group" in "example"'
# Describe 'example group'
# this is syntax error
# End
The value 1 should eq 1
End
End
# example group is not required
It 'is "example" without "example group"'
When call echo 'foo'
The output should eq 'foo'
End