You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/04/12 11:34:42 UTC

[GitHub] [shardingsphere] strongduanmu commented on issue #16284: Add more unit test for ClassBasedShardingAlgorithmFactory

strongduanmu commented on issue #16284:
URL: https://github.com/apache/shardingsphere/issues/16284#issuecomment-1096608893

   Hi  @akhil9281 , `ClassBasedShardingAlgorithmFactory` is a factory class used to create `ClassBasedShardingAlgorithm`. You only need to mock some input parameters, and then judge the result through assertion.
   
   If you don't know where to start, you can refer to `DatabaseBackendHandlerFactoryTest`, which is a typical factory class unit test.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org