Comments (2)
結合したテストはTraisとかで回して実施できるとすっごく良いと思った。
from grpc-microservice-sample.
結合テストはTravisでやるとして、単体はsqlmock
でDB初期化してやるのでMockと実DBなのかを分ける環境変数を準備しなくても良い。
from grpc-microservice-sample.
Related Issues (20)
- PostgerSQLとの接続用repositoryの作成 HOT 1
- Cloud Spannerとの接続用Repositoryの作成
- sqlmockを利用したUser repositoryのテストを作る HOT 1
- database/sqlを利用している部分をsqlxに変更する HOT 1
- vegetaを利用した性能計測の準備をwikiに記載する
- Golangのタグの原理を知る
- digを利用したDIコンテナの利用をしてみる HOT 2
- minioを利用したS3へのファイル保管のRepositoryとServiceを作成する
- Userサービスのテストコードを全部記載して回してみる HOT 2
- マスタースレーブ構成のMySQLへ接続するRepositryを作成する
- Redisに接続するRepositoryの作成
- grpc-middlewareを利用して認証とロギングをできるようにする
- Travisで自動テストができるようになっていること HOT 1
- Mongo Repositoryの作成
- gRPCサンプルアプリの格納
- DBアクセス部分を共通化してrepositoryとして外部からDIする方式に変更する
- E2E疎通確認用のスクリプト作成 HOT 1
- Accountサービスの作成
- Itemサービスの作成
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grpc-microservice-sample.