From 29f6b04ac03140a34e5a6195c30c12191d1ca66b Mon Sep 17 00:00:00 2001 From: bilalcaliskan Date: Sun, 7 Jan 2024 15:24:13 +0300 Subject: [PATCH] fix: add missing mockery config --- .mockery.yaml | 10 ++++++++++ README.md | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .mockery.yaml diff --git a/.mockery.yaml b/.mockery.yaml new file mode 100644 index 0000000..c456cde --- /dev/null +++ b/.mockery.yaml @@ -0,0 +1,10 @@ +with-expecter: true +dir: "{{.InterfaceDir}}" +filename: "mock_{{.InterfaceName | lower}}.go" +inpackage: true +#packages: +# github.com/bilalcaliskan/rss-feed-filterer/internal/feed: +# config: +# interfaces: +# Parser: +# config: diff --git a/README.md b/README.md index 28ec1a8..2ce660b 100644 --- a/README.md +++ b/README.md @@ -41,9 +41,10 @@ - Uncomment **line 165** in [.github/workflows/push.yml](.github/workflows/push.yml) - Uncomment **line 70** to **line 80** in [build/package/.goreleaser.yaml](build/package/.goreleaser.yaml) -## Used Libraries +## Used Libraries and Tools - [spf13/cobra](https://github.com/spf13/cobra) - [rs/zerolog](https://github.com/rs/zerolog) +- [vektra/mockery](https://github.com/vektra/mockery) ## Development This project requires below tools while developing: