-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from YukiOnishi1129/feature/test
Feature/test
- Loading branch information
Showing
16 changed files
with
79 additions
and
16 deletions.
There are no files selected for viewing
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
...-service/cmd/article-company-crawler/usecase/batch_crawl_company_article_contents_test.go
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,11 @@ | ||
package usecase | ||
|
||
import "testing" | ||
|
||
func Test_Usecase_BatchCrawlCompanyArticleContents(t *testing.T) { | ||
// 1. feed , same platform 2, deletedAr 1, trend | ||
// rss 1件、 2件 10件 | ||
// 2. rss 0件 | ||
// 2. feed 0 件 | ||
t.Parallel() | ||
} |
14 changes: 14 additions & 0 deletions
14
batch-service/cmd/article-company-crawler/usecase/package_test.go
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,14 @@ | ||
package usecase | ||
|
||
import ( | ||
"os" | ||
"testing" | ||
|
||
"github.com/YukiOnishi1129/techpicks/batch-service/testutil" | ||
) | ||
|
||
func TestMain(m *testing.M) { | ||
testutil.BeforeAllTest() | ||
// This is a test runner | ||
os.Exit(m.Run()) | ||
} |
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
...le-site-and-summary-crawler/usecase/batch_crawl_site_and_summary_article_contents_test.go
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,11 @@ | ||
package usecase | ||
|
||
import "testing" | ||
|
||
func Test_Usecase_BatchCrawlCompanyArticleContents(t *testing.T) { | ||
// 1. feed , same platform 2, deletedAr 1, trend | ||
// rss 1件、 2件 10件 | ||
// 2. rss 0件 | ||
// 2. feed 0 件 | ||
t.Parallel() | ||
} |
14 changes: 14 additions & 0 deletions
14
batch-service/cmd/article-site-and-summary-crawler/usecase/package_test.go
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,14 @@ | ||
package usecase | ||
|
||
import ( | ||
"os" | ||
"testing" | ||
|
||
"github.com/YukiOnishi1129/techpicks/batch-service/testutil" | ||
) | ||
|
||
func TestMain(m *testing.M) { | ||
testutil.BeforeAllTest() | ||
// This is a test runner | ||
os.Exit(m.Run()) | ||
} |
10 changes: 10 additions & 0 deletions
10
batch-service/cmd/trend-article-crawler/usecase/batch_crawl_trend_article_contents_test.go
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,10 @@ | ||
package usecase | ||
|
||
import "testing" | ||
|
||
func Test_Usecase_BatchCrawlTrendArticleContents(t *testing.T) { | ||
// 1. feed , same platform 2, deletedAr 1, trend | ||
// rss 1件、 2件 10件 | ||
// 2. rss 0件 | ||
// 2. feed 0 件 | ||
} |
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
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
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
14 changes: 14 additions & 0 deletions
14
batch-service/cmd/trend-article-crawler/usecase/package_test.go
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,14 @@ | ||
package usecase | ||
|
||
import ( | ||
"os" | ||
"testing" | ||
|
||
"github.com/YukiOnishi1129/techpicks/batch-service/testutil" | ||
) | ||
|
||
func TestMain(m *testing.M) { | ||
testutil.BeforeAllTest() | ||
// This is a test runner | ||
os.Exit(m.Run()) | ||
} |
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
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
5 changes: 0 additions & 5 deletions
5
batch-service/infrastructure/firestore/repository/rss_repository.go
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
batch-service/infrastructure/firestore/repository/user_repository.go
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.