Re: [Mifos-developer] MifosX needs help from Devs, QA and BAs

98 views
Skip to first unread message

Gurpreet Luthra

unread,
May 6, 2014, 12:45:28 AM5/6/14
to Sairam Desai, Mifos Software Dev List, Michael Vorburger
I am adding your mail to the Mifos Developer group so that someone from the community can reply. There is a chance the selenium tests might fail since they were written a while ago, and the community UI app has undergone major revamp since then... 

Regards
Gurpreet



On 6 May 2014 09:14, Sairam Desai <sde...@thoughtworks.com> wrote:
hey Gurpreet,
             thanks for info. Today I tried running the test locally, but got into problem. I followed instructions on the git hub page and tried running tests. but got some errors. below is stack trace. Let me know where I am going wrong in this. 
   Other thing is I checked out the community app codebase and followed steps given to install and run app locally. when I run grunt serve It launches the browser but web app does not come up. Let me know what I am missing... 

below is the command I ran and tests got errors while running tests. I am keeping little low on my health today. If we can get into a call or something would be good to sort out  these initial setup issues. let me know what time would be feasible for you to help me out set these things up.

Regards

sairamdesai:mifosx-ui-selenium-webdriver-tests (master, sdesai) $ mvn clean test

[INFO] Scanning for projects...

[INFO]                                                                         

[INFO] ------------------------------------------------------------------------

[INFO] Building org.mifosplatform.angularui.tests:mifosx-ui-selenium-webdriver-tests 1.0.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[INFO] 

[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ mifosx-ui-selenium-webdriver-tests ---

[INFO] Deleting /Users/thoughtworker/mifosx/mifosx-ui-selenium-webdriver-tests/target

[INFO] 

[INFO] --- build-helper-maven-plugin:1.7:add-source (add-source) @ mifosx-ui-selenium-webdriver-tests ---

[INFO] Source directory: /Users/thoughtworker/mifosx/mifosx-ui-selenium-webdriver-tests/src/main/groovy added.

[INFO] 

[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ mifosx-ui-selenium-webdriver-tests ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] skip non existing resourceDirectory /Users/thoughtworker/mifosx/mifosx-ui-selenium-webdriver-tests/src/main/resources

[INFO] 

[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ mifosx-ui-selenium-webdriver-tests ---

[INFO] Changes detected - recompiling the module!

[INFO] Nothing to compile - all classes are up to date

[INFO] 

[INFO] --- build-helper-maven-plugin:1.7:add-test-source (add-test-source) @ mifosx-ui-selenium-webdriver-tests ---

[INFO] Test Source directory: /Users/thoughtworker/mifosx/mifosx-ui-selenium-webdriver-tests/src/test/groovy added.

[INFO] 

[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ mifosx-ui-selenium-webdriver-tests ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 1 resource

[INFO] 

[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ mifosx-ui-selenium-webdriver-tests ---

[INFO] Changes detected - recompiling the module!

[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files

[INFO] 

[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ mifosx-ui-selenium-webdriver-tests ---

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.16/maven-surefire-common-2.16.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.16/maven-surefire-common-2.16.pom (6 KB at 10.9 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.2/maven-plugin-annotations-3.2.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.2/maven-plugin-annotations-3.2.pom (2 KB at 88.1 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-tools/3.2/maven-plugin-tools-3.2.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-tools/3.2/maven-plugin-tools-3.2.pom (17 KB at 58.9 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.16/surefire-api-2.16.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.16/surefire-api-2.16.pom (3 KB at 117.8 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.16/surefire-booter-2.16.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.16/surefire-booter-2.16.pom (3 KB at 131.6 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-api-2.0.9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-api-2.0.9.pom (2 KB at 92.6 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting/2.0.9/maven-reporting-2.0.9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting/2.0.9/maven-reporting-2.0.9.pom (2 KB at 72.1 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/2.0.9/maven-toolchain-2.0.9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/2.0.9/maven-toolchain-2.0.9.pom (4 KB at 178.7 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.16/maven-surefire-common-2.16.jar

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.16/surefire-booter-2.16.jar

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-api-2.0.9.jar

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.16/surefire-api-2.16.jar

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.2/maven-plugin-annotations-3.2.jar

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-api-2.0.9.jar (10 KB at 300.0 KB/sec)

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.2/maven-plugin-annotations-3.2.jar (15 KB at 327.2 KB/sec)

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.16/surefire-booter-2.16.jar (39 KB at 634.3 KB/sec)

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.16/surefire-api-2.16.jar (146 KB at 498.1 KB/sec)

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.16/maven-surefire-common-2.16.jar (259 KB at 369.0 KB/sec)

[INFO] Surefire report directory: /Users/thoughtworker/mifosx/mifosx-ui-selenium-webdriver-tests/target/surefire-reports

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.16/surefire-junit4-2.16.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.16/surefire-junit4-2.16.pom (3 KB at 115.8 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-providers/2.16/surefire-providers-2.16.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-providers/2.16/surefire-providers-2.16.pom (3 KB at 59.5 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.16/surefire-junit4-2.16.jar

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.16/surefire-junit4-2.16.jar (63 KB at 756.9 KB/sec)


-------------------------------------------------------

 T E S T S

-------------------------------------------------------

Running org.mifosplatform.angularui.specs.ConfigurationValuesReplacerSpecification

Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.402 sec <<< FAILURE! - in org.mifosplatform.angularui.specs.ConfigurationValuesReplacerSpecification

should replace api url definition(org.mifosplatform.angularui.specs.ConfigurationValuesReplacerSpecification)  Time elapsed: 0.089 sec  <<< ERROR!

java.lang.UnsupportedClassVersionError: org/mifosplatform/angularui/tests/utils/ConfigurationValuesReplacer : Unsupported major.minor version 51.0

at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)

at java.lang.ClassLoader.defineClass(ClassLoader.java:621)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

at java.net.URLClassLoader.access$000(URLClassLoader.java:58)

at java.net.URLClassLoader$1.run(URLClassLoader.java:197)

at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

at org.mifosplatform.angularui.specs.ConfigurationValuesReplacerSpecification.should replace api url definition(ConfigurationValuesReplacerSpecification.groovy:26)


Should replace api url and tenant(org.mifosplatform.angularui.specs.ConfigurationValuesReplacerSpecification)  Time elapsed: 0 sec  <<< ERROR!

java.lang.UnsupportedClassVersionError: org/mifosplatform/angularui/tests/utils/ConfigurationValuesReplacer

at org.mifosplatform.angularui.specs.ConfigurationValuesReplacerSpecification.Should replace api url and tenant(ConfigurationValuesReplacerSpecification.groovy:51)


Running org.mifosplatform.angularui.specs.LoginSpecification

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.353 sec <<< FAILURE! - in org.mifosplatform.angularui.specs.LoginSpecification

org.mifosplatform.angularui.specs.LoginSpecification  Time elapsed: 0.353 sec  <<< ERROR!

java.lang.RuntimeException: Could not create new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptor

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)

at java.lang.ClassLoader.defineClass(ClassLoader.java:621)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

at java.net.URLClassLoader.access$000(URLClassLoader.java:58)

at java.net.URLClassLoader$1.run(URLClassLoader.java:197)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

at java.lang.Class.getDeclaredConstructors0(Native Method)

at java.lang.Class.privateGetDeclaredConstructors(Class.java:2446)

at java.lang.Class.getConstructor0(Class.java:2756)

at java.lang.Class.getDeclaredConstructor(Class.java:2021)

at org.jboss.arquillian.core.impl.loadable.SecurityActions$1.run(SecurityActions.java:182)

at org.jboss.arquillian.core.impl.loadable.SecurityActions$1.run(SecurityActions.java:179)

at java.security.AccessController.doPrivileged(Native Method)

at org.jboss.arquillian.core.impl.loadable.SecurityActions.getConstructor(SecurityActions.java:178)

at org.jboss.arquillian.core.impl.loadable.SecurityActions.newInstance(SecurityActions.java:152)

at org.jboss.arquillian.core.impl.loadable.ServiceRegistryLoader.createServiceInstance(ServiceRegistryLoader.java:103)

at org.jboss.arquillian.core.impl.loadable.ServiceRegistryLoader.all(ServiceRegistryLoader.java:55)

at org.jboss.arquillian.core.impl.loadable.ServiceRegistryLoader.onlyOne(ServiceRegistryLoader.java:67)

at org.jboss.arquillian.container.impl.client.container.ContainerRegistryCreator.createRegistry(ContainerRegistryCreator.java:97)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)

at org.jboss.arquillian.core.impl.ManagerImpl.bindAndFire(ManagerImpl.java:236)

at org.jboss.arquillian.core.impl.InstanceImpl.set(InstanceImpl.java:74)

at org.jboss.arquillian.config.impl.extension.ConfigurationRegistrar.loadConfiguration(ConfigurationRegistrar.java:71)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)

at org.jboss.arquillian.core.impl.ManagerImpl.start(ManagerImpl.java:261)

at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.<init>(EventTestRunnerAdaptor.java:56)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

at org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:156)

at org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:111)

at org.jboss.arquillian.test.spi.SecurityActions.newInstance(SecurityActions.java:97)

at org.jboss.arquillian.test.spi.TestRunnerAdaptorBuilder.build(TestRunnerAdaptorBuilder.java:52)

at org.jboss.arquillian.spock.ArquillianSputnik.run(ArquillianSputnik.java:88)

at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)

at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)

at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)



Results :


Tests in error: 

  ConfigurationValuesReplacerSpecification.should replace api url definition:26 ? UnsupportedClassVersion

  ConfigurationValuesReplacerSpecification.Should replace api url and tenant:51 UnsupportedClassVersion

  JUnit4Provider.invoke:124->executeTestSet:153->execute:264 ? Runtime Could not...


Tests run: 3, Failures: 0, Errors: 3, Skipped: 0


[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 6.849s

[INFO] Finished at: Mon May 05 11:42:08 PDT 2014

[INFO] Final Memory: 13M/81M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project mifosx-ui-selenium-webdriver-tests: There are test failures.

[ERROR] 

[ERROR] Please refer to /Users/thoughtworker/mifosx/mifosx-ui-selenium-webdriver-tests/target/surefire-reports for the individual test results.

[ERROR] -> [Help 1]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException




On Sat, May 3, 2014 at 2:00 AM, Gurpreet Luthra <glu...@thoughtworks.com> wrote:
You can start off with Michael's repo. It does test the community app. No need to create fresh. I suggested fresh only if the automation tests were too old, since they were written I think 4-6 months ago.. and the community app has undergone major development since then. You take the call. 

I would recommend using Selenium (with Page Object Model).. because I think its easier for the MifosX community to pick up a Java tool, rather than learn Ruby.

The tech stack for MifosX community UI app is Angular.JS. It talks to backend over REST. The backend is Java. For the backend we wrote some integration tests to hit the REST endpoints using RESTAssured. You can use those as reference for use cases to test via UI. 

Regards
Gurpreet



On 2 May 2014 23:10, Sairam Desai <sde...@thoughtworks.com> wrote:
Hey thanks for the details given let me checkout the code. Gurpreet I did not get recreating webdriver tests for community app? the Michael's repo is for community app right? I am happy to help out with starting a fresh, What technology stack the community app built in? I am ruby guy is it fine if I use Capybara rspec/cucumber tests? I have recently setup on page object model in Capybara... its working out great.

                 Give me lil more context on why we want to recreate tests.

Regards,
Sairam


On Fri, May 2, 2014 at 8:15 AM, Gurpreet Luthra <glu...@thoughtworks.com> wrote:
In that case I'd suggest someone should recreate selenium-webdriver based tests for the community UI app... by forking Michaels repo, or starting fresh. Sairam - do you want to give it a shot.. and push an initial prototype to your repo? You can pair with someone if you like. 

The demo server is also already up and running, but setting up your own might not take much time. The MifosX setup is quite easy. 

Regards
Gurpreet



On 2 May 2014 18:20, Subramanya S N <subra...@confluxtechnologies.com> wrote:
Hi Gurpreet,
Wrt Selenium scripts Michael Vorburger added much work on that, also some volentours are also working on the selenium, here are some of the links which will be usefull.
Micheal's project (Selenium Webdriver tests) which started work around automation for the community-app can be found at https://github.com/vorburger/mifosx-ui-selenium-webdriver-tests (some of the documentation like the steps for connecting to a local MifosX platform server etc are now outdated) . The latest community App is located at https://github.com/openMF/community-app.

Regards,
Subramanya


On Fri, May 2, 2014 at 5:08 PM, Gurpreet Luthra <glu...@thoughtworks.com> wrote:
Sairam,

You can definitely help MifosX with their selenium stuff. Please drop an email to MifosX mailing list, introducing yourself, and ask for details on Selenium. 
Subramanya from MifosX (subra...@confluxtechnologies.com) wrote the first cut for selenium. I have cc'ed him for inputs and details on the repo. 

Subramanya: Can you please let us know where the Selenium Automation code is checked in? 

Regards
Gurpreet



On 1 May 2014 22:04, Sairam Desai <sde...@thoughtworks.com> wrote:
Hey,
      I am on beach right now, and I am in US(SFO). If I can be of help remotely let me know. I am QA knows Selenium

Regards,
Sairam


--
Regards,

Sairam Desai
|ThoughtWorks|Quality Analyst|()|




--
Regards,
Subramanya.





--
Regards,

Sairam Desai
|ThoughtWorks|Quality Analyst|()|




--
Regards,

Sairam Desai
|ThoughtWorks|Quality Analyst|()|

Vishwas Babu

unread,
May 6, 2014, 7:16:23 AM5/6/14
to Mifos software development, Sairam Desai, Michael Vorburger
Hello Sairam,

As Gurpreet says, the existing e2e tests are quite old and probably would not work. Another volunteer (Jagori in cc) has recently started working on the same and might have something to share...

Also, have you worked with https://github.com/angular/protractor before (an e2e testing framework for angular built on top of webdriverjs). I was hoping we could use the same for making our tests more maintainable (having e2e tests in java/ruby etc would increase the entry barrier for the UI volunteers)

>>Other thing is I checked out the community app codebase and followed steps given to install and run app locally. when I run grunt serve
Can you please share your browsers console log?

Regards,
Vishwas


------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
Mifos-developer mailing list
mifos-d...@lists.sourceforge.net
Unsubscribe or change settings at:
https://lists.sourceforge.net/lists/listinfo/mifos-developer

Jose Bure

unread,
May 6, 2014, 12:25:20 PM5/6/14
to mifosde...@googlegroups.com, Sairam Desai, Michael Vorburger, Mifos software development
Hi devs,
I am new here. I cloned mifos X from https://github.com/mifos/head and having issues with mvn clean install, can someone please let me know what is going wrong from my logs below. Thank you all.
[DEBUG]   (s) skip = false
[DEBUG]   (s) sourceEncoding = UTF-8
[DEBUG]   (s) testClassFilesDirectory = /home/joseph/Galileo/workspace/head/common/target/test-classes
[DEBUG]   (s) testSourceRoots = [/home/joseph/Galileo/workspace/head/common/src/test/java]
[DEBUG]   (s) threshold = Low
[DEBUG]   (s) timeout = 600000
[DEBUG]   (s) xmlEncoding = UTF-8
[DEBUG]   (s) xmlOutput = false
[DEBUG]   (s) xmlOutputDirectory = /home/joseph/Galileo/workspace/head/common/target
[DEBUG]   (s) xrefLocation = /home/joseph/Galileo/workspace/head/common/target/site/xref
[DEBUG]   (s) xrefTestLocation = /home/joseph/Galileo/workspace/head/common/target/site/xref-test
[DEBUG] -- end configuration --
[DEBUG] Excecuting findbugs:check
[DEBUG] Here goes...............Excecuting findbugs:check
[INFO] BugInstance size is 1
[INFO] Error size is 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Mifos - Parent .................................... SUCCESS [0.743s]
[INFO] Mifos - Common .................................... FAILURE [23.093s]
[INFO] Mifos - DB Management ............................. SKIPPED
[INFO] Mifos - Domain Data Transfer Objects .............. SKIPPED
[INFO] Mifos - Test Framework ............................ SKIPPED
[INFO] Mifos - Service Interfaces ........................ SKIPPED
[INFO] Mifos - User Interface ............................ SKIPPED
[INFO] Mifos - Accounting Integration .................... SKIPPED
[INFO] Mifos - Abstract Domain ........................... SKIPPED
[INFO] Mifos - Questionnaire ............................. SKIPPED
[INFO] Mifos - Cashflow .................................. SKIPPED
[INFO] Mifos - Organization .............................. SKIPPED
[INFO] Mifos - Application Domain ........................ SKIPPED
[INFO] Mifos - Reporting Libs (BIRT JARs) ................ SKIPPED
[INFO] Mifos - Reporting ................................. SKIPPED
[INFO] Mifos - REST API .................................. SKIPPED
[INFO] Mifos - Application ............................... SKIPPED
[INFO] Mifos - Base Server (Jetty) ....................... SKIPPED
[INFO] Mifos - Workspace Server .......................... SKIPPED
[INFO] Mifos - WAR ....................................... SKIPPED
[INFO] Mifos - Test of packaged WAR ...................... SKIPPED
[INFO] Mifos - Test of packaged Executable WAR ........... SKIPPED
[INFO] Mifos - Acceptance Tests .......................... SKIPPED
[INFO] Mifos - Android Client Tests ...................... SKIPPED

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.199s
[INFO] Finished at: Tue May 06 18:59:18 EAT 2014
[INFO] Final Memory: 36M/330M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:2.3.2-SNAPSHOT:check (default) on project mifos-common: failed with 1 bugs and 0 errors -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:2.3.2-SNAPSHOT:check (default) on project mifos-common: failed with 1 bugs and 0 errors
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: failed with 1 bugs and 0 errors
    at org.codehaus.gmaven.mojo.GroovyMojo.fail(GroovyMojo.java:72)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
    at org.codehaus.mojo.findbugs.FindbugsViolationCheckMojo.execute(FindbugsViolationCheckMojo.groovy:453)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    ... 19 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :mifos-common

Thanks

jagori samajdar

unread,
May 6, 2014, 8:40:23 PM5/6/14
to Vishwas Babu, Sairam Desai, Michael Vorburger, Mifos software development
Hi Everyone,

I had recently started my work on Selenium Webdriver using Java and Page object model.

After a discussion with Vishwas on the same,I am presently reviewing Protractor and looking into it to see how best I can make the tests fit to use this.I think Protractor is best suitable for testing out Angular JS apps.

My initial level of tests connects to the platform and logs the user in

I was checking I might otherwise have to put in lots of waits.

I had created fresh since the community app platform connection instructions had changed.

I am still working on it.Kindly note the code is still at an initial stage .
I would be really eager to work with Sairam on this ,if you could share something on how to use Protractor and see how we both can work upon it and make the tests work.

Kind Regards,
Jagori

Vishwas Babu

unread,
May 8, 2014, 2:58:31 AM5/8/14
to Sairam Desai, Michael Vorburger, Mifos software development
This is strange....

Do any of the following help?

Upgrading to the latest version of node

Or

Try accessing index.html directly from the file system (https://github.com/openMF/community-app/blob/develop/app/index.html , skipping the grunt serve and local static server part)

Regards,
Vishwas


On 7 May 2014 22:59, Sairam Desai <sde...@thoughtworks.com> wrote:
Hey Vishwas,
              I did not see the browser console log got generated... it keeps waiting to load then fails to connect to localhost 9000.
on command
 Running "watch" task

Waiting...Warning: EMFILE, too many open files

I also saw at the end the app dies with below log 

(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.

(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.

(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.


util.js:35

  var str = String(f).replace(formatRegExp, function(x) {

                      ^

RangeError: Maximum call stack size exceeded


Is there something missing on my machine. 



Gurpreet Luthra

unread,
May 8, 2014, 9:12:05 AM5/8/14
to Mifos software development, Sairam Desai, Gothai Karthik, Michael Vorburger, Surya Sreedevi Vedula
Adding Surya and Gothai from TW who are also interested in helping out on the QA front. 

I am hesitant of using protractor, since I think QA community doesn't yet have the skills to use Protractor, and many devs don't have the inclination to write automated tests. Plus it locks down the tests to underlying Angular stack. 

But still -- if you feel you can get dev type skills person to write Protractor based tests.. and keep the framework simple, it may be a good choice to go ahead. 

Do try out selenium too.. because some folks may actually be much more productive in that. 

Regards
Gurpreet

Gurpreet Luthra

unread,
May 8, 2014, 9:10:03 AM5/8/14
to Mifos software development, Sairam Desai, Gothai Karthik, Michael Vorburger, Surya Sreedevi Vedula
Adding Surya and Gothai from TW who are also interested in helping out on the QA front. 

I am hesitant of using protractor, since I think QA community doesn't yet have the skills to use Protractor, and many devs don't have the inclination to write automated tests. Plus it locks down the tests to underlying Angular stack. 

But still -- if you feel you can get dev type skills person to write Protractor based tests.. and keep the framework simple, it may be a good choice to go ahead. 

Do try out selenium too.. because some folks may actually be much more productive in that. 

Regards
Gurpreet



On 7 May 2014 06:10, jagori samajdar <jago...@gmail.com> wrote:

Nimret Sandhu

unread,
May 8, 2014, 4:45:26 PM5/8/14
to Mifos software development, Sairam Desai, Gothai Karthik, Michael Vorburger, Surya Sreedevi Vedula
Protractor uses WebDriverJS under the hood (Selenium 2.0 WebDriver bindings in Javascript). It does implement a different API as Gurpreet mentioned though.

But, I would also recommend Selenium over it since you're more likely to find people who have more experience with it and it has more language bindings than Protractor.

my .02 :)

cheers,
-
Nimret Sandhu
http://www.nimret.org

Nimret Sandhu

unread,
May 8, 2014, 4:52:24 PM5/8/14
to Mifos software development, Sairam Desai, Michael Vorburger
java.lang.UnsupportedClassVersionError typically indicates a mismatch between the compiler used to generate class files and the runtime being used to run them. Since the stack traces below are complaining about 'org/mifosplatform/angularui/tests/utils/ConfigurationValuesReplacer' I am guessing that the version of the JDK you're using is older than the one that was used to generate the above class (is it coming from a Jar or something).

Regardless, it's a mismatch between JDKs being used to run the tests and used to compile dependencies for the app. Using the same JDK ought to eliminate the issue.

cheers,
-
Nimret Sandhu
http://www.nimret.org


jagori samajdar

unread,
May 8, 2014, 8:37:05 PM5/8/14
to Mifos software development, Sairam Desai, Michael Vorburger
Hi All,

I am glad to meet all of you who are interested in contributing to QA.

Just to add to the discussion,I found certain benefits of using Protractor.
  1. You can avoid putting in lots of wait statements required for angular processing
  2. It allows you to find elements based on things like the input's ng-model or by {{bindings}}
Although it would be using Jasmine framework which is pretty new to me.
Everyone's call.
I had started some work using Selenium WebDriver and Java (https://github.com/Jagori79/mifosx-community-app-tests)which I had put on hold as I was reviewing Protractor and if we have to work on Protractor then I think we can work on the existing community-app codebase.

It would just require us to install protractor using npm install and selenium-standalone-server.jar.

Thanks,
Jagori

Michael Vorburger

unread,
May 9, 2014, 11:15:54 AM5/9/14
to Surya Sreedevi Vedula, Pranathi Birudugadda, Sairam Desai, Developer, Gothai Karthik

Aloha,

personally I second classic Java based WebDriver (as outlined in my protopye). There is a host of useful add ons available on top.

Having said that, the rule in the marvelous land of open source however of course is that whoever of you actually gets down first to code out and contribute real running test suites gets to decide what you use!

Re. AngularJS locators for (Java) WebDriver, do note https://github.com/paul-hammant/ngWebDriver..  FYI Paul was in touch on private email with some of us a few months ago, offering to help if needed.

Best,
Michael

On May 9, 2014 5:45 AM, "Surya Sreedevi Vedula" <sree...@thoughtworks.com> wrote:
I second Gothai.

As I mentioned in my earlier email, unless we are "more comfortable" using JavaScript than Java (which does not seem to be the case), I do not see a reason for going with WebDriverJS + Jasmine + Protractor stack.

I recommend Behavior Driven Tests because they give us great clarity about what we are testing. I agree that it is a layer on top of the automation framework, but I think it is worth the effort. BDT has helped me greatly in getting tests reviewed by BAs, developers and co-testers. I have used Cucumber and I think it is the most mature and well-documented BDT framework.

So, my recommendation would be Automation Framework in Java + WebDriver (Java Port) + Cucumber (Java)

Thanks
Sreedevi


On Fri, May 9, 2014 at 2:17 AM, Gothai Karthik <gothais...@gmail.com> wrote:

Hi All,

I am new to Protractor and I am ready to learn.

My suggestion would be unless if there is a strong business need for having behavioural driven test suite, we can just go for simple selenium webdriver framework.

I have used cucumber and it is a good BD test framework which has strong community support.

Thanks,
Gothai

On 8 May 2014 10:28, "Surya Sreedevi Vedula" <sree...@thoughtworks.com> wrote:
Hi All,

I used Protractor for a little while and this is what I feel about it.

For those new to Protractor, Protractor uses WebDriver JS and is bundled with Jasmine. So, when we go down the path of Protractor, we will be in the land of Javascript Promises and Jasmine's BDD style of tests. What Protractor truly offers "on its own" is an easier way of "locating" Angular JS elements. (http://engineering.wingify.com/posts/e2e-testing-with-webdriverjs-jasmine/)

So, for me, Protractor = WebDriverJS + Jasmine + Easy AngularJS element location

and this is what I feel about it's candidature in our project

1) At the risk of repeating myself, Protractor only offers easier ways to identify AngularJS elements. But, if we have "Good Locators" for our UI elements, Protractor may not be required at all. And we always have our CSS and XPath to fall back on.
If our intention is to build tests which are agnostic of the application's tech stack, as Gurpreet suggested, we may not want to tie ourselves down to the AngularJS framework.
2) WebDriverJS is only a JavaScript port of WebDriver and does the same thing as it's Java counterpart. The deciding factor is the language that we would like to use for automation. If we are comfortable coding in JavaScript, we should go for WebDriverJS and If it is Java, we should go for WebDriver.
3) Lastly, If we want to have BDD style tests, we could always use Cucumber or any other popular framework which achieves the same purpose as Jasmine does.

Having said that, I am comfortable coding in Javascript. I have never worked with Jasmine though. But, I am ready for learning it. And I feel UI automation suite could be built with just using WebDriverJS + Jasmine avoiding Protractor. There by, we can either push for good locators or get help from our good old CSS and XPath locators.

Please let me know what you think.

Thanks
Sreedevi

Vishwas Babu

unread,
May 10, 2014, 2:33:56 AM5/10/14
to Michael Vorburger, Pranathi Birudugadda, Sairam Desai, Developer, Surya Sreedevi Vedula, Gothai Karthik
>> Having said that, the rule in the marvelous land of open source however of course is that whoever of you actually gets down first to code out and contribute real running test suites gets to decide what you use!

+1 :)

Gurpreet Luthra

unread,
May 10, 2014, 11:54:29 AM5/10/14
to Vishwas Babu, Pranathi Birudugadda, Sairam Desai, Developer, Surya Sreedevi Vedula, Gothai Karthik
Another point to add is that ideally a user viewing a page should always get a "visual" indicator of the fact that some process is happening on the background.. and the Automation Tests should mimic human behaviour.. which means that they should wait on that visual indicator to know when a certain event has completed, instead of putting some arbitrary waits/timeouts. 

If we feel a page lacks a visual indicator to latch on to, then we should request the devs to add it instead of working around it. It will help make the user experience also nicer. 

+1 to whoever does a decent job of building the first cut, and leads the way for others to follow (in our world - copy/paste). 

Regards
Gurpreet

Gurpreet Luthra

unread,
May 13, 2014, 1:26:19 AM5/13/14
to Vishwas Babu, Pranathi Birudugadda, Sairam Desai, Developer, Surya Sreedevi Vedula, Gothai Karthik, Anand Bagmar
Looping in Anand Bagmar. Anand too has a lot of experience in setting up automation frameworks for multiple teams. He expressed a great interest in helping on this front. I have brought him up-to-date with the current situation, and looping him in so that he can participate.

Regards
Gurpreet

Gurpreet Luthra

unread,
May 13, 2014, 4:34:22 AM5/13/14
to Vishwas Babu, Robert Jakech, Pranathi Birudugadda, Sairam Desai, Developer, Surya Sreedevi Vedula, Gothai Karthik, Anand Bagmar
Also adding Robert from TW Uganda office.. since he was involved with Mifos prior to joing TW, and is interested in this initiative.

Regards
Gurpreet

Anand Bagmar

unread,
May 13, 2014, 11:57:41 AM5/13/14
to Pranathi Birudugadda, Sairam Desai, Developer, Robert Jakech, Surya Sreedevi Vedula, Gothai Karthik
Hi all,

Can we have this call tomorrow (Wednesday)? I am available anytime between 12.30pm-5.30pm IST. Do we usually do GTM / skype / phone conference?

I will also give a quick update about the sample test I am working on using cucumber-jvm / webdriver.

Thanks.


Regards,

Anand Bagmar
Quality Analyst
+91-99237-51935
anand....@thoughtworks.com
Blog: http://essenceoftesting.blogspot.com, Twitter: @BagmarAnand
Yahoo: anandpb, MSN: aba...@hotmail.com, Skype: abagmar, Google Talk: anandb, aba...@gmail.com


On Tue, May 13, 2014 at 3:06 PM, Anand Bagmar <anand....@thoughtworks.com> wrote:
Hi everyone,

Great to be part of this team!

Can we have a quick call sometime to help understand:
1. What are the different forms of testing (automation) going on (unit / integration / functional / etc.)?
2. What are the objectives / goals / vision from the functional automation suite? What investigations / spikes are currently underway? What timelines / milestones are we working towards for certain objectives to be fulfilled?

I am hesitant to make recommendations before knowing the end-product-under-test, but for a java-based product, cucumber-jvm is pretty robust and easy to use with webdriver and also to interact with web services. I have a sample test automation project (https://github.com/anandbagmar/cuke-jvm-sample). You can take a look at that. I will update this framework to work with the demo mifosx app in parallel and share the test with you all.


Regards,

Anand Bagmar
Quality Analyst
+91-99237-51935
anand....@thoughtworks.com
Blog: http://essenceoftesting.blogspot.com, Twitter: @BagmarAnand
Yahoo: anandpb, MSN: aba...@hotmail.com, Skype: abagmar, Google Talk: anandb, aba...@gmail.com


On Tue, May 13, 2014 at 2:25 PM, Pranathi Birudugadda <pranathi.b...@thoughtworks.com> wrote:
Hello All,

Quick update on what had happened so far. Jagori has started working on selenium tests for community app which can be found here


I have looped her in. She will be providing us with further details.



Warm Regards,
Pranathi Birudugadda
Quality Analyst
​ | ​
ThoughtWorks
​ | ​
Bangalore


On Tue, May 13, 2014 at 2:11 PM, Robert Jakech <robe...@thoughtworks.com> wrote:
Hi Everybody.

My name is Robert. I am happy to join the pack to help on MifosX. I have worked with Mifos as a specialist before I joined TW, mainly focusing on Uganda/East Africa. I joined TW as a QA, and would love to volunteer in the QA on MifosX.
Anybody on this thread who could bring me up to speed, would be appreciated.

Regards.

Robert

Anand Bagmar

unread,
May 14, 2014, 4:47:53 AM5/14/14
to jagori samajdar, Pranathi Birudugadda, Sairam Desai, Developer, Robert Jakech, Surya Sreedevi Vedula, Gothai Karthik
Hi,

I have setup a GoToMeeting for tomorrow instead of Skype. You should have received the invite for it. If not, please let me know and I shall resend the same to you.

Thanks and see / talk with you all tomorrow.
Quality Analyst
+91-99237-51935
anand....@thoughtworks.com
Blog: http://essenceoftesting.blogspot.com, Twitter: @BagmarAnand
Yahoo: anandpb, MSN: aba...@hotmail.com, Skype: abagmar, Google Talk: anandb, aba...@gmail.com


On Wed, May 14, 2014 at 1:44 PM, jagori samajdar <jago...@gmail.com> wrote:
Hi All,

As of now I had added tests for client creation and validating preview part (on few fields) using Selenium webDriver and Java.
Also,Pranathi had added few tests for groups under this which I am yet to merge.

But whatever,it is I would definitely like to hear first Anand's suggestions on the test automation framework to be used along with the timeline finalization and goals.
Hoping to be part of the call tomorrow between 11:30am-12:30 pm

Regards,
Jagori


On Tue, May 13, 2014 at 6:55 PM, Pranathi Birudugadda <pranathi.b...@thoughtworks.com> wrote:
Hello All,

Quick update on what had happened so far. Jagori has started working on selenium tests for community app which can be found here


I have looped her in. She will be providing us with further details.



Warm Regards,
Pranathi Birudugadda
Quality Analyst
​ | ​
ThoughtWorks
​ | ​
Bangalore


On Tue, May 13, 2014 at 2:11 PM, Robert Jakech <robe...@thoughtworks.com> wrote:
Hi Everybody.

My name is Robert. I am happy to join the pack to help on MifosX. I have worked with Mifos as a specialist before I joined TW, mainly focusing on Uganda/East Africa. I joined TW as a QA, and would love to volunteer in the QA on MifosX.
Anybody on this thread who could bring me up to speed, would be appreciated.

Regards.

Robert

Gurpreet Luthra

unread,
May 19, 2014, 3:00:38 AM5/19/14
to Robert Jakech, Pranathi Birudugadda, Sairam Desai, Developer, Surya Sreedevi Vedula, Gothai Karthik

Regards
Gurpreet



On 19 May 2014 12:26, Robert Jakech <robe...@thoughtworks.com> wrote:
Hi there.

Any of you has successfully set up the Mifos X database?

I have cloned the git copy but need help in setting up the database.

Kindly help.

Regards.


On Fri, May 16, 2014 at 3:46 PM, Pranathi Birudugadda <pranathi.b...@thoughtworks.com> wrote:
Hello Fellow ThoughtWorkers,


You can use the following time sheet codes to fill the hours spent on Mifosx


jagori samajdar

unread,
May 14, 2014, 4:14:39 AM5/14/14
to Pranathi Birudugadda, Sairam Desai, Developer, Robert Jakech, Surya Sreedevi Vedula, Gothai Karthik, Anand Bagmar
Hi All,

As of now I had added tests for client creation and validating preview part (on few fields) using Selenium webDriver and Java.
Also,Pranathi had added few tests for groups under this which I am yet to merge.

But whatever,it is I would definitely like to hear first Anand's suggestions on the test automation framework to be used along with the timeline finalization and goals.
Hoping to be part of the call tomorrow between 11:30am-12:30 pm

Regards,
Jagori


On Tue, May 13, 2014 at 6:55 PM, Pranathi Birudugadda <pranathi.b...@thoughtworks.com> wrote:
Hello All,

Quick update on what had happened so far. Jagori has started working on selenium tests for community app which can be found here


I have looped her in. She will be providing us with further details.



Warm Regards,
Pranathi Birudugadda
Quality Analyst
​ | ​
ThoughtWorks
​ | ​
Bangalore


On Tue, May 13, 2014 at 2:11 PM, Robert Jakech <robe...@thoughtworks.com> wrote:
Hi Everybody.

My name is Robert. I am happy to join the pack to help on MifosX. I have worked with Mifos as a specialist before I joined TW, mainly focusing on Uganda/East Africa. I joined TW as a QA, and would love to volunteer in the QA on MifosX.
Anybody on this thread who could bring me up to speed, would be appreciated.

Regards.

Robert

jagori samajdar

unread,
May 27, 2014, 10:37:42 AM5/27/14
to Surya Sreedevi Vedula, Pranathi Birudugadda, Sairam Desai, Developer, Robert Jakech, Gothai Karthik
Hi Sreedevi ,

Thanks for updating.
Do let me know how I may help in creating the strategy document .

Thanks,
Jagori


On Wed, May 21, 2014 at 8:44 PM, Surya Sreedevi Vedula <sree...@thoughtworks.com> wrote:
Hi All,

A quick update on what some of us are working.

Anand and I are doing spiking around two technical choices.

1) Cucumber-JVM + WebDriver
2) Cucumber.JS + Selenium-WebDriver (NPM Module)

Anand is also working on coming up with an understanding of the overall architecture and the role community-app plays in the big picture and the different forms of testing already in place.

We will be publishing the results of our spiking and recommendations in a strategy document.

Please let us know if any one else made progress on the project.

Thanks
Sreedevi.

jagori samajdar

unread,
Jun 4, 2014, 7:31:20 PM6/4/14
to Anand Bagmar, Pranathi Birudugadda, Sairam Desai, Developer, Robert Jakech, Surya Sreedevi Vedula, Gothai Karthik
Hi Anand,

Thanks for sharing.I too feel cucumber-jvm would be a good framework to write our tests for MifosX.


Regards,
Jagori



On Tue, Jun 3, 2014 at 6:26 PM, Anand Bagmar <anand....@thoughtworks.com> wrote:
Hi all,

I have consolidated the learning from both the approaches in the attached Test Strategy document. The document also lists the recommendation from Sreedevi and me.

Vishwas, Gurpreet - can we have a call with you to give you a demo of the recommended framework, and also talk about next steps? Please do let me know what day and time works and I will setup a gotomeeting for all.

Thank you.


Regards,
 
Anand Bagmar
about.me/anand.bagmar
Anand Bagmar on about.me
 
Quality Analyst
+91-99237-51935
anand....@thoughtworks.com
Blog: http://essenceoftesting.blogspot.com, Twitter: @BagmarAnand
Yahoo: anandpb, MSN: aba...@hotmail.com, Skype: abagmar, Google Talk: anandb, aba...@gmail.com


On Tue, Jun 3, 2014 at 10:40 AM, Surya Sreedevi Vedula <sree...@thoughtworks.com> wrote:
Hi All,

The below are my findings with using WebDriverJS + Cucumber.JS

Pros:
1) Having tests in the same tech stack as development makes Continuous Integration and Continuous Deployment easy.

Cons:
1) WebDriverJS (selenium-webdriver to be precise) is based on JavaScript Promises. Promises are cryptic for newbies to JavaScript and it is a difficult learning curve.
2) General JavaScript Programming could also be difficult to learn, with the many differences that JavaScript has from other Object oriented languages like Java.

Would like to hear about any progress any one else made on the test framework.

Thanks
Sreedevi


On Wed, May 21, 2014 at 4:14 PM, Surya Sreedevi Vedula <sree...@thoughtworks.com> wrote:
Hi All,

A quick update on what some of us are working.

Anand and I are doing spiking around two technical choices.

1) Cucumber-JVM + WebDriver
2) Cucumber.JS + Selenium-WebDriver (NPM Module)

Anand is also working on coming up with an understanding of the overall architecture and the role community-app plays in the big picture and the different forms of testing already in place.

We will be publishing the results of our spiking and recommendations in a strategy document.

Please let us know if any one else made progress on the project.

Thanks
Sreedevi.

Anand Bagmar

unread,
Jun 4, 2014, 7:31:22 PM6/4/14
to Surya Sreedevi Vedula, Pranathi Birudugadda, Sairam Desai, Developer, Robert Jakech, Gothai Karthik
Hi all,

I have consolidated the learning from both the approaches in the attached Test Strategy document. The document also lists the recommendation from Sreedevi and me.

Vishwas, Gurpreet - can we have a call with you to give you a demo of the recommended framework, and also talk about next steps? Please do let me know what day and time works and I will setup a gotomeeting for all.

Thank you.

Regards,
 
Anand Bagmar
about.me/anand.bagmar
Anand Bagmar on about.me
 
Quality Analyst
+91-99237-51935
anand....@thoughtworks.com
Blog: http://essenceoftesting.blogspot.com, Twitter: @BagmarAnand
Yahoo: anandpb, MSN: aba...@hotmail.com, Skype: abagmar, Google Talk: anandb, aba...@gmail.com


On Tue, Jun 3, 2014 at 10:40 AM, Surya Sreedevi Vedula <sree...@thoughtworks.com> wrote:
Hi All,

The below are my findings with using WebDriverJS + Cucumber.JS

Pros:
1) Having tests in the same tech stack as development makes Continuous Integration and Continuous Deployment easy.

Cons:
1) WebDriverJS (selenium-webdriver to be precise) is based on JavaScript Promises. Promises are cryptic for newbies to JavaScript and it is a difficult learning curve.
2) General JavaScript Programming could also be difficult to learn, with the many differences that JavaScript has from other Object oriented languages like Java.

Would like to hear about any progress any one else made on the test framework.

Thanks
Sreedevi
On Wed, May 21, 2014 at 4:14 PM, Surya Sreedevi Vedula <sree...@thoughtworks.com> wrote:
Hi All,

A quick update on what some of us are working.

Anand and I are doing spiking around two technical choices.

1) Cucumber-JVM + WebDriver
2) Cucumber.JS + Selenium-WebDriver (NPM Module)

Anand is also working on coming up with an understanding of the overall architecture and the role community-app plays in the big picture and the different forms of testing already in place.

We will be publishing the results of our spiking and recommendations in a strategy document.

Please let us know if any one else made progress on the project.

Thanks
Sreedevi.
MifosXFunctionalTestStrategy_v1.docx

Vishwas Babu

unread,
Jun 4, 2014, 7:31:21 PM6/4/14
to Anand Bagmar, Pranathi Birudugadda, Sairam Desai, Developer, Robert Jakech, Surya Sreedevi Vedula, Gothai Karthik
Anand, , et al.

Thanks for sharing the recommendations on the test framework.

Would anytime between 9.am to 12 p.m IST this Friday (6th) work (My timezone is PST)?

Regards,
Vishwas

jagori samajdar

unread,
Jun 23, 2014, 9:48:20 AM6/23/14
to Anand Bagmar, Pranathi Birudugadda, Sairam Desai, Developer, Robert Jakech, Surya Sreedevi Vedula, Gothai Karthik
Hi Anand,

I couldn't attend the meeting yesterday as my internet here was down and the problem started just before the meeting:(

It would be great if you could share the meeting details.
Sorry for not being able to inform either.

Regards,
Jagori




On Thu, Jun 5, 2014 at 3:52 PM, Anand Bagmar <anand....@thoughtworks.com> wrote:
Hi,

Yes, the time slot you propose works for me, but a few others may not be able to attend (Surya / Robert).  That said, I have setup a GoToMeeting for tomorrow, Friday, 6th June at 11.am IST. Below are the details for the same. If we think next week is better in that case, do let me know and we will reschedule the same.

Looking forward to talk with you then. For those not able to attend, I can record the session and share the recording with all ... if that is ok.

1.  Please join my meeting, 06-Jun-2014 at 11:00 am IST.

https://www4.gotomeeting.com/join/393275815


2.  Use your microphone and speakers (VoIP) - a headset is recommended. Or, call in using your telephone.

Argentina (toll-free): 0 800 266 1382

Australia (toll-free): 1 800 193 385

Belgium (toll-free): 0 800 26116

Brazil (toll-free): 0 800 047 4906

Canada (toll-free): 1 888 455 1389

China (toll-free): 4008 811084

Germany (toll-free): 0 800 723 5270

United Kingdom (toll-free): 0 808 168 0229

Indonesia (toll-free): 007 803 011 0395

India (toll-free): 000 800 100 7855

Thailand (toll-free): 001 800 658 131

Taiwan (toll-free): 0 800 666 854

United States: +1 (224) 649-0001

United States (toll-free): 1 877 309 2073

Uruguay (toll-free): 000 413 598 4110

South Africa (toll-free): 0 800 983 867

Access Code: 393-275-815

Audio PIN: Shown after joining the meeting


Meeting ID: 393-275-815


Thanks.


Regards,
 
Anand Bagmar
about.me/anand.bagmar
Anand Bagmar on about.me
 
Quality Analyst
+91-99237-51935
anand....@thoughtworks.com
Blog: http://essenceoftesting.blogspot.com, Twitter: @BagmarAnand
Yahoo: anandpb, MSN: aba...@hotmail.com, Skype: abagmar, Google Talk: anandb, aba...@gmail.com


Vishwas Babu

unread,
Jun 23, 2014, 9:48:21 AM6/23/14
to Anand Bagmar, Pranathi Birudugadda, Sairam Desai, Developer, Robert Jakech, Surya Sreedevi Vedula, Gothai Karthik
Hi Anand,

Thanks again for setting up the call and sending across the updated document. The next steps you have listed down are spot-on.

Regards,
Vishwas


On 7 June 2014 20:29, Anand Bagmar <anand....@thoughtworks.com> wrote:
I have updated the strategy doc (v2) - the recommendation + Next Steps, based on my call with Vishwas. Please let me know if you need any other info.

Vishwas - please update as appropriate.

Thanks.


Regards,
 
Anand Bagmar
about.me/anand.bagmar
Anand Bagmar on about.me
 
Quality Analyst
+91-99237-51935
anand....@thoughtworks.com
Blog: http://essenceoftesting.blogspot.com, Twitter: @BagmarAnand
Yahoo: anandpb, MSN: aba...@hotmail.com, Skype: abagmar, Google Talk: anandb, aba...@gmail.com


Anand Bagmar

unread,
Jun 23, 2014, 9:48:20 AM6/23/14
to jagori samajdar, Pranathi Birudugadda, Sairam Desai, Developer, Robert Jakech, Surya Sreedevi Vedula, Gothai Karthik
I have updated the strategy doc (v2) - the recommendation + Next Steps, based on my call with Vishwas. Please let me know if you need any other info.

Vishwas - please update as appropriate.

Thanks.


Regards,
 
Anand Bagmar
about.me/anand.bagmar
Anand Bagmar on about.me
 
Quality Analyst
+91-99237-51935
anand....@thoughtworks.com
Blog: http://essenceoftesting.blogspot.com, Twitter: @BagmarAnand
Yahoo: anandpb, MSN: aba...@hotmail.com, Skype: abagmar, Google Talk: anandb, aba...@gmail.com


MifosXFunctionalTestStrategy_v2.docx

Anand Bagmar

unread,
Jun 23, 2014, 9:48:20 AM6/23/14
to Vishwas Babu, Pranathi Birudugadda, Sairam Desai, Developer, Robert Jakech, Surya Sreedevi Vedula, Gothai Karthik

Regards,
 
Anand Bagmar
about.me/anand.bagmar
Anand Bagmar on about.me
 
Quality Analyst
+91-99237-51935
anand....@thoughtworks.com
Blog: http://essenceoftesting.blogspot.com, Twitter: @BagmarAnand
Yahoo: anandpb, MSN: aba...@hotmail.com, Skype: abagmar, Google Talk: anandb, aba...@gmail.com


On Thu, Jun 5, 2014 at 4:28 AM, Vishwas Babu <vishwa...@gmail.com> wrote:

jagori samajdar

unread,
Jun 23, 2014, 9:48:22 AM6/23/14
to Anand Bagmar, Pranathi Birudugadda, Sairam Desai, Developer, Robert Jakech, Surya Sreedevi Vedula, Gothai Karthik
Thanks Anand for sharing.

regards,
Jagori
Reply all
Reply to author
Forward
0 new messages