potiuk commented on issue #18127:
URL: https://github.com/apache/superset/issues/18127#issuecomment-1018404144


   Comment from my/Airlfow side (and maybe  more from @ephraimbuddy and @kaxil 
and @jedcunnningham  who implemented most of the tests there):
   
   Yes. Definitely. Both values schema and unit tests on rendering are 
super-helpful to keep our Helm Chart "in-check". 
   
   Re - unit tests, we have currently > 350 tests. One thing that I want to 
look at shortly is to speed them up a bit (this is the only problem we have now 
that they are rather slow but I believe it should be possible to speed them up 
a lot). And knowing that other - friendly :) - projects might want to use it we 
might prioritise it a bit and share our experience.
   
   We use Pytest for all kinds of tests and we think pytest is a great test 
harness that can be used in various contexts. We tried other solutions before 
for the helm rendering (helm-unittests)  but it was extremely unfriendly - 
declarative way of describing and asserting the tests was very difficult to 
maintain and very few people were even somewhat fluent in it. 
   
   One thing we get with Pytest for the tests - most of our contributors are 
Pythonistas, and the way we do the rendering tests, it's very much like any 
other python tests and it's extremely easy to ask even casual contributors to 
add tests for any contribution they provide and they are able to do it very 
quickly without too much learning.
   


-- 
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-unsubscr...@superset.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to