Skip to content

Conversation

@r-kamath
Copy link
Member

No description provided.

@Leemoonsoo
Copy link
Member

Looks good to me!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To really test killSaveTimer(), startSaveTimer() should be called first since by default scope.saveTimer is null

@corneadoug
Copy link
Contributor

Thanks, Overall looks good.
It's a good starting point

@Madhuka
Copy link
Contributor

Madhuka commented Sep 6, 2015

Happy to see people writing tests after it is been fixed.
@r-kamath : How is the test coverage for controllers?
It is good to have plugging for grunt to see the test coverage. It will reduce the test duplication.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is good test functionality of the function, rather only checking is function is define.

In paragraph ctrl you will find lot functions and checking them all will not be easy.
There for you can test for use cases

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Madhuka. will be adding more tests to check the functionality. this is just an initial test to check for fn defined.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will file a JIRA for the test coverage grunt task

@asfgit asfgit closed this in 0b47cde Sep 6, 2015
Leemoonsoo pushed a commit to Leemoonsoo/zeppelin that referenced this pull request Sep 17, 2015
Author: Renjith Kamath <[email protected]>

Closes apache#250 from r-kamath/ZEPPELIN-228 and squashes the following commits:

6735aac [Renjith Kamath] Merge branch 'master' into ZEPPELIN-228
743a13d [Renjith Kamath] ZEPPELIN-228 add tests for paragraph controller and update notebook tests
a750a30 [Renjith Kamath] ZEPPELIN-228 add more tests for getCronOptionNameFromValue
48bfb95 [Renjith Kamath] ZEPPELIN-228 add unit tests for controllers

(cherry picked from commit 0b47cde)
Signed-off-by: Lee moon soo <[email protected]>
lelou6666 pushed a commit to lelou6666/incubator-zeppelin that referenced this pull request Mar 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants