You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a ML OSS code-base maintainer
I want to address issues in quoting-service that impede adding robust unit tests
so that the code-quality needed for quoting-service can be achieved and maintaned
Tasks:
Address quoting-service setImmediate calls in unit testing [@ggrg]
Discuss within team the right approach: native jest.runAllImmediates() does the job [@ggrg]
Rewrite test/unit/model/quotes.test.js to fully test underlying model/quotes.js (100% coverage)
According to the latest story acceptance criteria edit, the story estimate needs to change (or reverted back) - to be discussed during the daily. Current progress is 33% and it consists of ~670 lines of code. The estimate for this single file is ~2000 lines of code for 100% tests coverage.
@ggrg I think this issue should be about directly addressing the issue and not coverage. We should update that criteria and move forward with this story.
kjw000
changed the title
Address quoting-service setImmediate calls in unit testing
Address quoting-service settlement calls in unit testing
Nov 4, 2019
Goal:
As a ML OSS code-base maintainer
I want to address issues in quoting-service that impede adding robust unit tests
so that the code-quality needed for quoting-service can be achieved and maintaned
Tasks:
fullytest underlying model/quotes.js (100% coverage)handleQuoteUpdate[@ggrg] (only provided sample QuotesIDPutResponse)forwardQuoteUpdatehandleQuoteUpdateResendhandleQuoteErrorhandleQuoteGetforwardQuoteGethandleExceptionsendErrorCallbackcheckDuplicateQuoteRequestcheckDuplicateQuoteResponseremoveEmptyKeyscalculateRequestHashgenerateRequestHeaderswriteLogAcceptance Criteria:
Achieve 100% coverage for model/quotes.js to put the foundation of jest testing for quotesPull Requests:
Follow-up:
Dependencies:
Accountability:
The text was updated successfully, but these errors were encountered: