You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2018/07/16 20:57:19 UTC

[GitHub] michellethomas opened a new issue #5405: Add support for functional tests and integration tests

michellethomas opened a new issue #5405: Add support for functional tests and integration tests
URL: https://github.com/apache/incubator-superset/issues/5405
 
 
   We want to add support for functional tests and integration tests to improve the development process. I was planning on using Selenium, but I may need to also use another library that helps with performance (vcrpy is one option). 
   
   Some initial ideas for what to test:
   
   - Create integration tests for top chart types
       * Make sure returning charts have a slice container
       * Hover and find the tooltip (class-name: legend-color-guide), make sure it is correct
       * Create different types of filters, make sure those filters show up in the where clause
       * Create adhoc and saved metrics, check that the data returns (and that the metric shows up in the data)
       * Switch viz types and check functionality
   - Add tests for links on explore
       * Check query button, save chart (and check that the url is the same before / after), save as, download, json
   - Add tests for actions on dashboard
       * Add a chart to the dashboard
       * Change chart position on dashboard
   - Review popular dashboards to recreate functionality
   - Add tests for annotations
       * Create an annotation and check to make sure the line exists on the chart
   - Add tests for different roles / permissions groups
       * Looks like there's already an [issue](https://github.com/apache/incubator-superset/issues/4385) for this
   - Test remaining chart types and improve performance
   
   
   @jeffreythewang mentioned that they also are working on testing for different database versions. They also have a script that runs a bunch of requests on different instances and compares the results.
   
   Thoughts? Suggestions?
   @john-bodley @mistercrunch 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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