Successful installation of Cucumber-JVM

674 views
Skip to first unread message

Robert

unread,
Aug 18, 2011, 10:36:30 PM8/18/11
to cu...@googlegroups.com
I've successfully installed Cucumber-JVM on my MacBook Pro :-).  Now that I have it installed, how do I go about using it?

TEST ENVIRONMENT

java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)

OS
Mac OS X, version 10.6.8

OUTPUT OF INSTALLATION

Note: That I've removed a lot of the extra "noise" from the output (stuff like downloading messages and some INFO messages).  An observation: while scanning for projects, the following warning was encountered: [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 45, column 21.  Is it something to be concerned about?


rstagner$ mvn clean install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for cucumber:core:jar:0.4.3-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 45, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Cucumber: Parent
[INFO] Cucumber: Core
[INFO] Cucumber: Java
[INFO] Cucumber: Spring
[INFO] Cucumber: Guice
[INFO] Cucumber: PicoContainer
[INFO] Cucumber: Groovy
[INFO] Cucumber: Ioke
[INFO] Cucumber: Rhino
[INFO] Cucumber: Clojure
[INFO] Cucumber: Ant
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building Cucumber: Parent 0.4.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building Cucumber: Core 0.4.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running cucumber.runtime.ClasspathTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.08 sec
Running cucumber.runtime.JdkPatternArgumentMatcherTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running cucumber.runtime.StepDefinitionMatchTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.177 sec
Running cucumber.runtime.transformers.StandardTransformersTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
Running cucumber.runtime.transformers.TransformersTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec

Results :

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

[INFO] ------------------------------------------------------------------------
[INFO] Building Cucumber: Java 0.4.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running cucumber.runtime.java.JavaMethodTransformTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.185 sec
Running cucumber.runtime.java.JavaSnippetGeneratorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running cucumber.runtime.java.MethodFormatTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec

Results :

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

[INFO] ------------------------------------------------------------------------
[INFO] Building Cucumber: Spring 0.4.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running cucumber.runtime.java.spring.JavaBackendWithSpringTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec

Results :

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

[INFO] ------------------------------------------------------------------------
[INFO] Building Cucumber: Guice 0.4.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

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

[INFO] ------------------------------------------------------------------------
[INFO] Building Cucumber: PicoContainer 0.4.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running cucumber.runtime.junit.cucumber_runner_Test
Tests run: 6, Failures: 0, Errors: 0, Skipped: 6, Time elapsed: 0.248 sec

Results :

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

@And("^I have (\d+) cukes in my belly$")
public void I_have_cukes_in_my_belly(int arg1) {
    // Express the Regexp above with the code you wish you had
}

@And("^a big basket with cukes$")
public void a_big_basket_with_cukes() {
    // Express the Regexp above with the code you wish you had
}

@Given("^I have (\d+) cukes in my belly$")
public void I_have_cukes_in_my_belly(int arg1, int arg2) {
    // Express the Regexp above with the code you wish you had
}

@Given("^I have (\d+) cukes in my belly$")
public void I_have_cukes_in_my_belly(int arg1) {
    // Express the Regexp above with the code you wish you had
}

@Given("^I have <n> <what> in my belly$")
public void I_have_<n>_<what>_in_my_belly() {
    // Express the Regexp above with the code you wish you had
}

@Then("^I should be <mood>$")
public void I_should_be_<mood>() {
    // Express the Regexp above with the code you wish you had
}

[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building Cucumber: Groovy 0.4.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

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

[INFO] ------------------------------------------------------------------------
[INFO] Building Cucumber: Ioke 0.4.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running cucumber.runtime.ioke.IokeSnippetGeneratorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec

Results :

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

[INFO] ------------------------------------------------------------------------
[INFO] Building Cucumber: Rhino 0.4.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

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

[INFO] ------------------------------------------------------------------------
[INFO] Building Cucumber: Clojure 0.4.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

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

[INFO] ------------------------------------------------------------------------
[INFO] Building Cucumber: Ant 0.4.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Cucumber: Parent .................................. SUCCESS [6.613s]
[INFO] Cucumber: Core .................................... SUCCESS [21.441s]
[INFO] Cucumber: Java .................................... SUCCESS [2.336s]
[INFO] Cucumber: Spring .................................. SUCCESS [15.784s]
[INFO] Cucumber: Guice ................................... SUCCESS [9.141s]
[INFO] Cucumber: PicoContainer ........................... SUCCESS [7.057s]
[INFO] Cucumber: Groovy .................................. SUCCESS [7.969s]
[INFO] Cucumber: Ioke .................................... SUCCESS [12.714s]
[INFO] Cucumber: Rhino ................................... SUCCESS [6.881s]
[INFO] Cucumber: Clojure ................................. SUCCESS [15.334s]
[INFO] Cucumber: Ant ..................................... SUCCESS [0.530s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:46.053s
[INFO] Finished at: Thu Aug 18 19:22:13 PDT 2011
[INFO] Final Memory: 14M/81M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "dev" could not be activated because it does not exist.


aslak hellesoy

unread,
Aug 19, 2011, 3:35:52 AM8/19/11
to cu...@googlegroups.com
On Fri, Aug 19, 2011 at 3:36 AM, Robert <rest...@gmail.com> wrote:
> I've successfully installed Cucumber-JVM on my MacBook Pro :-).  Now that I
> have it installed, how do I go about using it?
>

Good job! I'll add some examples soon, but in the meanwhile:

* Create a new maven project
* Add cucumber-java (which you should have in your local maven repo)
as a dependency
* Write a cucumber feature and save it under
src/test/resources/hello_cucumber.feature
* Write a JUnit test class and put it under
src/test/java/your/pakkage/hello_cucumber_Test.java
* Annotate it with: @RunWith(Cucumber.class) and
@Feature("hello_cucumber.feature") at the class level
* mvn test

This should print some missing stepdefs, which you can put inside a
POJO under src/test/java/your/pakkage/SomeStepdefs.java
Run mvn test again.

Let me know how it goes

Aslak

> --
> You received this message because you are subscribed to the Google Groups
> "Cukes" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/cukes/-/SATHTwK5fKwJ.
> To post to this group, send email to cu...@googlegroups.com.
> To unsubscribe from this group, send email to
> cukes+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cukes?hl=en.
>

Robert

unread,
Aug 19, 2011, 6:12:05 AM8/19/11
to cu...@googlegroups.com


On Friday, August 19, 2011 12:35:52 AM UTC-7, Aslak Hellesøy wrote:
On Fri, Aug 19, 2011 at 3:36 AM, Robert <rest...@gmail.com> wrote:
> I've successfully installed Cucumber-JVM on my MacBook Pro :-).  Now that I
> have it installed, how do I go about using it?
>

Good job! I'll add some examples soon, but in the meanwhile:

* Create a new maven project
* Add cucumber-java (which you should have in your local maven repo)
as a dependency


Hi Aslak,

I guess I'm going to need a little help with this step.  To include the dependency, what should I add to my pom.xml file (groupId, artifactId, etc) ?

 

aslak hellesoy

unread,
Aug 19, 2011, 6:25:07 AM8/19/11
to cu...@googlegroups.com
On Fri, Aug 19, 2011 at 11:12 AM, Robert <rest...@gmail.com> wrote:
>
>
> On Friday, August 19, 2011 12:35:52 AM UTC-7, Aslak Hellesøy wrote:
>>
>> On Fri, Aug 19, 2011 at 3:36 AM, Robert <rest...@gmail.com> wrote:
>> > I've successfully installed Cucumber-JVM on my MacBook Pro :-).  Now
>> > that I
>> > have it installed, how do I go about using it?
>> >
>>
>> Good job! I'll add some examples soon, but in the meanwhile:
>>
>> * Create a new maven project
>> * Add cucumber-java (which you should have in your local maven repo)
>> as a dependency
>
> Hi Aslak,
>
> I guess I'm going to need a little help with this step.  To include the
> dependency, what should I add to my pom.xml file (groupId, artifactId, etc)
> ?
>

You'll find the details in cucumber-java's pom

<groupId>cucumber</groupId>
<artifactId>java</artifactId>
<version>0.4.3-SNAPSHOT</version>

When we start publishing jars in Maven central we'll change groupId to
cucumber.cukes.info and the version number to something else -
probably 0.1.0-SNAPSHOT for starters.

Aslak

> https://groups.google.com/d/msg/cukes/-/_SoxE8JWhA8J.

Robert

unread,
Aug 19, 2011, 6:27:52 AM8/19/11
to cu...@googlegroups.com


On Friday, August 19, 2011 3:25:07 AM UTC-7, Aslak Hellesøy wrote:
On Fri, Aug 19, 2011 at 11:12 AM, Robert <rest...@gmail.com> wrote:
>
>
> On Friday, August 19, 2011 12:35:52 AM UTC-7, Aslak Hellesøy wrote:
>>
>> On Fri, Aug 19, 2011 at 3:36 AM, Robert <res...@gmail.com> wrote:
>> > I've successfully installed Cucumber-JVM on my MacBook Pro :-).  Now
>> > that I
>> > have it installed, how do I go about using it?
>> >
>>
>> Good job! I'll add some examples soon, but in the meanwhile:
>>
>> * Create a new maven project
>> * Add cucumber-java (which you should have in your local maven repo)
>> as a dependency
>
> Hi Aslak,
>
> I guess I'm going to need a little help with this step.  To include the
> dependency, what should I add to my pom.xml file (groupId, artifactId, etc)
> ?
>

You'll find the details in cucumber-java's pom

<groupId>cucumber</groupId>
<artifactId>java</artifactId>
<version>0.4.3-SNAPSHOT</version>

When we start publishing jars in Maven central we'll change groupId to
cucumber.cukes.info and the version number to something else -
probably 0.1.0-SNAPSHOT for starters.

Aslak


Excellent! Thanks.
 

>> > cukes...@googlegroups.com.

Robert

unread,
Aug 19, 2011, 6:49:47 AM8/19/11
to cu...@googlegroups.com


On Friday, August 19, 2011 3:25:07 AM UTC-7, Aslak Hellesøy wrote:
On Fri, Aug 19, 2011 at 11:12 AM, Robert <rest...@gmail.com> wrote:
>
>
> On Friday, August 19, 2011 12:35:52 AM UTC-7, Aslak Hellesøy wrote:
>>
>> On Fri, Aug 19, 2011 at 3:36 AM, Robert <res...@gmail.com> wrote:
>> > I've successfully installed Cucumber-JVM on my MacBook Pro :-).  Now
>> > that I
>> > have it installed, how do I go about using it?
>> >
>>
>> Good job! I'll add some examples soon, but in the meanwhile:
>>
>> * Create a new maven project
>> * Add cucumber-java (which you should have in your local maven repo)
>> as a dependency
>
> Hi Aslak,
>
> I guess I'm going to need a little help with this step.  To include the
> dependency, what should I add to my pom.xml file (groupId, artifactId, etc)
> ?
>

You'll find the details in cucumber-java's pom

<groupId>cucumber</groupId>
<artifactId>java</artifactId>
<version>0.4.3-SNAPSHOT</version>

When we start publishing jars in Maven central we'll change groupId to
cucumber.cukes.info and the version number to something else -
probably 0.1.0-SNAPSHOT for starters.

Aslak

Aslak

I think I've run into a bit of a snag.  When I execute mvn test, I receive the following error message


-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.xen.qa.hello.HelloTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.053 sec <<< FAILURE!

Results :

Tests in error:
  initializationError(com.xen.qa.hello.HelloTest): Couldn't instantiate class cucumber.runtime.java.JavaBackend

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

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.358s
[INFO] Finished at: Fri Aug 19 03:35:01 PDT 2011
[INFO] Final Memory: 4M/81M
[INFO] ------------------------------------------------------------------------


As outlined in your instructions, I've created a feature file under src/test/resources and labeled it "hello.feature".  It's content is as follows:

Feature: Say Hello to Cucumber-JVM

    Scenario: Saying hello

And, I've created a JUnit test case under src/test/java/mypackage-name and labeled it "HelloTest.java".  The contents of this file is as follows:

package com.xen.qa.hello;

import org.junit.runner.RunWith;
import cucumber.junit.Cucumber;
import cucumber.junit.Feature;

@RunWith(Cucumber.class)
@Feature("hello.feature")
public class HelloTest {

}

I'm thinking I've overlooked something, but I'm not sure what it may be.

 

>> > cukes...@googlegroups.com.

aslak hellesoy

unread,
Aug 19, 2011, 7:22:09 AM8/19/11
to cu...@googlegroups.com

Got a stack trace? You'll find them buried far down in target/surefire-reports

> https://groups.google.com/d/msg/cukes/-/aiD6xRFzojgJ.

Robert

unread,
Aug 19, 2011, 12:39:28 PM8/19/11
to cu...@googlegroups.com


Sure.  Here you go...

-------------------------------------------------------------------------------
Test set: com.xen.qa.hello.HelloTest
-------------------------------------------------------------------------------

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.053 sec <<< FAILURE!
initializationError(com.xen.qa.hello.HelloTest)  Time elapsed: 0.004 sec  <<< ERROR!
cucumber.runtime.CucumberException: Couldn't instantiate class cucumber.runtime.java.JavaBackend
    at cucumber.classpath.Classpath.instantiateSubclasses(Classpath.java:113)
    at cucumber.runtime.Runtime.<init>(Runtime.java:25)
    at cucumber.junit.Cucumber.runtime(Cucumber.java:27)
    at cucumber.junit.Cucumber.<init>(Cucumber.java:43)
    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.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:31)
    at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:24)
    at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
    at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)
    at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
    at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)
    at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:33)
    at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
    at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
    at $Proxy0.invoke(Unknown Source)
    at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
    at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
    at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: java.lang.reflect.InvocationTargetException
    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 cucumber.classpath.Classpath.instantiateSubclasses(Classpath.java:105)
    ... 25 more
Caused by: cucumber.runtime.CucumberException: Couldn't find a single implementation of interface cucumber.runtime.java.ObjectFactory
    at cucumber.classpath.Classpath.instantiateExactlyOneSubclass(Classpath.java:89)
    at cucumber.runtime.java.JavaBackend.<init>(JavaBackend.java:22)
    ... 30 more





 

>> >> > cuke...@googlegroups.com.


>> >> > For more options, visit this group at
>> >> > http://groups.google.com/group/cukes?hl=en.
>> >> >
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Cukes" group.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msg/cukes/-/_SoxE8JWhA8J.
>> > To post to this group, send email to cu...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > cukes...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/cukes?hl=en.
>> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Cukes" group.
> To view this discussion on the web visit

Aslak Hellesøy

unread,
Aug 19, 2011, 1:06:28 PM8/19/11
to cu...@googlegroups.com
Ah yes. Cucumber needs to be able to instantiate your stepdef classes. This job is delegated to PicoContainer (by yours truly), Spring or Guice. Which one to use depends on what's available on your classpath. You probably have none.

Try changing your cucumber-java dependency to cucumber-picocontainer and try again.

Aslak

To view this discussion on the web visit https://groups.google.com/d/msg/cukes/-/MPSDv9B9lPkJ.

Robert

unread,
Aug 19, 2011, 5:04:50 PM8/19/11
to cu...@googlegroups.com


On Friday, August 19, 2011 10:06:28 AM UTC-7, Aslak Hellesøy wrote:




On Aug 19, 2011, at 17:39, Robert <rest...@gmail.com> wrote:



On Friday, August 19, 2011 4:22:09 AM UTC-7, Aslak Hellesøy wrote:


Aslak,

Success!! Changing from

        <dependency>

            <groupId>cucumber</groupId>
            <artifactId>java</artifactId>
            <version>0.4.3-SNAPSHOT</version>
            <scope>test</scope>
        </dependency>

to

        <dependency>
            <groupId>cucumber</groupId>
            <artifactId>picocontainer</artifactId>
            <version>0.4.3-SNAPSHOT</version>
            <scope>test</scope>
        </dependency>

worked just fine.  So, I guess I should stick with picocontainer? I guess I'm not clear on the potential use of Spring or Guice with respect to the tests.
 


>> >> > For more options, visit this group at
>> >> > http://groups.google.com/group/cukes?hl=en.
>> >> >
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Cukes" group.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msg/cukes/-/_SoxE8JWhA8J.
>> > To post to this group, send email to cu...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > cuke...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/cukes?hl=en.
>> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Cukes" group.
> To view this discussion on the web visit

> https://groups.google.com/d/msg/cukes/-/aiD6xRFzojgJ.
> To post to this group, send email to cu...@googlegroups.com.
> To unsubscribe from this group, send email to
> cukes...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cukes?hl=en.
>

--
You received this message because you are subscribed to the Google Groups "Cukes" group.

aslak hellesoy

unread,
Aug 19, 2011, 5:23:23 PM8/19/11
to cu...@googlegroups.com

If your application code doesn't use a DI framework, stick with
PicoContainer - it's the fastest, simplest and least intrusive one. If
your app uses a DI container to wire up application objects, go with
the one that matches your app.

Personally I think both Spring and Guice are unnecessary bloat, but
many people are using them, so it makes sense to support them.

Aslak

> https://groups.google.com/d/msg/cukes/-/hw853cx9PWwJ.

Reply all
Reply to author
Forward
0 new messages