[ 
https://issues.apache.org/jira/browse/HUDI-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17133539#comment-17133539
 ] 

Vinoth Chandar commented on HUDI-781:
-------------------------------------

One thing to be careful about when deciding mocks vs functional tests is 
whether we are replacing the functional test or not (which is when the time 
will actually decrease)..

I would not index too much on the time reduction aspects alone.. the functional 
tests are more comprehensive for the most part and served us well for so long.. 
So we should only replace the functional tests with good  confidence that the 
coverage it provides can achieve solely based on a mocked unit test. 

> Re-design test utilities
> ------------------------
>
>                 Key: HUDI-781
>                 URL: https://issues.apache.org/jira/browse/HUDI-781
>             Project: Apache Hudi
>          Issue Type: Test
>          Components: Testing
>            Reporter: Raymond Xu
>            Priority: Major
>
> Test utility classes are to re-designed with considerations like
>  * Use more mockings
>  * Reduce spark context setup
>  * Improve/clean up data generator
> An RFC would be preferred for illustrating the design work.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to