Skip to content

Commit 1296d47

Browse files
authored
Merge pull request #2 from CuriositySoftware/yimajo-patch-1
Add badge in README.md
2 parents 8b5844e + 1727fae commit 1296d47

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# swift-fatal-test-value
22

3+
![Swift Package Manager](https://img.shields.io/badge/swift%20package%20manager-compatible-brightgreen.svg)
4+
![License](https://img.shields.io/badge/License-MIT-yellow.svg)
5+
36
This macro eliminates boilerplate needed to set initial values of Dependency Injected instances' methods in unit tests.
47
By simply annotating a struct or class with `@FatalTestValue`, it auto-generates an initializer invoking `fatalError()` for the closure.
58

0 commit comments

Comments
 (0)