mirror of
https://github.com/dredx/prole.git
synced 2026-09-27 20:34:30 +00:00
- 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>
38 lines
750 B
Bash
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
|