You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Himanshu Gahlaut (JIRA)" <ji...@apache.org> on 2015/03/30 08:56:52 UTC

[jira] [Created] (LENS-466) Reduce time taken to run a single unit test case in lens-server (Make standard setup optional)

Himanshu Gahlaut created LENS-466:
-------------------------------------

             Summary: Reduce time taken to run a single unit test case in lens-server (Make standard setup optional)
                 Key: LENS-466
                 URL: https://issues.apache.org/jira/browse/LENS-466
             Project: Apache Lens
          Issue Type: Sub-task
            Reporter: Himanshu Gahlaut


Currently following setup is always done even if we want to run only a single unit test in lens-server:

(1) Remote Hive server is started
(2) Database is created
(3) Data is loaded into database

This increases time take to run a single test case during development (in order of minutes). If the use case does not need this setup, then developers are unnecessarily wasting their time waiting for this setup to complete to see feedback of their changes  Many test cases, like validation of requests data, may not need all this setup. 

This setup should not be mandatory for every test case.

Order of minutes setup might be ok when all unit test cases are run because the setup happens only once but for an activity like running a single unit test case during development which has to be repeated many times, this is a considerable overhead in development time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)