Workshop and Junit

Hi
Has anyone used JUnit with a web-app developed using Workshop ?? Is there any
plug-in for the same or is it not possible ?
If anyone does have any articles which say how to use Junit with workshop that
would be fine .
Thanks
Kar

Piyush,
JUnit integration is planned for the next release. Until then you can use cactus,
httpunit or other open source JUnit projects which you can run them via ant tasks.
Nikhil
"kar piyush" <[email protected]> wrote:
>
Hi
Has anyone used JUnit with a web-app developed using Workshop ?? Is there
any
plug-in for the same or is it not possible ?
If anyone does have any articles which say how to use Junit with workshop
that
would be fine .
Thanks
Kar

Similar Messages

  • ANT and JUnit in weblogic

    Hi.
    I see that the problem with ant and junit is discussed here, but with no absolutte solution.
    The problem:
    I create an build.xml containing the <junit>-task and want to run this from within the BEA Workshop. The standard error-message is that it cant find the junit-task. I can run the same build file from command since I got ANT set up correctly with JUnit outside Weblogic.
    It sems for me that Workshop dont care about existing installation of ANT, it uses it own version. I have included junit.jar in the same direstory as ant.jar is in BEA-install-dir also, but it wont work.
    Does anyone have a solution to this "small" problem??
    Thanks in advance.

    I haven't figured out why, but my JDeveloper automatically adds the classpath I have in my ant build.xml to the additional classpath of the project. My classpath is set like this in the build.xml:<path id="classpath">
    <fileset dir="env/lib">
          <include name="**/*.jar"/>
        </fileset>
    </path>And my compile target looks like this:<target name="compile" depends="init">
        <mkdir dir="${compile.outdir}"/>
        <!--Compile Java source files-->
        <javac destdir="${compile.outdir}" debug="on">
           <classpath refid="classpath"/>
           <src refid="srcpath"/>
        </javac>
      </target>And my Jdev project settings -> common -> ant has my build.xml file selected with default make and rebuild targets selected. I have never put a single entry in the additional classpath area but somehow I have all the libs as I set up in my build.xml file. I'm using JDev 9.0.3.2 by the way.

  • SQL Report not showing data - available in SQL Workshop and SQL Developer

    I am having an issue with developing a SQL Report in APEX 3.2.1. I run the code in both SQL developer and SQL Workshop and I get data pulled back (both against my development environment). When I run the same code in a SQL Report region, it returns no data available. Does anyone have any idea what would be causing this? Other regions on the page accessing different tables in the same schema return data without issue. Any help would be appreciated.
    Thanks
    Freddie

    Could you explain the last comment a bit more. Here is a bit more info just in case I touch on the info with it. The db schema is BPAMGR, the Workspace is BPAMGR. We use the same schema for all of our reporting. All of our tables are in the same schema. We don't use any tables outside of this schema. Our APEX workspace has been associated to only this schema. The tables are able to be queried by SQL Workshop in the same APEX instance that the report application is under.
    Freddie

  • $30 upgrade fee is for Wireless Workshops and Backup Assistant Plus?

    I recently upgraded my device, over the phone, using the 2 year discount price of $199. I was completely unaware and never told by the VZW agent that I would be paying an extra $30 to help VZW offset the cost of Wireless Workshops and their Backup Assistant+ crap. The agent on the phone told me to expect a $199 + tax charge on my next bill but failed to mention the extra $30 and, to be quite honest, I'm pretty upset about this. I called the customer support line and was told the $30 free is there to support the cost of the Backup Assistant Plus service (which I do not use and have completely removed it from my phone because it's trash) as well as the Wireless Workshops they offer in their stores. This is complete ** and if I had been made aware of this nickle and dime scheme by VZW when I was upgrading, I would have canceled my upgrade and gone with another carrier instead of signing another 2 year contract. I will NEVER go to a workshop for a device, service, whatever that I know how to use or could spend an hour researching online so why am I having to pay for this? I use Titanium Backup Pro and the Android SDK environment to backup my phone and data instead of the clunky Backup Assistant Plus trash. In fact, I've completely removed all traces of BA+ on my phone...
    So why am I "donating" $30 to Verizon for services that I, and I'm willing to bet most people, don't use? Why wasn't I made aware of this by the VZW agent I spoke to on the phone?
    /rant

    steelystan wrote:
    The final price of the phone was $260. I was told by the VZW agent to expect a ~$199 + tax ($215) charge on my next bill. There was no mention of a $30 upgrade fee. I was not notified BEFORE the purchase, and if it's listed on the discount upgrade page it's not very clear.
    I did not see the articles in the news about this fee in the past and VZW did not make it clear to me that I would be charged this fee. I expect the VZW phone agent to make me aware of the fee's associated with any service I use, like this upgrade, but the agent failed to mention it.
    Yes, I am complaining about the discount. I'm already unhappy that I was forced to lose my unlimited data plan when upgrading (unless I paid for the phone in full), but being charged an extra $30 for "services" like BA+ and workshops is absurd. Regardless of how much of a discount it was I don't like having surprise fee's come up on my cell phone bill. Why don't they include that free in the displayed upgrade price? Why not show $229.99 instead of $199.99?
    And it's 57% discount, not 60%+
    Well according to the stats you just posted sales tax is 8% so since you insist on including that, then at full price a $600 phone plus 8% is $648. $260/$648 is 40% thus you received a 60% discount. Also even at 57%, you are complaining about a 57% discount? Really? If you went to a car dealer and got a 57% discount you'd be ecstatic. If you got a TV for 57% you'd be ecstatic.
    This fee was announced April 11th 2012 It made ALL the major news sources.
    http://www.engadget.com/2012/04/11/verizon-upgrade-fees/
    http://money.cnn.com/2012/04/11/technology/verizon-upgrade-fee/index.htm
    http://www.reuters.com/article/2012/04/11/verizonwireless-upgradefee-idUSL2E8FBGQ820120411
    http://www.wired.com/gadgetlab/2012/04/verizon-upgrade-fee/
    http://arstechnica.com/gadgets/2012/04/verizon-to-start-charging-30-upgrade-fees-on-april-22/
    http://www.zdnet.com/blog/gadgetreviews/verizon-wireless-to-add-30-upgrade-fee-for-all-existing-customers/29184
    http://www.huffingtonpost.com/2012/04/11/verizon-wireless-phone-upgrade_n_1417959.html
    http://www.dslreports.com/shownews/Verizon-Starts-Charging-30-Phone-Upgrade-Fee-119201
    http://news.cnet.com/8301-17938_105-57412428-1/verizon-to-start-charging-for-phone-upgrades/
    http://news.yahoo.com/verizon-jumps-board-upgrade-fee-train-230900778.html
    http://usatoday30.usatoday.com/tech/news/story/2012-04-11/verizon-wireless-upgrade-fee/54173448/1
    Just to name a few sources.
    There is no way you were not told in some fashion. You say VZW agent. So you ordered this over the phone? Ok so where did you see the phone you wanted? Um at this site? Well the fee is listed VERY clearly on the price of the phone. if youw ent into a VZW store it;s CLEARLY listed on the price tags.

  • Workshop and training preferences

    Greetins all,
    May I ask a quick question with regards to training and skills development. In the UK we've been training around the topics of IDES/ERP and BW  - with the vast majority of faculty interest being in ERP because ot touches on so many business and IS topics.
    However as new products become available and SAP is taken up by other faculty the range of training topics varies. In the UK for example there is a lot of interest in SCM and SRM - I ran a very brief 'taster' workshop in SCM in collaboration with our Irish Service Centre a few months ago and got perhaps 8/9 attendees but it seems perhaps there are another dozen or so that woiuld be interested in a second session.
    So I was wondering what other topics are of interest to faculty - CRM, BW, etc.
    And also - more importantly - would you actually use the skills in the classroom? The reason I ask is because although there is great demand in finding out about SCM no UKI school uses it as yet - we are still an ERP/Business Intelligence community with some interest in Portal and Solution Manager for the more technical faculties. SCM etc. may be of interest for faculty skills development and research puroses but would anyone actually use it??
    Any thoughts gratefully received
    Martin
    Martin Gollogly
    Director, University Alliances
    Unied Kingdom and Ireland

    Hi,
    Last October, I took a JBuilder for WebLogic course. I asked about web services
    support. I was told at the time (JBuilder 7) that you had to have an additional
    plugin over and above the JBuilder/WebLogic Server installation. I never got
    the plugin.
    Also, you would need clarification on what the plugin addresses. WebLogic Server
    has two different web service implementations. You mentioned .jws files so that
    makes me believe that you are using workshop-enabled web services not WebLogic's
    standalone (ant script) web service implementation. You need clarification on
    which (either? both?) JBuilder supports.
    I belive that you can start by opening a support case with BEA. Then if BEA needs
    clarification from Borland, BEA will contact Borland.
    hope this helps,
    pat
    "Tanya" <[email protected]> wrote:
    >
    I keep seeing advertisements and bulletins that Workshop and JBuilder
    integrate,
    but I'm unable to find any data on BEA or Borland’s web sites. Do they
    integrate
    more than a simple recognition of .jws files?

  • About Oracle Workshop and other Oracle's development tools...

    Greetings, I'm wondering what would be the future of the Workshop IDE. Oracle also distributes JDeveloper which is the company's historical development tool for Java/J2EE. Will both tools continue to be supported ? Or rather they will merge in an unique one ? In this last case, will this final too look rather as Workshop or rather as JDeveloper, I mean, will it Eclipse based ? What about the Workshop support for WebLogic Portal Server, AquaLogic Service Bus, etc. ? Will this support be maintained, meaning that the products itselfs will be maintained ?
    Many thanks in advance to anyone who can give me a little more visibility.
    Kind regards,
    Nicolas

    It looks as though Oracle will develop both IDEs: the Eclipse based Workshop and JDeveloper a few years... but that's unofficial whispering in the jungle.
    I think many want it to be Eclipse based, since most developers are learning Eclipse while they grow up...
    Edited by: Marky Goldstein on 16.11.2008 03:34

  • Netbeans and junit

    Hi,
    I am sorry if this is the wrong place to post this but I need a quick answer.
    I have developed a school project in netbeans and junit.
    How can I execute the junit tests externaly to the IDE?
    Where is the junit installed?
    thanks,
    Sebastian

    JUnit is just a java library. Take a look at
    http://www.junit.org/index.htm

  • Ant 1.6.5 and JUnit 4.1

    According to ant bugs Bug-40682 and Bug-40697, Ant 1.6.5 and JUnit 4.1 have integration problems. Is there a plan for Jdeveloper 11g to upgrade to Ant 1.7?

    We are currently testing up take of Ant 1.7 for JDeveloper 11.
    --RiC                                                                                                                                                                                           

  • Workshop and JBuilder

    I keep seeing advertisements and bulletins that Workshop and JBuilder integrate,
    but I'm unable to find any data on BEA or Borland’s web sites. Do they integrate
    more than a simple recognition of .jws files?

    Hi,
    Last October, I took a JBuilder for WebLogic course. I asked about web services
    support. I was told at the time (JBuilder 7) that you had to have an additional
    plugin over and above the JBuilder/WebLogic Server installation. I never got
    the plugin.
    Also, you would need clarification on what the plugin addresses. WebLogic Server
    has two different web service implementations. You mentioned .jws files so that
    makes me believe that you are using workshop-enabled web services not WebLogic's
    standalone (ant script) web service implementation. You need clarification on
    which (either? both?) JBuilder supports.
    I belive that you can start by opening a support case with BEA. Then if BEA needs
    clarification from Borland, BEA will contact Borland.
    hope this helps,
    pat
    "Tanya" <[email protected]> wrote:
    >
    I keep seeing advertisements and bulletins that Workshop and JBuilder
    integrate,
    but I'm unable to find any data on BEA or Borland’s web sites. Do they
    integrate
    more than a simple recognition of .jws files?

  • If I run a50 metre Ian cable to my workshop and plug in an Airport express will it create a wi fi signal for my ipad to pick up

    If I run a 50 metre LAN line to my workshop and plug in an airport express will I get wifi to my ipad

    The max length is 100m http://en.wikipedia.org/wiki/Category_5_cable So it should work.
     Cheers, Tom

  • ANNOUNCE: JSF Summit 2009: New Workshops and Sessions

    We're less than two months away from the 2nd annual JSF Summit conference, co-sponsored by JSFCentral and the No Fluff Just Stuff Symposiums. The conference will take place December 1st-4th in warm, sunny Orlando, FL.
    We already have an all-star lineup of speakers such as Ed Burns, Matthias Wessendorf, Dan Allen, Ted Goddard, Keith Donald, David Geary and several others, covering every aspect of JSF 2.0 plus JSF 1.x, Seam, MyFaces, ICEfaces, Trinidad, Spring/JSF integration, Comet, Portlets, JSR 299, testing, and more.
    But Jay Zimmerman and I wanted to make the show even better, so I'm happy to announce two full-day workshops on Seam and JSF 1.x, and several new sessions covering RichFaces, JSR 299, PrimeFaces, amd more.
    Read more here: http://weblogs.java.net/blog/kito75/archive/2009/10/13/jsf-summit-2009-new-workshops-and-sessions

    The Oracle related ones will probably available for download via the content builder etc shortly.
    Mine can be seen here http://www.slideshare.net/MGralike , but you will not be able to download them (although maybe you are allowed via the Oracle content builder part). The reasons regarding them (aka mine) to be on "seen only", are that there went a lot of work and stress into them, the topics are not always clear if you weren't their (mostly slides with only pictures) so I want it to be in the right context and/or my company paid for the time making them (so I am only the representative on this on behalve of them).
    If you have a valid reason that you me really need them then you could always drop me a line.

  • Difference of sql query in SQL Workshop and SQL Report (case when sum(...

    Hi ,
    I need some help, pls.
    The follwg report runs in SQL Workshop - but gives errors in the sql-query report in HTMLDB:
    SQL-Workshop:
    select
    case
    when SUM(S.POTENTIAL_GROWTH)> 1 and SUM(S.POTENTIAL_GROWTH) < 4 then 'Ok'
    when SUM(S.POTENTIAL_GROWTH)> 4 and SUM(S.POTENTIAL_GROWTH) < 8 then 'SoSo'
    when SUM(S.POTENTIAL_GROWTH)> 8 and SUM(S.POTENTIAL_GROWTH) < 12 then 'Very Good'
    else 'too much'
    end
    from "SEGMENTATION" S
    In an HTMLDB SQL-Query Report I added Aliases (as requested for HTML) but still gives the error:
    <<Query cannot be parsed, please check the syntax of your query. (ORA-00920: invalid relational operator) >>
    the code:
    select
    case
    when SUM(S.POTENTIAL_GROWTH) pot_growth > 1 and SUM(S.POTENTIAL_GROWTH)pot_growth < 4 then 'Ok'
    when SUM(S.POTENTIAL_GROWTH)pot_growth > 4 and SUM(S.POTENTIAL_GROWTH)pot_growth < 8 then 'SoSo'
    when SUM(S.POTENTIAL_GROWTH)pot_growth > 8 and SUM(S.POTENTIAL_GROWTH)pot_growth < 12 then 'Very Good'
    else 'too much'
    end
    from "SEGMENTATION" S
    any halp from the gurus wud be very much appreciated.
    TIA
    Bernhard

    Still you did not give the alias for the case when column. For that only you should give the alias
    select
    case
    when SUM(S.POTENTIAL_GROWTH) pot_growth &gt; 1 and SUM(S.POTENTIAL_GROWTH)pot_growth &lt; 4 then 'Ok'
    when SUM(S.POTENTIAL_GROWTH)pot_growth &gt; 4 and SUM(S.POTENTIAL_GROWTH)pot_growth &lt; 8 then 'SoSo'
    when SUM(S.POTENTIAL_GROWTH)pot_growth &gt; 8 and SUM(S.POTENTIAL_GROWTH)pot_growth &lt; 12 then 'Very Good'
    else 'too much'
    end "GROWTH"
    from "SEGMENTATION" S

  • How to deal with Portal, Workshop, and non-BEA software?

    Hi,
    I'm really new to working with portal, and have looking into integrating a single sign-on software (RSA ClearTrust) into existing portal code.
    The ClearTrust installation involves installation of a bunch of software that integrates with the portal software, but I found that if the portal code was developed with Workshop, that if Workshop is run again after the ClearTrust integration has been done, that Workshop appears to overwrite some of the XML configuration files (e.g., web.xml).
    The result of this is that the WebLogic server won't start.
    So, I was wondering if anyone here has had to deal with this kind of situation, not necessarily with ClearTrust specifically, but maybe with other products?
    I'm not looking forward to re-doing the integration everytime someone makes some portal code changes :(...
    Thanks in advance,
    Jim

    There are really two types of Graphic Styles - Object level styles and Group level styles. There is no way to tell which style is which. So if you have an Object level Style and try to apply it to a group of objects or often a compound shape, you get each individual object having the style. If you have a Group level style and try to apply it to only an object, you often get nothing applied.
    It perhaps sounds like you have an Object level style and are trying to apply it to a group.
    There's no way to convert an Object level style to a Group level style or vice versa. The best (and pretty much only) way I've found to get around this is to apply the style to teh correct level then make a note of all the style settings, select the other level and recreate the style for that level.
    Whether or not a style applies correctly has a great deal to do with specific aspects of the style in addition to what level the style was generated from. This is a frustrating aspect of Graphic Styles.

  • Java Stored Procedure via Function Give 0RA 600 from SQL Workshop and App

    Hi,
    Anyone experienced stored procedures or functions failing when called from APEX app or SQL Workshop ( ora 600 ) yet they work fine when called from SQLPlus?
    Sqlplus connected as my apex workspace schema owner:
    select net_services.test_db_connection_via_ldap(
    'APEXPRD1', 'test1', 'test1', null ) as result from dual;
    RESULT
    The database connection attempt was SUCCESSFUL
    From Apex Sql Worshop:
    select net_services.test_db_connection_via_ldap(
    'APEXPRD1', 'test1', 'test1', null ) as result from dual;
    ORA-00600: internal error code, arguments: [16371], [0x434B08150], [0], [], [], [], [], [], [], [], [], []
    NOTE: Same result when run in response to button push on page in application.
    Apex Version: 3.2.1.00.10
    Oracle Version: 11.1.0.7.0
    NOTE: I am using the embedded plsql gateway; was going to try NOT using it to see if it was shared server related (seemed to be from trc files)
    Any ideas?
    Since the code works from sqlplus, I know that it's good: Here some snippets
    -- ========================================================================================
    public class NetServices extends Object {
    public static String doTestDbConnectionViaLdap
    String piDbConnUrl,
    String piUserName,
    String piUserPassword
         String vResult = null;
    try
         Connection conn = null;
         OracleDataSource ods = new OracleDataSource();
         ods.setUser( piUserName );
         ods.setPassword( piUserPassword );
         ods.setURL( piDbConnUrl );
         conn = ods.getConnection();
         conn.close();
         vResult = "The database connection attempt was SUCCESSFUL";
    } catch ( SQLException e )
         int vErrCode = e.getErrorCode();
         String vErrMsg = e.toString();
              if ( vErrCode == 1017 ) {
              vResult = "The database connection attempt FAILED! Incorrect Username or Password";
         } else if ( vErrCode == 17433 ) { // Null Username or Password
              vResult = "The database connection attempt FAILED! You must provide both a Username and a Password";
         } else if ( vErrCode == 17002 ) {
              vResult = "The database connection attempt FAILED! Net Service Name was Not Found";
         } else if ( vErrCode == 17067 ) { // NULL Net Service Name
              vResult = "The database connection attempt FAILED! You must provide a Net Service Name";
         } else {
              vResult = "The database connection attempt FAILED! Error " + vErrCode;
    return vResult;
    } // method: doTestDbConnectionViaLdap
    -- ========================================================================================
    function do_test_db_connection_via_ldap
    pi_db_conn_url IN VARCHAR2,
    pi_user_name IN VARCHAR2,
    pi_user_password IN VARCHAR2
    return VARCHAR2
    is -- PRIVATE to the net_services package
    language java -- NOTE: See cr_java_class_NetServices.sql for actual java implementation
    name 'NetServices.doTestDbConnectionViaLdap
    ( java.lang.String, java.lang.String, java.lang.String ) return java.lang.String ';
    -- ========================================================================================
    function test_db_connection_via_ldap
    pi_net_service_name IN VARCHAR2,
    pi_user_name IN VARCHAR2,
    pi_user_password IN VARCHAR2,
    pi_search_base IN VARCHAR2
    return VARCHAR2
    is -- PUBLIC procedure
    v_url      VARCHAR2(256);
    begin
    g_err_source := 'NET_SERVICES.test_db_connection_via_ldap';
    g_err_action := 'build_jdbc_conn_url_using_oid';
    /*     NOTE: We don't want to assert the parameters because we don't want to raise
    an exception;
    -- Get the jdbc connection url that uses oid info
    v_url := build_jdbc_conn_url_using_oid( pi_net_service_name, pi_search_base );
    return( do_test_db_connection_via_ldap( v_url, pi_user_name, pi_user_password ) );
    end test_db_connection_via_ldap;
    -- ========================================================================================
    Thanks in advance for your consideration.
    Troy

    Troy:
    You could be right in your guess that the error is related to MTS. Search Metalink for '16371'. Why not switch your APEX app to use OHS and test whether the error persists. ?
    varad

  • Error with ant build and JUnit task in IntelliJ

    Hi,
    I seem to be having a very annoying error in IntelliJ. Here are the stats:
    - IntelliJ 4.5.1, Build 2239
    - Using own version of ant (1.5.1)
    - removed junit37.jar from my ant1.5.1/lib dir, and instead added junit version 3.8.1 of junit.jar to that dir
    - Specified that same junit.jar in my project classpath (this is the only item in the classpath for my test project)
    - MyTest.java is the only class in my project, and it is specified as a JUnitTest in run/debug configurations and includes the classpath and jdk of my project module
    When I right-click on my test class, and go to "Run" then my simple test passes. I see the results in the run window.
    Here is where the issue lies (and why this is confusing me). When I try to run the same test from my build.xml file in this project, specified with the classpath as the same from my project, and with the following junit task, I get the below error (3 times in a row for whatever reason). If any of you know of a configuration issue that I may be missing, please let me know. It is very frustrating! Thanks a lot, in advance.
    <target name="run.test">
            <javac classpath="class.path" srcdir="src" destdir="src" />
            <junit haltonerror="true" printsummary="yes" haltonfailure="true" showoutput="true">
                <classpath refid="class.path" />
                <test name="MyTest" />
            </junit>
        </target>
    Test MyTest failed
         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:568)
         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:527)
         at org.apache.tools.ant.Task.perform(Task.java:319)
         at org.apache.tools.ant.Target.execute(Target.java:309)
         at org.apache.tools.ant.Target.performTasks(Target.java:336)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
         at org.apache.tools.ant.Main.runBuild(Main.java:610)
         at org.apache.tools.ant.Main.start(Main.java:196)
         at org.apache.tools.ant.Main.main(Main.java:235)
         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:324)
         at com.intellij.rt.ant.execution.AntMain2.main(AntMain2.java:13)

    I figured this out - I needed a formatter tag to see the output of the test.

Maybe you are looking for