[00:02:07] *** newtonm has joined #jbosstesting [00:02:13] *** newtonm has left #jbosstesting [00:05:07] *** kevinpollet has quit IRC [00:05:28] *** jose_freitas_aw has joined #jbosstesting [00:07:36] *** jose_freitas has quit IRC [00:10:03] *** mhuniewicz has quit IRC [00:19:50] *** aslak has quit IRC [00:24:44] *** ALR has joined #jbosstesting [00:32:02] *** dblevins has quit IRC [00:44:33] *** lightguard_jp has joined #jbosstesting [00:45:03] *** Mazon has joined #jbosstesting [00:45:42] <Mazon> any @ awake? got a ping from freenode staff, that they'd like channels that log, to put a notice in topic (fx: IRC Logs: http://echelog.com/?jbosstesting) [01:11:53] *** alesj has quit IRC [01:14:31] *** alesj has joined #jbosstesting [01:26:32] *** alesj has quit IRC [01:38:28] *** alesj has joined #jbosstesting [01:50:27] *** dblevins has joined #jbosstesting [01:55:40] *** alesj has quit IRC [01:58:58] *** lightguard_jp has quit IRC [02:22:31] *** rruss has quit IRC [02:37:44] *** ianbrandt has quit IRC [02:45:42] *** rruss has joined #jbosstesting [02:50:11] *** rruss has quit IRC [03:07:54] *** bobmcw has joined #jbosstesting [04:26:53] *** stuartdouglas has quit IRC [04:29:52] *** stuartdouglas has joined #jbosstesting [06:38:24] *** ge0ffrey has quit IRC [06:53:30] *** ge0ffrey has joined #jbosstesting [07:18:08] *** oskutka has joined #jbosstesting [07:47:10] *** kpiwko has joined #jbosstesting [08:11:32] *** lightguard_jp has joined #jbosstesting [08:16:51] *** jharting has joined #jbosstesting [08:22:20] *** mgoldmann has joined #jbosstesting [08:33:05] *** galderz has joined #jbosstesting [08:33:51] *** jharting has quit IRC [08:34:35] *** jharting has joined #jbosstesting [08:53:00] *** vnvarsete has joined #jbosstesting [08:58:43] *** jhuska has joined #jbosstesting [09:07:09] *** kpiwko has quit IRC [09:35:13] *** bleathem has quit IRC [09:43:32] *** rruss has joined #jbosstesting [09:43:47] *** rruss has quit IRC [10:03:04] *** galderz has quit IRC [10:12:21] *** oskutka has quit IRC [10:17:20] *** kpiwko has joined #jbosstesting [10:27:10] <nickarls> anyone tried the new jacoco integration? [10:27:46] <nickarls> I get the resulting run file from it but for some strange reason it's never converted to a report, any theories? [10:37:20] *** galderz has joined #jbosstesting [10:53:30] *** alesj has joined #jbosstesting [10:57:48] *** lfryc has joined #jbosstesting [11:06:12] *** lightguard_jp has quit IRC [11:06:46] *** jhuska has quit IRC [11:22:30] *** jhuska has joined #jbosstesting [11:40:08] *** Jaikiran has joined #jbosstesting [11:53:16] *** jhuska has quit IRC [11:53:22] *** maschmid has joined #jbosstesting [11:57:14] *** alesj1 has joined #jbosstesting [11:57:14] *** alesj has quit IRC [11:57:31] *** alesj1 is now known as alesj [12:05:37] *** jhuska has joined #jbosstesting [12:15:21] *** pmuir has joined #jbosstesting [12:28:22] <pmuir> Mazon: no, I don't own this channel, try ALR or aslak [12:33:09] <Mazon> right [12:33:19] <Mazon> are they on central too ? :) [12:37:12] <ALR> Hi guys [12:37:19] <ALR> Mazon: What's up? [12:37:34] <Mazon> copy/paste: got a ping from freenode staff, that they'd like channels that log, to put a notice in topic (fx: IRC Logs: http://echelog.com/?jbosstesting) [12:37:52] <ALR> Mazon: I'm on Eastern Daylight [12:37:58] <ALR> Mazon: Aslak is in Oslo [12:38:02] <ALR> CET probably. [12:38:12] <ALR> (Eastern Dayight, USA, for me) [12:38:33] <ALR> Thanks Mazon [12:44:04] *** ChanServ sets mode: +o ALR [12:44:04] *** ChanServ sets mode: +o ALR [12:44:31] *** ALR changes topic to "Discussion of all things testing related for JBoss.org | http://jboss.org/shrinkwrap | http://community.jboss.org/en/arquillian | http://www.jboss.org/jsfunit | This Channel is Logged: http://echelog.com/?jbosstesting" [12:44:38] <ALR> Mazon: Looks good? [12:45:56] <Mazon> looks like it, yes [12:47:27] <Mazon> can you fix jboss-as7 too, or does that have to be Nihility? [12:47:46] <ALR> Mazon: I don't have access [12:47:53] <Mazon> ok then [12:47:54] <ALR> dmlloyd has locked that one down pretty wel. [12:47:57] <Mazon> will wait for him [12:48:00] <Mazon> :) [12:48:06] <ALR> Great. dmlloyd, when you wake ^ [12:48:24] <ALR> The URL is: http://echelog.com/?jboss-as7 [12:48:40] <Mazon> technically, I think maxandersen might be working on something logwise and jbossbot ... but dont know how long thats down the line [12:48:45] <Mazon> yup [12:59:21] *** galderz has quit IRC [12:59:53] *** galderz has joined #jbosstesting [13:10:57] *** jose_freitas has joined #jbosstesting [13:12:11] *** jose_freitas_aw has quit IRC [13:15:01] <nickarls> ALR: you tried the jacoco extension? [13:15:16] <ALR> nickarls: I haven't [13:15:37] <nickarls> you are making it hard for me to do a follow-up-question! ;-) [13:22:59] <ALR> Sorry :) [13:24:14] *** jose_freitas_aw has joined #jbosstesting [13:26:04] *** jose_freitas has quit IRC [13:38:22] *** oskutka has joined #jbosstesting [13:41:31] <jose_freitas_aw> nickarls: ping [13:41:35] *** jose_freitas_aw is now known as jose_freitas [13:42:00] <jose_freitas> kpiwko: ping [13:46:24] <kpiwko> jose_freitas: pong [13:49:29] <jose_freitas> kpiwko: we'll need to extract pom from jar as a stream [13:49:46] <jose_freitas> the thing is that the maven api work with File only [13:49:51] <jose_freitas> at least for what I saw [13:50:03] <jose_freitas> so I'd like to discuss some options we have [13:50:28] <jose_freitas> 1) contribute an extension for the api that works with inputstream [13:50:46] <jose_freitas> 2) get the stream from jar and save a file on disk and use api as it is [13:50:55] <jose_freitas> 3) you might want to suggest a better solution [13:51:00] <jose_freitas> hehehe [13:52:16] <kpiwko> jose_freitas: I'd go for 2/, as newTempFile is heavily used in SW/ARQ already [13:52:30] <jose_freitas> yeah? [13:52:38] <jose_freitas> ok, that's the easy solution [13:53:00] <kpiwko> jose_freitas: well, not so sure about sw, but arq definitely does [13:53:47] <jose_freitas> and do you know if there's a default temp dir? [13:54:28] <kpiwko> jose_freitas: this is platform dependent [13:54:36] <jose_freitas> hm [13:55:16] <kpiwko> jose_freitas: http://download.oracle.com/javase/1,5.0/docs/api/java/io/File.html#createTempFile(java.lang.String, java.lang.String) [13:56:12] <jose_freitas> thanks kpiwko [13:56:22] <nickarls> jose: pong [13:56:48] <jose_freitas> nickarls: are you having problems with jacoco extension? [13:57:05] <nickarls> I get the binary run file from it but I don't get any html formatted report [13:57:19] <jose_freitas> what are you using to genereate the report? [13:57:39] <jose_freitas> jacoco extension just generate the binary file [13:57:47] <jose_freitas> the report must be generated by another tool [13:58:11] <nickarls> ah, ok, that explains it. is there any plugin that can do it? maven, that is [13:58:23] <nickarls> as I recall, emma stuff generated those automagically [13:59:14] <jose_freitas> there's jacoco reporting [13:59:43] <jose_freitas> but I don't know about a maven plugin that do it [13:59:48] <jose_freitas> http://mvnrepository.com/artifact/org.jacoco/org.jacoco.report/0.5.3.201107060350 [14:00:30] <jose_freitas> I use sonar [14:00:45] <jose_freitas> not only for coverage report though [14:01:36] <jose_freitas> maybe we could work on the extension to generate an html report too. [14:02:33] <nickarls> what is "sonar"? [14:02:56] <jose_freitas> http://www.sonarsource.org/ [14:03:10] <jose_freitas> it makes report on many aspects of your source code [14:03:53] <jose_freitas> really great tool [14:05:39] <ALR> I keep wondering if I should install Sonar on my server [14:06:01] <nickarls> is it server-based or build-time maven plugins or what? [14:06:09] <jose_freitas> ALR: it's really great to control code quality [14:06:24] <jose_freitas> it's server based and it runs with a maven plugin nickarls [14:06:25] <ALR> jose_freitas: Right, for now I have Emma and FindBugs plugins on my Hudson [14:06:31] <ALR> But I could put on a Sonar plugin too [14:06:32] <jose_freitas> but a server must be installed [14:06:48] <ALR> jboss.hudson.alrubinger.com [14:07:06] <jose_freitas> cool :) [14:07:31] <nickarls> sounds a bit complicated to have a server for builds but it could be worth a look [14:08:17] <ALR> nickarls: You're saying it's complicated to have a CI server? [14:08:39] <jose_freitas> ALR: do I have to be logged in to see findbugs report? [14:08:58] <ALR> jose_freitas: No. [14:09:12] <ALR> I'm restarting Hudson now though [14:10:09] <nickarls> ALR: not complicated having, just setting it up ;-) [14:10:37] <ALR> nickarls: Yeah, I have a stock JBoss AS instance I use for a lot of things. [14:10:45] <ALR> So setting up Hudson was as simple as adding a webapp. [14:10:52] <ALR> Ultra handy [14:11:00] <jose_freitas> I have both on my intranet, jenkins for building and sonar for reporting. [14:11:01] <ALR> It's my clean environment [14:11:10] <ALR> Much, much faster than JBoss QA [14:12:11] <ALR> jose_freitas: http://jboss.hudson.alrubinger.com/job/ShrinkWrap_Deploy_Site/ [14:12:38] <ALR> I think I might need to configure the FindBugs reports though [14:12:42] <ALR> 0 looks wrong [14:12:50] <jose_freitas> hehehe [14:12:58] <ALR> And these are DEFINITELY wrong [14:12:58] <ALR> http://jboss.hudson.alrubinger.com/job/ShrinkWrap_Deploy_Site/90/cobertura/ [14:13:25] <ALR> We're much higher [14:13:34] <nickarls> 8080 for web, 8081 for nexus, 8082 for sonar... [14:14:39] <ALR> I do HTTPD frontend and subdomains. [14:16:48] <jose_freitas> ALR: :) [14:22:04] <jose_freitas> ALR: try out sonar. I bet that you won't regret [14:23:55] <ALR> I'm sure I won't. [14:27:11] *** jhuska has quit IRC [14:30:36] *** jhuska has joined #jbosstesting [14:31:36] <jose_freitas> kpiwko: http://community.jboss.org/message/620093#620093 [14:33:06] <kpiwko> jose_freitas: thanks, I just received email notification [15:12:45] *** rruss has joined #jbosstesting [15:14:08] *** jharting has quit IRC [15:17:07] *** rruss has quit IRC [15:21:29] *** echelog-2 has joined #jbosstesting [15:28:12] *** vnvarsete has quit IRC [15:35:03] *** pilhuhn-sleep is now known as pilhuhn [15:44:40] <jbossbot> git [arquillian-container-tomcat] push master c0ab746.. Ian Brandt Updating Tomcat to the latest versions prior to the Arquillian 1.0.0-Final release. [15:44:41] <jbossbot> git [arquillian-container-tomcat] push master URL: http://github.com/arquillian/arquillian-container-tomcat/compare/2d57d31...c0ab746 [15:50:34] *** ALR has quit IRC [16:05:30] *** kevinpollet has joined #jbosstesting [16:18:21] *** rruss has joined #jbosstesting [16:19:11] *** rruss has quit IRC [16:33:09] *** dblevins has quit IRC [16:34:29] *** jose_freitas has quit IRC [16:36:31] *** jose_freitas has joined #jbosstesting [16:36:58] *** Mazon has left #jbosstesting [16:44:11] *** dblevins has joined #jbosstesting [16:52:55] *** alesj1 has joined #jbosstesting [16:52:55] *** alesj has quit IRC [16:53:07] *** alesj1 is now known as alesj [17:00:37] *** rruss has joined #jbosstesting [17:25:13] *** bleathem has joined #jbosstesting [17:27:47] *** jeand has joined #jbosstesting [17:32:50] *** bdlink has joined #jbosstesting [17:34:34] *** ge0ffrey has quit IRC [17:44:14] *** bleathem has quit IRC [17:46:48] *** rruss has quit IRC [17:48:58] *** kevinpollet has quit IRC [18:01:12] *** oskutka has quit IRC [18:08:07] *** maschmid has quit IRC [18:09:26] *** alesj has quit IRC [18:22:27] *** lfryc has quit IRC [18:24:48] *** ianbrandt has joined #jbosstesting [18:31:38] *** pilhuhn is now known as pil-dinner [18:33:34] *** Jaikiran has quit IRC [18:44:21] *** rruss has joined #jbosstesting [18:45:50] *** rruss has quit IRC [18:45:55] *** rruss has joined #jbosstesting [18:50:43] *** rruss has quit IRC [18:51:48] *** jhuska has quit IRC [18:52:02] *** kpiwko has quit IRC [19:07:29] *** jhuska has joined #jbosstesting [19:25:48] *** jhuska has quit IRC [19:32:43] *** lightguard_jp has joined #jbosstesting [20:17:49] *** galderz has quit IRC [20:39:58] *** alesj has joined #jbosstesting [20:54:54] *** pmuir has quit IRC [21:00:56] *** jeand has quit IRC [21:07:17] *** pil-dinner is now known as pilhuhn [21:15:49] *** jeand has joined #jbosstesting [21:24:01] *** mhuniewicz has joined #jbosstesting [21:30:11] *** bdlink has quit IRC [21:56:03] *** rruss has joined #jbosstesting [21:58:37] *** mgoldmann has quit IRC [22:00:56] *** rruss has quit IRC [22:15:26] *** jeand has quit IRC [22:34:46] *** ALR has joined #jbosstesting [22:50:03] <jose_freitas> ALR: ping [22:50:41] <jose_freitas> org.jboss.shrinkwrap.descriptor.impl.base.NodeProviderImplBase was moved or deleted? [22:51:04] <ALR> jose_freitas: Yo [22:51:17] <ALR> jose_freitas: Moved/renamed [22:51:19] <ALR> It's in the SPI [22:51:24] <ALR> And is now called.... [22:52:05] <ALR> https://github.com/shrinkwrap/descriptors/blob/master/spi/src/main/java/org/jboss/shrinkwrap/descriptor/spi/NodeProviderImplBase.java [22:52:17] <jose_freitas> okidoki [22:52:21] <jose_freitas> thanks [22:54:58] <mhuniewicz> ALR, best practices question? [22:55:10] <jose_freitas> woot [22:55:31] <ALR> mhuniewicz: Subjective, but we can try sure :) [22:56:03] <mhuniewicz> ALR, I used to have a test that tested a repository. [22:56:10] <mhuniewicz> It created some data using entity manager directly. [22:56:23] <mhuniewicz> Now that I moved to JBoss 7 and EJB 3.1 (am moving rather) [22:56:25] <mhuniewicz> I cannot do that. [22:56:37] <mhuniewicz> So I created a test helper bean that does this. Is that ok? [22:57:11] <ALR> Absolutely. [22:57:18] <ALR> What I do is make something like this: [22:58:52] <ALR> mhuniewicz: https://github.com/jbossejb3/oreilly-ejb-6thedition-book-examples/blob/master/testsupport/src/main/java/org/jboss/ejb3/examples/testsupport/dbquery/EntityManagerExposingBean.java [22:59:21] <ALR> Now the beauty of that is the MANDATORY Tx requirement. [22:59:30] <ALR> So what I do is use that in tandem with: [22:59:49] <ALR> https://github.com/jbossejb3/oreilly-ejb-6thedition-book-examples/blob/master/testsupport/src/main/java/org/jboss/ejb3/examples/testsupport/txwrap/TxWrappingBean.java [23:00:10] <ALR> Such that the test can control the Tx boundaries [23:00:12] <ALR> Like so: [23:00:39] <mhuniewicz> Aha. [23:00:41] <ALR> https://github.com/jbossejb3/oreilly-ejb-6thedition-book-examples/blob/master/ch09-14-employeeregistry/src/test/java/org/jboss/ejb3/examples/employeeregistry/EmployeeIntegrationTest.java#L255 [23:01:12] <ALR> That method runs tests across 6 Tx's [23:01:21] <ALR> All controlled by the test [23:01:26] <mhuniewicz> Cheers. [23:01:31] <ALR> Yup. [23:01:41] <mhuniewicz> ALR, I'm busy converting my project to EJB 3.1, it's not as easy as I thought. [23:01:57] <ALR> Why not? [23:02:38] <mhuniewicz> Can I preserve CDI qualifiers? [23:03:10] <ALR> Ha, no. [23:03:40] <ALR> I thought maybe you were just converting from POJO, which would be esaier. [23:03:41] <mhuniewicz> It's a bit of a PITA. I had to revert my changes 2 times and do things more slowly and gradually. [23:03:42] <ALR> *easier [23:03:59] <ALR> That's how it always is. Decompose into smaller pieces. [23:04:25] <ALR> Recommend you first strip down and identify what the business logic components are only. [23:04:29] <ALR> POJOize it [23:04:43] <mhuniewicz> Once I'm done and regain peace of mind I will be able to help you out with SW. [23:04:48] <ALR> And then apply EJB metadata atop that after you figure your dependencies [23:04:51] <ALR> Awesome [23:05:37] <mhuniewicz> ALR, my approach is a bit different, I preserved CDI, I converted tests to use JBoss 7, [23:05:43] <mhuniewicz> then gradually replace CDI stuff with EJB stuff. [23:07:14] *** pilhuhn is now known as pil-zZzzZZ [23:07:39] *** kevinpollet has joined #jbosstesting [23:09:11] *** kevinpollet has left #jbosstesting