jtrace/jsonde for unit testing w/ OpenEJB container

63 views
Skip to first unread message

dhartford

unread,
Oct 20, 2010, 5:30:15 PM10/20/10
to jTracert users and developers
Hey all,
I'm using jtracert 0.1.3 (will try jsonde eventually, but since jsonde
doesn't have any community/way to talk to the project going here).

Trying to follow the directions here, using maven:
http://code.google.com/p/jtracert/wiki/GeneratingSequenceDiagramsFromUnitTests

Modifying the example, you do have to manually download jtracert as I
do not see it in ibiblio or other maven repository, then added it as a
dependency to make sure it is in the local repo location:

<dependency>
<groupId>com.google.code</groupId>
<artifactId>jtracert</artifactId>
<version>0.1.3</version>
</dependency>


I am not getting the /target/sequence-diagrams directory nor any
content like expected. I've modified the example to ensure the right
packages are being included, as well as ensure all one line, but still
nothing. I do see the following output, and the unit tests run fine
just like always, but no jtrace output:

#####################################
[INFO] Surefire report directory: /home/user/projects/erom-testng/asdf/
target/surefire-reports

jTracert agent started
agent version: 0.1.3

WARNING! You have selected deprecated analyzer output format!
It will be removed in further versions of jTracert!



-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.ghsinc.ssdc.gwt.server.test.TestSSDCBusinessLayer
Apache OpenEJB 3.1.2 build: 20091010-03:11
http://openejb.apache.org/

#####################################

any assistance to get this tool included as part of the automated
routine would be great!

-D

dhartford

unread,
Oct 20, 2010, 5:42:07 PM10/20/10
to jTracert users and developers
Just on a hunch, I tried ' -DclassNameRegEx=.* ', and it didn't
include anything I would have expected, only some concurrent stuff and
logging, no openejb/apache work nor the actual class the unittest
runs.



On Oct 20, 5:30 pm, dhartford <binarymon...@gmail.com> wrote:
> Hey all,
> I'm using jtracert 0.1.3 (will try jsonde eventually, but since jsonde
> doesn't have any community/way to talk to the project going here).
>
> Trying to follow the directions here, using maven:http://code.google.com/p/jtracert/wiki/GeneratingSequenceDiagramsFrom...
>
> Modifying the example, you do have to manually download jtracert as I
> do not see it in ibiblio or other maven repository, then added it as a
> dependency to make sure it is in the local repo location:
>
>                 <dependency>
>                         <groupId>com.google.code</groupId>
>                         <artifactId>jtracert</artifactId>
>                         <version>0.1.3</version>
>                 </dependency>
>
> I am not getting the /target/sequence-diagrams directory nor any
> content like expected. I've modified the example to ensure the right
> packages are being included, as well as ensure all one line, but still
> nothing.  I do see the following output, and the unit tests run fine
> just like always, but no jtrace output:
>
> #####################################
> [INFO] Surefire report directory: /home/user/projects/erom-testng/asdf/
> target/surefire-reports
>
> jTracert agent started
> agent version: 0.1.3
>
> WARNING! You have selected deprecated analyzer output format!
> It will be removed in further versions of jTracert!
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running com.ghsinc.ssdc.gwt.server.test.TestSSDCBusinessLayer
> Apache OpenEJB 3.1.2    build: 20091010-03:11http://openejb.apache.org/
Reply all
Reply to author
Forward
0 new messages