-
Notifications
You must be signed in to change notification settings - Fork 77
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 oms/child_order_quantity_computer/child_order_quantity_computer.py::get_range_filter
#1038
Comments
Any updates @gurtajbir? |
@gurtajbir Seems like you have other commitments. Not an issue. Re-routing it to @smitpatel49. Let us know when you are available to commit to the project. FYI @DanilYachmenev |
I think I would need to create a new test file for it @samarth9008, or do I need to write it somewhere else specifically? |
There are already tests written for this files https://github.com/kaizen-ai/kaizenflow/tree/master/oms/limit_price_computer/test Feel free to continue in them |
I am a bit confused, shouldn't the test cases for child_order_quantity_computer be in |
Oh yeah my bad, As per spec, You need to write tests in two different file. One is already created. Another you need to create. |
I think I can write the test for both static and dynamic classes in their respective test case classes. |
Sg, I see both the files have common test files. Ok to edit in the same file. |
@samarth9008 I am still occupied in a commitment, but I will complete this in a day or two. |
done |
We want to test
oms/child_order_quantity_computer/child_order_quantity_computer.py::get_range_filter
This function calls an abstract method which is implemented in the child classes.
https://github.com/kaizen-ai/kaizenflow/blob/c3ac308a1512e38ae29803dfde7223c367cb6a44/oms/child_order_quantity_computer/dynamic_scheduling_child_order_quantity_computer.py#L125
https://github.com/kaizen-ai/kaizenflow/blob/c3ac308a1512e38ae29803dfde7223c367cb6a44/oms/child_order_quantity_computer/static_scheduling_child_order_quantity_computer.py#L101
Implement the test accordingly for both the classes
See unit test doc to follow the code style
Also highly recommend to read this doc before submitting 1st PR
FYI @gpsaggese @sonaalKant @DanilYachmenev
The text was updated successfully, but these errors were encountered: