Hi Chuck
I always get the same error,
2012/8/6 Chuck Hill
> Hi Hafid,
>
> Try adding NSProjectBundleEnabled=true to the Program Arguments then.
> Does that make any difference?
>
> Chuck
>
>
> On 2012-08-05, at 8:33 PM, hafid ouazib wrote:
>
> > Hi Henrique,
> > Hi Chuck,
> > I set the propert
Hi Hafid,
Try adding NSProjectBundleEnabled=true to the Program Arguments then. Does
that make any difference?
Chuck
On 2012-08-05, at 8:33 PM, hafid ouazib wrote:
> Hi Henrique,
> Hi Chuck,
> I set the property NSProjectBundleEnabled to true in VM arguments, but I
> always get the same err
Hi Henrique,
Hi Chuck,
I set the property NSProjectBundleEnabled to true in VM arguments, but I
always get the same error,
the only way to run my test:
-- inside my framwork, I need to close all others Frameworks, only one must
still open,
-- inside my Application, I need to close all frameworks, o
Hi Hafid,
As Chuck said, the problem is probably related to the value of the
NSProjectBundleEnabled property. By default, WOUnit sets this property to true
as described in the issue [1]. However, it can somehow be changed in the
testing process. Could you try to print the value of this propert
Hi Hafid,
Try adding -DNSProjectBundleEnabled=true to the VM Arguments in the launcher
for you tests.
Chuck
On 2012-08-02, at 6:31 AM, hafid ouazib wrote:
> Hi Henrique,
>
> I have the same error message if I run test in my application or in my
> framework,
> but, when I close all my frame
Hi Henrique,
I have the same error message if I run test in my application or in my
framework,
but, when I close all my frameworks in Eclipse, the test is working fine,
it is not a good solution because, it will be dificult to run tests if I
need to close all my framworks every time:(
Thanks,
2
Hi Hafid,
It should have worked. WOUnit search for models in the classpath (inside or
outside a Resources folder).
I need more information to understand if it is a bug in WOUnit. Your project is
an application or framework? The model ACAIQCore is in the same project of the
test class? Have you
Hi,
My model is in the folder Resources,
the source of my test is:
package com.acaiq.fondation.acaiqCore;
import org.junit.Rule;
import org.junit.Test;
import com.wounit.annotations.UnderTest;
import com.wounit.rules.MockEditingContext;
public class ExempleTest {
@Rule
public MockEditi
Hi Ramsey,
On 27/07/2012, at 17:48, Ramsey Gurley wrote:
> My guess is you or wounit or something hasn't inited the ERXApplication class
> and so no models. That's just a guess though. I've never used WOUnit.
>
The ERXApplication initialization is not required to run WOUnit test cases. The
WO
Hi Hafid,
Where are you placing the model named ModelName?
Cheers,
Henrique
On 27/07/2012, at 16:58, hafid ouazib wrote:
> Hi,
> i'm trying to run unit tests using WOUNIT-1.2.1, inside Eclipse
> but I get the error:
>
> java.lang.IllegalArgumentException: Cannot load model named 'ModelName'
My guess is you or wounit or something hasn't inited the ERXApplication class
and so no models. That's just a guess though. I've never used WOUnit.
I have a unit testing project template for junit testing frameworks on github
that I use. It's modeled after the ERXTest app in wonder and has a nic
Unfortunately only BETWEEN Davids. Otherwise it doesn't work.
:-)
On 2012-07-27, at 1:16 PM, Kieran Kelleher wrote:
>
> On Jul 27, 2012, at 3:58 PM, hafid ouazib wrote:
>
>> Hi,
>> i'm trying to run unit tests using WOUNIT-1.2.1, inside Eclipse
>> but I get the error:
>>
>> java.lang.Illega
On Jul 27, 2012, at 3:58 PM, hafid ouazib wrote:
> Hi,
> i'm trying to run unit tests using WOUNIT-1.2.1, inside Eclipse
> but I get the error:
>
> java.lang.IllegalArgumentException: Cannot load model named 'ModelName'
> at
> com.wounit.rules.AbstractEditingContextRule.loadModel(AbstractE
Hi,
i'm trying to run unit tests using WOUNIT-1.2.1, inside Eclipse
but I get the error:
java.lang.IllegalArgumentException: Cannot load model named 'ModelName'
at
com.wounit.rules.AbstractEditingContextRule.loadModel(AbstractEditingContextRule.java:196)
at
com.wounit.rules.AbstractEditing
14 matches
Mail list logo