-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for
athena-framework
(#56)
Co-authored-by: George Dietrich <[email protected]>
- Loading branch information
1 parent
9509994
commit 07a1295
Showing
2 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#!/usr/bin/env bats | ||
|
||
function setup_file() { | ||
load helper/common.bash | ||
|
||
git_checkout https://github.com/athena-framework/athena | ||
|
||
SHARDS_OVERRIDE=shard.dev.yml $SHARDS install | ||
} | ||
|
||
function setup() { | ||
load helper/common.bash | ||
} | ||
|
||
function test_component() { | ||
./scripts/test.sh "$1" | ||
} | ||
|
||
@test "clock" { | ||
test_component "clock" | ||
} | ||
@test "console" { | ||
test_component "console" | ||
} | ||
@test "dependency_injection" { | ||
test_component "dependency_injection" | ||
} | ||
@test "dotenv" { | ||
test_component "dotenv" | ||
} | ||
@test "event_dispatcher" { | ||
test_component "event_dispatcher" | ||
} | ||
@test "framework" { | ||
test_component "framework" | ||
} | ||
@test "image_size" { | ||
test_component "image_size" | ||
} | ||
@test "mercure" { | ||
test_component "mercure" | ||
} | ||
@test "negotiation" { | ||
test_component "negotiation" | ||
} | ||
@test "routing" { | ||
test_component "routing" | ||
} | ||
@test "serializer" { | ||
test_component "serializer" | ||
} | ||
@test "spec" { | ||
test_component "spec" | ||
} | ||
@test "validator" { | ||
test_component "validator" | ||
} |
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