Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
midPoint_container/demo/shibboleth/tests/main.bats
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
31 lines (24 sloc)
735 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bats | |
load ../../../common | |
load ../../../library | |
@test "000 Cleanup before running the tests" { | |
cd ../simple ; docker-compose down -v ; true | |
run docker-compose down -v | |
} | |
@test "010 Initialize and start midPoint" { | |
cd ../simple ; docker-compose up -d | |
wait_for_midpoint_start simple_midpoint-server_1 | |
} | |
@test "020 Initialize and start Shibboleth" { | |
docker-compose up -d | |
# TODO implement wait_for_shibboleth_start | |
sleep 60 | |
} | |
@test "030 Check health" { | |
check_health | |
} | |
# TODO check that e.g. accessing some URLs results in shibboleth redirection (check login page, some REST calls etc) | |
@test "999 Clean up" { | |
cd ../simple ; docker-compose down -v ; true | |
docker-compose down -v | |
} |