New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(warehouse): pump more test for warehouse module #2460
Conversation
Codecov ReportBase: 41.60% // Head: 45.10% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #2460 +/- ##
==========================================
+ Coverage 41.60% 45.10% +3.50%
==========================================
Files 175 175
Lines 36298 36298
==========================================
+ Hits 15101 16372 +1271
+ Misses 20255 18872 -1383
- Partials 942 1054 +112
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
…re.testForWarehouseGrpc
…re.testForWarehouseGrpc
1. use warehouseGRPC. 2. use testdata for storing sql's. 3. use proper mocking for stats using defer after the test spec is completed.
…re.testForWarehouseGrpc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve, with some notes to revisit later:
- Directly populating the database using SQL statements as a precondition for a test
- Usage of config or DI in place of
.Setenv
, as environment variables can cause harm when a test is run concurrently.
Description
Some code cleanup.
Added a new set of test cases for the warehouse module around:
Notion Ticket
https://www.notion.so/rudderstacks/Warehouse-tests-97aa9f5fba024556b1fe2e6f3d604562
Security