Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
YukiOnishi1129 committed Jun 21, 2024
1 parent 09c74ca commit dfbeaba
Show file tree
Hide file tree
Showing 11 changed files with 74 additions and 16 deletions.
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 batch-service/cmd/article-company-crawler/usecase/package_test.go
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())
}
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()
}
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())
}
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 件
}
14 changes: 14 additions & 0 deletions batch-service/cmd/trend-article-crawler/usecase/package_test.go
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 was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions batch-service/internal/convert.go

This file was deleted.

0 comments on commit dfbeaba

Please sign in to comment.