Hi Paul,
The partial entities initialization could happen before some models are loaded.
In this new version of WOUnit, the partial support is initialized after all
models are completely loaded.
Could you give it a try? You can download the latest version here [1].
Hi Henrique,
On 22/02/2014, at 1:14 PM, Henrique Prange hpra...@gmail.com wrote:
The partial entities initialization could happen before some models are
loaded. In this new version of WOUnit, the partial support is initialized
after all models are completely loaded.
Could you give it a
Hi Paul,
I’ve pushed a few changes to the wounit-1.2.x branch (including the partials
fix). The version 1.2.3-SNAPSHOT contains the latest fixes for WOUnit 1.2.2.
You can add the Maven dependency:
dependency
groupIdcom.wounit/groupId
artifactIdwounit/artifactId
Hi Henrique,
On 21/02/2014, at 1:35 PM, Henrique Prange hpra...@gmail.com wrote:
Does it work for you? As soon as you validate this SNAPSHOT I’m going to cut
the 1.2.3 release.
Unfortunately, no change. To give you a little more detail, I have a base
class User in a framework, and an
On 21/02/2014, at 3:40 PM, Paul Hoadley pa...@logicsquad.net wrote:
If what I'm trying to describe isn't clear, I'd be happy to put together a
minimal test project—let me know.
I've sent you a test project off-list. Let me know what you think is going on.
--
Paul Hoadley
On 03/02/2014, at 2:30 PM, Paul Hoadley pa...@logicsquad.net wrote:
[1]https://dl.dropboxusercontent.com/u/9599580/wounit-1.3-SNAPSHOT-3.jar
I'm having some ongoing minor issues testing partial entities with WOUnit.
Before I jump in and describe the problem in depth, is that snapshot above
, at 2:30 PM, Paul Hoadley pa...@logicsquad.net wrote:
[1]https://dl.dropboxusercontent.com/u/9599580/wounit-1.3-SNAPSHOT-3.jar
I'm having some ongoing minor issues testing partial entities with WOUnit.
Before I jump in and describe the problem in depth, is that snapshot above
the latest
On 20/02/2014, at 3:56 AM, Henrique Prange hpra...@gmail.com wrote:
I have to push some changes to GitHub (including the partials solution). I’m
trying to find some time this week. I’ll let you know as soon as the changes
are in the WOUnit repository.
Thanks Henrique.
--
Paul Hoadley
and the logs look almost identical now. There's a new snapshot
here [1] with the mentioned changes. Would you mind to try it?
[1]https://dl.dropboxusercontent.com/u/9599580/wounit-1.3-SNAPSHOT-3.jar
I'm having some ongoing minor issues testing partial entities with WOUnit.
Before I jump
Hi Henrique,
On 22/08/2013, at 10:01 AM, Henrique Prange hpra...@gmail.com wrote:
That is exactly the problem some WOUnit's users are reporting. The only way I
was able to reproduce this kind of issue in my own environment was by turning
the unit tests execution parallel. Anyway, this
Hi Henrique,
I get the same exception, but only once in a while (one in ten builds or so)
and only when jenkins is running the tests via maven. When running the tests
from eclipse, everything's fine. There does seem to be some sort of timing or
concurrency problem.
Fabian
Am 22.08.2013 um
Hi Paul,
That is exactly the problem some WOUnit's users are reporting. The only way I
was able to reproduce this kind of issue in my own environment was by turning
the unit tests execution parallel. Anyway, this causes me problems even with
WOUnit 1.2. :(
So, I added a lot of logs and
for a solution to this for
weeks, any help would be appreciated.
Thanks!
Martin
Subject: Re: WOUnit testing with partial entities
From: pa...@logicsquad.net
Date: Sat, 17 Aug 2013 20:59:57 +0930
To: hpra...@gmail.com
CC: webobjects-dev@lists.apple.com
Hi Henrique,
On 02/08/2013, at 9:08 AM
Hi Henrique,
On 02/08/2013, at 9:08 AM, Henrique Prange hpra...@gmail.com wrote:
Good to hear.
I'm trying to solve another problem that seems related to the EOF
initialization. I'm going to release a new version of WOUnit during the
weekend (solving the other problem or not).
Just out
Hi Paul,
Good to hear.
I'm trying to solve another problem that seems related to the EOF
initialization. I'm going to release a new version of WOUnit during the weekend
(solving the other problem or not).
Cheers,
Henrique
On 28/07/2013, at 04:07, Paul Hoadley pa...@logicsquad.net wrote:
Hi Henrique,
On 28/07/2013, at 11:58 AM, Henrique Prange hpra...@gmail.com wrote:
Looks like WOUnit isn't doing the required initialization to make partial
entities work. I've improved the way EOF is initialized in WOUnit to mimic
the way Wonder initializes it. Could you try this version
Hi Paul,
Looks like WOUnit isn't doing the required initialization to make partial
entities work. I've improved the way EOF is initialized in WOUnit to mimic the
way Wonder initializes it. Could you try this version [1] of WOUnit. Does it
fix the problem with your tests?
Hi Henrique,
I want to write some WOUnit tests for a class that extends
ERXPartialGenericRecord—that is, a base entity in the partial entities
terminology. I have a simple User class in a model called Ident:
public class UserTest {
@Rule
public MockEditingContext ec = new
18 matches
Mail list logo