aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suman Karumuri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AURORA-451) Setup test infrastructure for the UI
Date Sat, 31 May 2014 07:25:01 GMT

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

Suman Karumuri commented on AURORA-451:
---------------------------------------

I have also investigated grunt, but decided not to use it since it didn't seem to provide
any additional advantages over writing gradle tasks our selves. Further, it would be an additional
wrapper to debug if something fails. This keeps things way simpler. 

More investigation is needed to see if protactor or karma is better for our use case. Protractor
is newer and is supposed to be operationally better when running in CI. However, I think we
should start with karma and see if it works in our CI since there is more documentation about
it out there. Protractor seems relatively new and the documentation about it is sparse. 

Also, please ensure that the source files in karma.conf.js are loaded in the right order.
Else, weird errors show up. 




> Setup test infrastructure for the UI
> ------------------------------------
>
>                 Key: AURORA-451
>                 URL: https://issues.apache.org/jira/browse/AURORA-451
>             Project: Aurora
>          Issue Type: Task
>          Components: UI
>            Reporter: Suman Karumuri
>            Assignee: Suman Karumuri
>
> Create a basic infrastructure to run unit tests on the aurora UI. 
> The plan is to setup protractor[1] tests so it can run as part of gradle build using
the gradle grunt plugin[3][4][5]. [2] provides the best summary of protractor. 
> [1] https://docs.angularjs.org/guide/e2e-testing
> [2] http://www.thoughtworks.com/insights/blog/testing-angularjs-apps-protractor
> [3] https://github.com/srs/gradle-grunt-plugin
> [4] http://naleid.com/blog/2013/01/24/calling-gruntjs-tasks-from-gradle/
> [5] http://blog.crisp.se/2013/04/30/yassalsundman/test-driving-javascript-grunt-with-gradle



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message