Test-Driven Development for OUAF+Edge application

Hi Folks,
I work on a edge application (web application) that is based on OUAF.
In order to have my test scripts code to be more aligned with developers' code, I want to import the jar file for source code into Open script (oracle testing tool based out of Eclipse IDE) and then develop test scripts and give those test scripts back to developers to run them on JUnit environment before they check in the code to source control. This way, I want to ensure that if any test scripts because of any bugs or regressions.
And also I want to enable the build team to run these test scripts during build time as part of sanity. This would reduce our testing time a lot.
What are your ideas and please provide your insights.
Edited by: OATS Explorer on Mar 16, 2012 12:11 AM

any ideas on this please, by anyone?

Similar Messages

  • Test Driven Development (TDD) in the ABAP world

    Hi All,
    It's been a long time since I've had any spare time to be active on the SCN forums so firstly hello to everyone.
    I've worked on a number of different SAP technologies over the years, starting with ABAP and moving into BSP, Portal API, Web Dynpro, Visual Composer, etc...  I'm currently working on a 7.01 Portal sat on top of an Oracle database and an old R/3 4.5b system.
    I'm also currently working on methodologies (trying to give something back to my colleagues here at AO) and have hit a bit of a blank around Test Driven Development when working in the ABAP stack.  I use JUnit to help me design, build and test Java based web services, ultimately used in WD, VC and via standalone Java applications.  I'm keen on increasing the adoption of TDD and other XP based practices but it needs to be viable in the ABAP world as well as the Java world.
    Here's my question - does anyone have any suggestions/experiences/guides or even just thoughts around using TDD with ABAP?
    I try to make all code I create service based so I rely on heavy use of componentisation, regardless of the language I am working with.  Obviously this is great with Java and ABAP Objects is also quite good, but sometimes we have to work with good old fashioned ABAP in the shape of programs, function groups and function modules.  I tend to treat a function group as a class and the function modules as the methods when designing and componentising.
    Applying the Java TDD approach, my rough idea is to use class/function groups to package my logic and then extend the class or group with an extra method/module that acts as the unit test routine.  I wonder if there is a better way though?
    It would be good to have a decent discussion in this area and capture everyone's thoughts as I'm sure I'm not the only person thinking along these lines.
    Thanks,
    Gareth.

    Hi Sandra,
    Thanks for that.  I wasn't sure if there'd be a proper SAP solution or not.
    Gareth.

  • Test driven development with JSF possible?

    Hi,
    I got two questions:
    Is it possible to just make use of the HTML generation part of JSF, meaning creating the component tree and somehow triggering the generation of HTML for that view, without using a custom view handler?
    Second, is it possible to create a component tree OUTSIDE the webcontainer and have it generate HTML for test driven development (JUnit tests not HttpUnit)? Even if it would mean using a mock FacesContext? We do something similar for our code that relies on a plain Servlet context, but because of the request processing lifecycle and all the value/method binding I'm not sure if the same can be done with JSF...
    Thanks in advance,
    Raymond Brandon

    I've looked into these issues some. I specifically wanted a harness for custom controls, per your second request, and a way to do UI unit tests.
    I didn't find much to aid in getting the former to happen and it seemed that creating mocks would be a huge hassle. As for the latter, I did find that there are cactus-based tests in the source code that Sun released, and there are some classes for making JSF testing easier, but the tests they have of their own code are surprisingly thin, and there doesn't appear to be an easy way to just grab a jar or two and start doing your own container tests. The Gamma/Beck book Contributing to Eclipse shows examples of writing UI unit tests that would be hugely useful.

  • Test Driven Development...

    Hi,
    I'd like to hear some pro's and con's about this Test Driven
    Development methodology. Have anyone of you in this forum been
    using this technique for your unit tesing? If so, please share the
    experiences.
    http://www.fusionauthority.com/Techniques/Article.cfm/ArticleID:4560
    Thanks in advance!

    Well doing iterative development is a good thing in general.
    There's no way the customer is ever going to determine all the
    things they want up front... so I've found keeping projects broken
    down into as smallest phases as possible makes it easier to predict
    target dates, and then at the same time you code a bit... test,
    catch technical issues as well as functionality/workflow... so by
    the end of development the end user/customer has what they want,
    and your code is fort knox tested.

  • Test Driven Development (TDD)

    Dear ABAPers,
    I hope some of you may have also ventured into this area of Test Driven Development. I have just started looking into this new and exciting way of development. My understanding after having gone through the available blogs and some reading material on TDD, is that, we have to religiously embrace Object Oriented programing to actually benefit from TDD methodology. That raised a big question in my mind, how do we implement this technique when we are coding in the user exits like MV45AFZZ, which is mostly classical ABAP programming?
    Please help me understand the TDD a bit more than I currently do.
    Thanks much,
    SMA.
    I tried placing this query in different forums on SDN and I am curiously awaiting for some ideas on this topic.
    (will reward any helpful replies/suggestions)

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1089283c-133d-2a10-f6b4-f3fd58265fb8
    http://www.webopedia.com/TERM/T/test_driven_development.html
    http://www.testdriven.com/modules/news/article.php?storyid=605
    http://blogs.ittoolbox.com/visualbasic/operating/archives/test-driven-development-life-and-beyond-4672
    http://www.testingreflections.com/taxonomy/page/or/53?from=56
    http://blogs.ittoolbox.com/visualbasic/operating/archives/test-driven-development-top-10-questions-5084
    Regards.

  • ABAP UNIT - Test Driven Development

    Dear ABAPers,
    I hope some of you may have also ventured into this area of Test Driven Development.  I have just started looking into this new and exciting way of development.  My understanding after having gone through the available blogs and some reading material on TDD, is that, we have to religiously embrace Object Oriented programing to actually benefit from TDD methodology.  That raised a big question in my mind, how do we implement this technique when we are coding in the user exits like MV45AFZZ, which is mostly classical ABAP programming?
    Please help me understand the TDD a bit more than I currently do.
    Thanks much,
    SMA.
    <- removed by moderator ->
    Edited by: Neil Gardiner on Sep 29, 2010 10:38 AM

    As Dirk already mentioned TDD is writing test before writing productive code. This approach is not limited to OO practices or unit tests.
    E.g. writing an eCatt script in advance that passes as soon the scenario is working, adheres to TDD practices also..
    Vice versa if one practices unit testing and oo patterns it is no TDD if the tests are written after the productive code.
    Regards
      Klaus

  • Where would someone turn if they think they may be interested in apple/mac software development for systems and applications?

    Where would someone turn if they think they may be interested in apple/mac software development for systems and applications? I do have some experience with industrial machine control programming. Not that it directly applies, however I have been involved in some types of programming.

    You might start by reading this: http://www.guardian.co.uk/technology/gamesblog/2009/feb/10/gameculture-apple
    I would check out the refurbished section of the online Apple Store before buying a used one from Craislist. They go quickly so you have to check often. It will be more than sufficent for you to work with.
    There are more than a few such books, go to a book store near you and browse them yourself to see which one works for you.
    For items 3 and 4 wait until you are ready for a commercial app and then seek help from a lawyer and an accountant.

  • Test -Driven Development with the help of Open Script

    Hi Folks,
    I work on a web application that is based on java and other framework, which is more of an extension of java again.
    In order to have my test scripts code to be more aligned with developers' code, I want to import the jar file for source code into Open script and then develop test scripts and give those test scripts back to developers to run them on JUnit environment before they check in the code to source control. This way, I want to ensure that if any test scripts because of any bugs or regressions.
    And also I want to enable the build team to run these test scripts during build time as part of sanity. This would reduce our testing time a lot.
    What are your ideas and please provide your insights.
    Edited by: OATS Explorer on Mar 16, 2012 12:09 AM

    You need to to javascript and ajax. Generic example below but you'll have to figure out the specifics based on what you are doing.
    Checkbox:
    onclick=do_my_stuff(this);Javascript:
    function do_my_stuff(pObj)
      var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=DO_STUFF',0);
      get.addParam('x01',pObj.value);
      ret = get.get();
      get=null;
    }PL/SQL application process, on-demand, named DO_STUFF:
    BEGIN
      do_stuff(apex_application.g_x01);
      commit; -- it's up to you if you need to commit or not if do_stuff is performing DML.
    END;Edited by: gti_matt on Jan 11, 2012 1:01 PM

  • Developing for a Oracle Application Server with SSO

    Hello there,
    I'm developing an application (Java) that will be deployed as a partner application within an Oracle Application Server 10g at my client. This Oracle instance has a SSO already configured, and my app will use this Identity Manager (consuming the cookie). The problem is that at my company we don't have a SSO system configured, not even an Oracle Application Server, just a simple Oracle XE 10g to hold data. So I'm wondering how can I do to develop my application and test it.
    I was looking forward to install an OAS and configure an SSO to validate my implementation, but the download link provided by Oracle is broken (http://www.oracle.com/technology/products/ias/index.html). Another alternative that I thought of was to install an OC4J and configure a Java SSO to simulate the behavior of OSSO, and make my app the cookie set by it. But OC4J supports only til Servlet 2.4 and my app is using 2.5...
    And to complete, I cannot access my client's environment. I'm supposed to write a Deploying document telling him how to deploy my app and then try to access it through Internet.
    Does anyone have an idea of how can I develop and test my app in my company's environment?
    Thanks in advance,
    Bruno Krebs.

    Apache 2.0 based OHS is located in Oracle Application Server Companion CD.
    Pavna

  • ADF + TDD (Test Driven Development)

    Hi,
    I'm learning TDD and I'll really appreciate to apply this technique to my Oracle ADF developments.
    With JUnit integration I can easily test my ADF BC and my beans but I now want to develop functional tests.
    So I want to test my JSF pages, redirections and so on.
    I found HtmlUnit, do you know if it's working well with ADF?
    Has you already developed with ADF using the TDD way? What did you learn from your experience?
    Thanks in advance for your help.

    You can integrate HTTP Unit into JDeveloper see this for example:
    http://blogs.oracle.com/shay/2007/08/09
    But also note that there are JSF specific testing frameworks out there that you can try out:
    http://www.infoq.com/news/2007/12/jsf-testing-tools

  • Test Driven Development in Pl/Sql

    Hi All,
    TDD is wonderful method of development of application.
    I saw TDD in Java world with My Eclipse IDE, this approache is possible in Pl/Sql world.
    I need to do the POC on it and want to implement in our project.
    If anybody implemented in there projects please share the information.
    Saw some link on google.
    1. There is UTSql package created by Steven.
    2. There is soln given by TOAD.
    Thanks
    Sandeep

    As the saying goes, you can lead a horse to water but you cannot make it drink.
    This is a principle I've found in many development teams. Especially "established" ones that have been working together for at least a year or so.
    To suddenly introduce new practices and new standards... does not work. The bigger/more drastic or different the change, the more painful it is to implement properly.
    So if the developers in the team are not committed to a TDD approach (in PL/SQL or whatever language used), and it is something new and different as far as the practices of that team goes... you may well ask yourself whether it is worth trying to enforce it. I've personally seen a whole dev team (and one of the better ones I've worked with) all resign in a period of 12 months due to being forced down a software development environment and cycle they simply did not accept.
    So whatever approach you choose, you need to make sure that you have the full and complete buy-in of every single developer on that team, and the commitment to follow that approach. At the same time, you need to make the transition for them as painless as possible, and provide the checks and reviews to make sure that this approach is consistently followed until it becomes the SOP for the team members.
    And no amount of fancy TOAD or this or that framework, will address this human accept and make TDD work.

  • ECM Backend-Test Transaction or how to test column FM for MSS

    Hi there,
    I need some help on testing customer development for the ECM Planning scenario on the Portal (MSS).
    I have added a new column with a customer developed Function Module. (Copied from HR_ECM_UI_DISP_NEW_SALARY standard Function Module).
    Question: How can I test this Function Module in the backend?
    Isn't there a backend transaction that simlulates the frontend? So that I can test and debug the new columns?
    Thanks for your help in advance!
    Regards
      Bianca

    I don't think there is a way to test ECM directly in the backend. You will have to use the external breakpoints & initiate the debugger via MSS.
    ~Suresh

  • Now on LINUX too: LabHSM, the toolkit for agile and complex event-driven development

    We are happy to announce that, thanks to the efforts of Mr. German Schumacher, LabHSM is now available to the Linux users too. If you are a LabVIEW for Linux user, please feel free to download LabHSM from the respective page of our site: http://labhsm.com/download.htm
    About LabHSM: LabHSM is a professionally designed toolkit that allows creating complex event-driven LabVIEW application as an easily maintainable collection of asynchronously communicating active objects ( actors ) based on a universal Hierarchical State Machine ( HSM or statechart ) template. The LabHSM toolkit enables the programmer to work on a higher level of abstraction and utilize agile software development methodologies combining design and coding in one highly flexible process.
    Stanislav Rumega
    NI Certified LabVIEW Developer
    H View Labs

    Symtx is currently hiring the following position. Please contact me if interested.
    Amy Cable
    Symtx, HR
    [email protected]
    Symtx, the leading supplier of functional test equipment, hires the brightest & most talented engineering professionals to design & manufacture complex custom electronic systems for advanced technology leaders in the defense, aerospace, communications, medical, transportation & semiconductor industries. Symtx’ challenging & dynamic work environment seeks to fill openings with highly qualified electronic engineering design professionals.The ideal candidate will be responsible for defining the requirements, software design and code development, and integration of test control software for custom functional test systems. Candidate should be familiar with data acquisition concepts, instrument control, complex test, measurement and calibration algorithm development and definition and implementation of control interfaces to hardware. Prefer familiarity with instrument control via GPIB, VXI, MXI, RS-232 desirable. Requires BS/MSEE and 3 -7+ yrs of experience in one or several of the following test applications in a Windows NT/2000/XP environment using Labwindows CVI, TestStand, Labview, Visual Basic, C++ and knowledge of RF systems is a plus. Job responsibilities will include software design, development, integration, team leadership, and interfacing with customers( includes PDR’s & CDR’s).

  • Version 1.1.1 of LabHSM Toolkit for Complex Event-Driven Development in LabVIEW – Small Corrections and Huge Changes in Licensing.

    A new version of the unique toolkit is now available for download. As announced earlier, LabHSM makes it possible to easily create and then maintain complex event-driven applications in LabVIEW as a collection of HSM-driven active object VIs using a higher level of abstraction and agile software development methodologies. These active object VIs are created based on a universal Hierarchical State Machine ( HSM or statechart ) template. Therefore, all your code looks similar regardless of its functionality!
    So, what’s new in version 1.1.1?
    The code (made in LabVIEW 7.0 for Windows) now comes complete with block diagrams (password protected).
    Simpler debugging code in the full template.
    Extra menu items in the editor to open VIs as well as HSM files - nice to have when the LabHSM editor is the only VI open.
    Copying of default actions is now implemented correctly.
    No more run-time licenses! Just buy a developer's license once and distribute as many applications as you like!
    The "Demo_" prefix is no longer required for VIs created in the trial version.
    No more nag messages while running your HSMs!
    As before, the LabHSM toolkit is available for UNLIMITED PERIOD trial. Please visit http://www.labhsm.com for details and download. The site also contains references which you may want to check to learn more about hierarchical state machines and active object computing.
    Stanislav Rumega
    NI Certified LabVIEW Architect
    H View Labs

    Symtx is currently hiring the following position. Please contact me if interested.
    Amy Cable
    Symtx, HR
    [email protected]
    Symtx, the leading supplier of functional test equipment, hires the brightest & most talented engineering professionals to design & manufacture complex custom electronic systems for advanced technology leaders in the defense, aerospace, communications, medical, transportation & semiconductor industries. Symtx’ challenging & dynamic work environment seeks to fill openings with highly qualified electronic engineering design professionals.The ideal candidate will be responsible for defining the requirements, software design and code development, and integration of test control software for custom functional test systems. Candidate should be familiar with data acquisition concepts, instrument control, complex test, measurement and calibration algorithm development and definition and implementation of control interfaces to hardware. Prefer familiarity with instrument control via GPIB, VXI, MXI, RS-232 desirable. Requires BS/MSEE and 3 -7+ yrs of experience in one or several of the following test applications in a Windows NT/2000/XP environment using Labwindows CVI, TestStand, Labview, Visual Basic, C++ and knowledge of RF systems is a plus. Job responsibilities will include software design, development, integration, team leadership, and interfacing with customers( includes PDR’s & CDR’s).

  • Missing IMethodRule in Test Driven Application

    Hi All,
                  I am working on a test driven application in Flash Builder 4. I am getting 1046: Type was not found or was not a compile-time constant: [org.flexunit.rules]::IMethodRule. error when I compile the application.
    I am using :
    Flash Builder 4 Premium Eclipse Plugin
    Latest Flex SDK 4.5.1.21328
    Please suggest if I am doing anything wrong.

    As the saying goes, you can lead a horse to water but you cannot make it drink.
    This is a principle I've found in many development teams. Especially "established" ones that have been working together for at least a year or so.
    To suddenly introduce new practices and new standards... does not work. The bigger/more drastic or different the change, the more painful it is to implement properly.
    So if the developers in the team are not committed to a TDD approach (in PL/SQL or whatever language used), and it is something new and different as far as the practices of that team goes... you may well ask yourself whether it is worth trying to enforce it. I've personally seen a whole dev team (and one of the better ones I've worked with) all resign in a period of 12 months due to being forced down a software development environment and cycle they simply did not accept.
    So whatever approach you choose, you need to make sure that you have the full and complete buy-in of every single developer on that team, and the commitment to follow that approach. At the same time, you need to make the transition for them as painless as possible, and provide the checks and reviews to make sure that this approach is consistently followed until it becomes the SOP for the team members.
    And no amount of fancy TOAD or this or that framework, will address this human accept and make TDD work.

Maybe you are looking for

  • Incessant fan operation since 10.5.6 update

    Since applying the 10.5.6 update to my PowerBook G4, the cooling fan runs non-stop, sometimes at seemingly top speed. Tried PRAM reset, no change. Ideas, please anyone. Thanks.

  • Integrating Offline adobe form in Portal

    Hi All, I created offline adobe form using SFP tcode. This form needs to be integrated in Portal. When user logs in, he/she should be able to open this form. Can offline adobe form can be integrate to portal directly? or do we need to create the Webd

  • Apple only on screen?

    I was charging my phone thru my computer now all i see is the apple on screen>

  • Interactive quicktime failure by keynote

    i am using keynotes 2.0 with quicktime pro. i am thinking to creating a quicktime movie, which can be clickable in last frame linked to a webage. i tried adding HREFtrack in quicktime pro but it fails. so i import the movie to keynotes and try to exp

  • Display fetched value as heading

    Hi Experts, Please advice if it is possible to display the fetched value as heading in ALV. Suppose If in dbtab: OBJECT           OBJECT DESCRIPTION            CLASS           VALUE OBJ 1             MACHINE 1                       A               20