Organization code of unit tests

How people organize the code for unit tests with regard to the application code?  First I tried to have a separate project for testing, but even with saw this project depend on the application project, the test code could not find application classes to test.  Based on an article I read, it seems that it is because the classes are in a swf file and not a CFC.

I then put the test in the same project as the application that seems to work.  But I get this warning that I don't know how to get rid of:

Slam is a module or application that is referenced directly. This will Slam and all of its dependencies associated with tests: FlexUnitApplication. With the help of an interface is the preferred method to avoid this problem.
Where the Slam is the application I'm testing.  I don't want an interface; tests should test the actual code.  I have the direct reference.  At least I understand what the warning is trying to tell me.
Someone knows how to make warning go away?

It's as if the files in a folder that are not watched. That makes no sense.

It is a very precise when statement you * link * a folder or file in Eclipse (for example. FlashBuilder).  In Eclipse, you can as you already know, link records in his workspace.  A good reason for this, is to give the developer the ability to open the files related to Eclipse.  And if all goes well then Eclipse was an editor for this file type.  For example, at work, all my Flex projects are in my Eclipse workspace (this is).  But, assets and dependencies of my project files (.xml, .fla, .swf, .swc, .f4v, Flash asset files, .as, etc) are in any other directory on my file system.  By linking these files, I am able to open through Eclipse, usually it's just .xml files.  If you are debugging your Flex application and load an external .swf file, with its src folder, you can also Set up break points for the debugger.

But what connection does not import the code in your application Flex (test) when it is compiled.  What you need to do to import code in the Flex application for compilation is next (I'm Recalling the following steps of memory, so I hope that its okay):

  • in Eclipse, select your project in the Panel "Project Navigator" (usually the Panel on the left)
  • Right-click on the project to bring up a context menu
  • in this context menu, select the 'Properties' item to bring up a pop-up window
  • in this pop-up window, select "Flex Build Path"
  • the right side of the pop-up window will be updated, select the "Source Path" tab

This is where you can add your applications code src of your test project.  And also, the other "Library Path" tab, you can add a .swc everywhere your computer file can access the .swc files.  So, by adding the CBC to your application code to the test in this way project, you can compile these files referenced in the tester.

Tags: Flex

Similar Questions

  • How calculated the code coverage in unit test infrastructure

    I'm looking for documentation on how the unit test framework calculates code coverage.

    I just recently installed the unit test framework and I had mixed results with the code coverage feature.  I manually calculated all the branch points in my vi, but the framework calculates more that I can think of, which gives a value of code coverage less than stellar (51%).  Is there documentation for how it is calculated?  I'm either missing something fundamental, or there is a bug with the framework.

    My vi consists of a loop (with shift registers) uninitialized which runs once.  On the inside of the loop is a business T/F structure that leads to a listed case structure possible two cases (one of which is the default value)... pretty basic.  Inside one of the structures is a loop and the other is cross.  For some reason, the unit test framework calculates 7 "flags chart run.  I use the method of "external" test harness to call all my test cases for the vi under test, b/c frankly it was easier to use than the UI provided.  I don't know if this is the cause, b/c I saw the other oddities when using it, which I'll save for another thread of discussion.

    Code coverage is calculated by dividing the number of diagrams, code that was executed by the number of diagrams in your VI altogether. Each VI has at least 1 schema (schema-block real). Loops have a single diagram each, case structures and sequences have a single diagram by image and so forth (=> from your description, your VI has at least 7 diagrams). You can double-click the patterns that were not executed in the Unit Test Framework results dialog box to be displayed.

    This approach does not reflect the amount or complexity of the code that contains each diagram. We looked at various ways of counting nodes, terminals, controls, son and other, that would give you a number that reflects your code with more precision. Unfortunately, neither of these approaches gives values that can easily be understood without some knowledge about the inner workings of LabVIEW. We chose to go with a solution that is completely transparent to end users.

    Thank you

    Herbert

  • Unit Test using persistence bad unit code

    In the middle of learning Maven, I created a simple application in which I use JPA (Java Persistence 1.0.2) with EclipseLink implementation (2.0.2).

    Note: This is a managed Application environment. So I manually order the EntityManager lifecycle.

    The persistence.xml file used by the main source code is different from one that uses the unit test code. Main code uses an Oracle DB and test code uses a Derby in memory.
    Running the unit tests has been updated the Oracle DB (!) and I eventually managed to fix this in the XML files using two units of persistence.

    However, I do not understand why that corrects the problem. I manually create and arrest those responsible for the entity, and they do not work at the same time. I'm sure that Maven (or how I've implemented) is not waste resources (XML files). In fact, looking at Maven debug output, I can see that it uses the XML file for the unit tests.

    Could someone enlighten me please?

    You have two persistence.xml files on your classpath? If so and they contain the same name for their respective persistence units, you should receive a warning or error as they must have unique names. There is no way of knowing which you want to access otherwise.

    Best regards
    Chris

  • Unit test Sample Code does not Compile

    There is a nice documentation on how to write unit tests here:

    https://developer.BlackBerry.com/native/documentation/Cascades/dev/tools/debugging.html#pat138936044...

    I updated my .pro file and created the recommended .cpp and all the file, but I get a compilation error:

    .. / SRC/cascadestester. HPP:48:5: error: 'TestObject' was not declared in this scope
    .. / SRC/cascadestester. HPP:48:16: error: expected ';' before 'tc '.
    .. / SRC/cascadestester. HPP:49:28: error: 'tc' was not declared in this scope

    Oops. The slashes return strange looking that I removed the file all were part of the macro definition. I guess I've never seen Multi-line macros before

  • Unit Test Framework: Inline Subvi test coverage

    Hello

    does anyone know if the Unit Test Framework considers inline subVIs recursively during the measurement of coverage?

    Consider following the example:

    f(a:int) {}

    g() ;

    }

    g() {}

    If (false) - return 1;

    else return 0;

    }

    Obviously, there is no test for g() with coverage of 100% (branch), and any trial for f() reaches 100%.

    My question is: given a test for f(), UTF gives a different cover if I set to be (Inline g()<100%) or="" not="">

    Thank you

    Peter

    Peter,

    No, the Subvi cannot be analysed for coverage of the code if the value inline.

    Fact is, that this feature requires the option 'Allow debugging' must be disabled (Yes, I hate double-negation!), but if it is not allowed to debug, the code coverage will result in 0%.

    See Help:

    "You have to allow debugging for each VI under test to measure the code coverage. If VI a VI under test properties have not checked the checkbox allow debugging , the result of code coverage will always be zero. »

    Norbert

  • Distribution of the source - unit test dependency problem

    Hello

    I developed and API and I want to make the distribution of the sources, however my faulty build (error message is below) due to the error of reclassification of the Unit Test framework that I use to test my code. All Unit Tests are in the same folder, called "UnitTests", which is a part of a class. If I delete the UnitTests from the class folder, source distribution is created as expected. I try to put the folder always excluded UnitTests, but it does not help.

    I use LV 2012.

    Any ideas what I am doing wrong?

    Thank you

    Andrej

    Error message:

    LabVIEW does not find a file that is a dependency of a startup, exported or always included VI.

    File not found: the file "C:\Program Files (x 86) \National 2012\vi.lib\utf\dialogs\utf_defocus_trees.vi" must have the qualified name of "NI_UnitTestFramework.lvlib:utf_defocus_trees.vi", but it has the qualified name of "utf_defocus_trees.vi".

    The missing file can be referenced by one of the libraries included in the compilation or the file - CircularBuffer.lvlib. To resolve this problem:

    -Open all the startups, exported or always included live, recompile them (CTRL-SHIFT click the Run arrow) and keep them to update their dependencies.
    -Open libraries included in the building and check the existence and the location of the referenced files. Also, try building with the option of additional exclusion, 'Delete unused library of the project members', verified.

    Is attached to a fixed version of utf_defocus_trees.vi.  Place it in your \LabVIEW 2012\vi.lib\utf\dialogs directory .

    In addition, you might want to load/save utf_test_properties_sub.vi to get rid of the dirty dot.  This VI is located in the: \LabVIEW 2012\resource\framework\providers\utf.

  • Unit test failing in DAC

    Hi all

    Can help me please the slot issue I am facing DAC.

    I followed the below 2 items to run the full & incremental loading implementation in the DAC and Informatica.

    https://obibb.WordPress.com/2014/03/10/Oracle-BIA-making-the-full-incremental-load-work/

    https://bistop.WordPress.com/2013/03/22/getting-started-with-DAC-11g/

    I am getting the error when I click on the button of unit test in DAC below:

    FAULT INFO: Error executing: INFORMATICA TASK: DAC mapping: EMP:1: (Source: COMPLETE target: FULL)

    Message:

    Fatal error

    Application to start the workflow: 'EMP with the instance name EMP' terminated with error code 4

    Error message: user error. You spent pmcmd wrong settings.

    Opportunity to order: pmcmd startworkflow sv - integration Domain_SivaKoneru-PC - u Administrator Pei * f DAC Mapping d - paramfile C:\DAC11g\dac\Informatica\parameters\DAC Mapping.EMP.HR.txt EMP

    Workflow message:

    Thanks adavance

    Siva Koneru

    Not sure but maybe the problem is that your map name contains a space in there? I would try to rename "Mapping of DAC" in "DAC_Mapping".

  • Unit testing: why white spaces are added to the PL/SQL lines on each edition?

    Dear team of SQL Developer,

    Are you aware of this very annoying problem of the unit test is running: a space is added to each line of PL/SQL code with each unit test that is run?

    The length of each line of code continues to grow with each race...

    I wonder why is it and you have an existing reference to bug for this... Please let me know...

    Thank you

    Val

    Thank you, Gary!

    The bug was just connected:

    BUG 20061594 - UNIT TESTS: the UNWANTED SPACE CHARACTERS ADDED to THE SQL CODE

    I've updated the SR that white spaces are added after each change, and that it can be easily mistaken for each run (we open the editor for see/check, or simply to do an update before a new race), but the bug has already been created with a description of the problem of evil:

    "...

    Description of the problem

    ===================

    Spaces are added after each line of SQL in the Unit Test after each race. »

    Sorry about that... I hope that the bug will be updated with correct description before you guys accept it as a bug:

    "...

    Description of the problem

    ===================

    Spaces are added after each line of SQL in the Unit Test after each change. »

    Thanks again,

    Val

  • Unit test: calculation of the length of the different columns in recordsets provided and received led to false a test failure

    Dear team of SQL Developer,

    It seems that the calculation of the length of the column in the expected and received recordsets behaves differently in some cases (when stored proc variables are used in the generation of the REF CURSOR, despite the explicit definition of the type of record): the length of the header and the length of the value in the set of records received are truncated to arbitrary length based on the returned value which leads to a false failure of a unit test. I.e. registries are the same in both sets of records, but the test run fails to the comparison of the recordsets because of different length. Please see the screenshot below:

    Expected_and_Received_RecordSets.jpg

    Here's the test case if you need to reproduce the problem/bug in your environment:

    1. use the default schema of HR of the Oracle examples package that comes with an 11 g database.

    2. change the HR. Table EMPLOYEES with the addition of a new column VARCHAR2 (4000) LONG_LAST_NAME:

    ALTER TABLE HR. EMPLOYEES

    ADD (LONG_LAST_NAME VARCHAR2 (4000));

    Update hr.employees set long_last_name = last_name;

    commit;

    3. create a PKG_TEST2 package with the source code below in the HR schema:

    ----------------------------------------------------------------------------------------------------------------------

    create or replace PACKAGE PKG_TEST2 AS

    TYPE EmployeeInfoRec IS RECORD

    (

    long_last_name employees.long_last_name%TYPE,

    first name employees.first_name%TYPE,

    E-mail employees.email%TYPE

    );

    TYPE EmployeeInfoRecCur IS REF CURSOR RETURN EmployeeInfoRec;

    FUNCTION getEmployeeInfo (p_Emp_Id employees.employee_id%TYPE)

    RETURN EmployeeInfoRecCur;

    END PKG_TEST2;

    ----------------------------------------------------------------------------------------------------------------------

    CREATE OR REPLACE PACKAGE BODY PKG_TEST2 AS

    FUNCTION getEmployeeInfo (p_Emp_Id employees.employee_id%TYPE)

    RETURN EmployeeInfoRecCur AS

    v_EmployeeInfoRecCur EmployeeInfoRecCur;

    v_LongLastName varchar2 (4000);

    BEGIN

    Select long_last_name from v_LongLastName

    employees

    where employee_id = p_Emp_Id;

    --

    OPEN FOR V_EmployeeInfoRecCur

    V_LongLastName SELECT long_last_name,

    first name,

    E-mail

    This_is_very_long_table_alias employees

    WHERE employee_id = p_Emp_Id

    order by 1 CSA;

    --

    RETURN v_EmployeeInfoRecCur;

    EXCEPTION

    WHILE OTHERS THEN

    LIFT;

    END getEmployeeInfo;

    END PKG_TEST2;


    ----------------------------------------------------------------------------------------------------------------------

    4. create a unit test for the PKG_TEST2.getEmployeeInfo stored procedure: (click the command create Test, select the stored procedure, click Ok for the pop-up message, click Next, click Finish).

    5. update the default value of dynamic query of value with the one below and save/post changes.

    Select the cursor)

    SELECT long_last_name,

    first name,

    E-mail

    Employees

    WHERE employee_id = idqry.employee_id

    order of the 1 CAD

    ) RETURNS $,.

    idqry.employee_id as P_EMP_ID

    from (select employee_id

    employees

    where rownum < = 5) idqry

    6. run the unit test newly created in the debug mode to display the shot.

    Thus, the record type 'EmployeeInfoRec' in the package clearly defines the LONG_LAST_NAME as VARCHAR2 (4000) through reference for the data type of column in the referenced table.

    But for some reason, the SQL Developer does not calculate correctly its length in the recordset "Receipts" If a variable is used (could be one as variable simple varchar2 in this reproducible test or complex variable of type of the object).

    Any ideas on that? Looks like another bug...

    Thank you

    Val

    The bug has been reproduced by the SRB and documented within the system of Support of Oracle SQL Developer team to pick it up:

    Bug 19943948 - TEST UNIT RETURNS EXPECTED ERROR: [LONG_LAST_NAME

    Hope the bug name can later be changed to something more descriptive, but it is not really... my only concern is the speed at which the known bugs would be fixed...

    Thank you

    Val

  • Problem with Unit Test

    What I am doing wrong?

    I created a small example of how to test the functionality of substitution of variables within the unit test framework.

    Documentation: SQL Developer: unit tests

    create or replace procedure SimpleTestProcedure (param1 in varchar2) as

    Start

    null;

    end SimpleTestProcedure;

    /

    Test configuration with the following configuration:

    Input value: Test

    Process: Boolean function

    declare

    Param varchar2 (4 char);

    Start

    param: =: param1;

    If "{param1}"! = param then

    Returns false;

    end if;

    end;

    UnitTestScreenshot.png

    Is found in the following message is displayed after the test run:

    UnitTestMessageScreenshot.png

    I use SQL Developer Version 4.0.3.16.

    Any help would be appreciated!

    Kind regards.

    Hi Flofe,

    It looks like the Boolean function as a validation of process takes no parameters that a function pl/sql 'generic' put... it's probably called "function" only because it returns a value, as does any function. But you can use substitutions of setting the parameters for the stored procedure that you are testing, which you are already doing.

    So, try to change your code to:

    declare

    Param varchar2 (8);

    Start

    param: = "{param1}";

    If "{param1}"! = param then

    Returns false;

    on the other

    Returns true;

    end if;

    end;

    And it should work for try you the little test...

    I hope this helps...

    Val

  • Is there a real BENEFIT in SQL * Developer Automated Unit Testing?

    I'm trying to understand the unit test in SQL * Developer. Asked me to evaluate it as a method of test automation on an integration solution that we develop.

    (1) my 'A' schema has this table:

    SQL > DESC EMP

    Name                                      Null?    Type

    ----------------------------------------- -------- --------------------

    EMPID NOT NULL NUMBER

    EMPNAME VARCHAR2 (30)

    SALARY NUMBER (7.2)

    COMM_PCT NUMBER (2.2)

    Table (2). has these values:

    SQL > SELECT * from emps;

    EMPID EMPNAME SALARY COMM_PCT

    ---------- ---------- ---------- ----------

    1 ROHAN 10000.05

    2 JOHN 20000

    3 PETER.06

    4 SMITH

    (3.) I create this procedure in drive A:

    create or replace

    PROCEDURE award_bonus (NUMBER, sales_amt NUMBER p_empid)

    AS

    REAL Commission;

    comm_missing EXCEPTION;

    BEGIN

    SELECT comm_pct IN the commission OF EMP

    WHERE empid = p_empid;

    IF the commission IS NULL THEN

    RAISE comm_missing;

    ON THE OTHER

    PGE UPDATED

    SET salary = salary + sales_amt * commission

    WHERE empid = p_empid;

    END IF;

    END award_bonus;

    (4) now, I want to create a unit test in SQL Developer to test this procedure.

    (5) I created a user "unit_test_repos" according to the instructions in the tutorial.

    (6) ' SELECT OPERATION': I specifies the procedure of award_bonus.

    (7) ' SPECIFY the name of test': give a name and select "create with a single model.

    (8.) 'SPECIFY the STARTUP': Add a ' copy Table or the line "the startup process.

    -I give "EMP" as the source table.

    -And then I get this for the 'generated query.

    SELECT ROWID AS SRC$ ROWID, s.* FROM EMP s

    -Target table has "TMP$ AWARD_BONUS.

    (Q1) WHAT IS THE PURPOSE OF CREATING ANOTHER TABLE?

    (Q2) WHEN THE TEST IS DONE, ARE ROWS OF PGE copied into this table?

    (Q3) Why is this? Why can't the test simply read 'EMP '?

    (9) "PARAMETERS SPECIFY": I give "Input".

    -1 for P_EMPID

    -10000 for SALES_AMT

    -In "Expected result", I say "success."

    (Q4) So I should know in my mind the results of the proc, foregoing given entries?

    (10) ' SPECIFY VALIDATION': I add validation "poll rows of queries.

    -I paste the following query: SELECT count (*) FROM EMP WHERE empid = 1 AND salary = 10500

    -that is, I know that for an amount of 10000 sales, employee 1 will get a Commission of 10000*.05 = 500. For example, 10000 (its sal) + 500 = 10500.

    (Q5) The thought that the above is correct?

    (11) "TEARDOOWN SPECIFY": give nothing.

    (12) my unit test is created.

    (13.) I run now by clicking on the button of the beetle, to the left of the green arrow. Unit test is run.

    (14) now in my table a.emps, 1 salary has increased to 10 500, and the diag test case, I get the "execution results: SUCCEED.

    (15) now, I run the unit test again.

    (16.) salary 'EMP' table emp 1 is passed to 11000 (which is correct) and the so-called execution results "SUCCESS".

    (Q6)  My question is: the query I gave for validation, SELECT count (*) FROM EMP WHERE empid = 1 AND = 10500 salary, now gives 0. so, this means that no row is returned for this condition and so the test must FAIL. But how is SQL * Developer said that the test was SUCCESSFUL. How does this system of validation?

    (17.) I went through the tutorial, but I do not understand these concepts >

    (Q7) What is the purpose of disassembly? I undersand the option 'drop table' "disassembly", where you drop the temporary table, but I do not understand the others, 'Table or line restore' and 'code pl/sql user '?

    (Q8) WHAT IS the advantage of making the test like this? Can I use an Excel spreadsheet and make dozens of unit tests faster than this method?  It is easy to understand too. This method is complicated.

    Your answers and your advice would be greatly appreciated.

    The temporary table to hold the original values for EMP. After the test runs, you must configure the disassembly to reset the return values of the temporary for the next time table that the test works again, he has values of expected start.

  • Unit test: behavior another header in recordsets provided and received led to false a test failure

    Dear team of SQL Developer,

    It seems that the headers in the expected and received Recordset behaves differently: the headers of expression in the expected Recordset are truncated to 30 characters and the same expression in the set of records received headers are not truncated, which leads to a false failure of a unit test. That is that the records are the same in both sets of records, but the test run fails to comparison of sets of records due to the different headings. Please see the screenshot below:

    Expected_and_Received_Headers.jpg

    Here's the test case if you need to reproduce the problem/bug in your environment:

    1. use the default schema of HR of the Oracle examples package that comes with an 11 g database.

    2 create a PKG_TEST package with the source code below in the HR schema:

    ----------------------------------------------------------------------------------------------------------------------

    create or replace PACKAGE PKG_TEST AS

    TYPE EmployeeInfoRec IS RECORD

    (

    employees.last_name%type last_name,

    first name employees.first_name%TYPE,

    E-mail employees.email%TYPE

    );

    TYPE EmployeeInfoRecCur IS REF CURSOR RETURN EmployeeInfoRec;

    FUNCTION upperCaseLastName (p_Last_Name employees.last_name%TYPE)

    RETURN varchar2;

    FUNCTION getEmployeeInfo (p_Emp_Id employees.employee_id%TYPE)

    RETURN EmployeeInfoRecCur;

    END PKG_TEST;

    ----------------------------------------------------------------------------------------------------------------------

    CREATE OR REPLACE PACKAGE BODY PKG_TEST AS

    FUNCTION upperCaseLastName (p_Last_Name employees.last_name%TYPE)

    RETURN varchar2 AS

    BEGIN

    RETURN upper (p_Last_Name);

    END upperCaseLastName;

    FUNCTION getEmployeeInfo (p_Emp_Id employees.employee_id%TYPE)

    RETURN EmployeeInfoRecCur AS

    v_EmployeeInfoRecCur EmployeeInfoRecCur;

    BEGIN

    OPEN FOR V_EmployeeInfoRecCur

    SELECT upperCaseLastName (last_name),

    first name,

    E-mail

    This_is_very_long_table_alias employees

    WHERE employee_id = p_Emp_Id

    order by 1 CSA;

    --

    RETURN v_EmployeeInfoRecCur;

    EXCEPTION

    WHILE OTHERS THEN

    LIFT;

    END getEmployeeInfo;

    END PKG_TEST;

    ----------------------------------------------------------------------------------------------------------------------

    3. create a unit test for the PKG_TEST.getEmployeeInfo stored procedure: (click the command create test, select the stored procedure, click Ok for the pop-up message, click Finish).

    4. update the default value with the following dynamic query and save the changes.

    Select the cursor)

    SELECT pkg_test.upperCaseLastName (last_name),

    first name,

    E-mail

    This_is_very_long_table_alias employees

    WHERE employee_id = idqry.employee_id

    order of the 1 CAD

    ) RETURNS $,.

    idqry.employee_id as P_EMP_ID

    from (select employee_id

    employees

    where rownum < = 5) idqry

    5. run the unit test newly created in the debug mode to display the shot.

    The work around is to use an alias for the expression of long short, but our code is in Production, and we do not a new version whenever soon to add aliases... but we plan to use SQL Developer to automate our unit of PL/SQL code, tests once we clearly have some of the problems with the tool, we know...

    Please advise...

    Thank you

    Val

    Of course, Jeff... CS it logged as a bug... could be changed to apply for development later, I guess...

    BUG 19826375 - header BEHAVIOR IN the GAMES of RECORDS EXPECTED/RECEIVED LED to the ERROR

    Thank you

    Val

  • PL/SQL, used in application of the APEX of unit tests

    question by my client:

    I develop an Oracle Application Express application and work on unit tests for stored procedures in PL/SQL and the packages that are stored in the underlying database and used by the application of the APEX. These unit tests must run in the context of SQL Developer Unit Test.
    The problem is that the PL/SQL code stored in the database using functions such as NV('APPLICATION_ITEM') to access items in the application of the apex. They do return all values when I try to execute the PL/SQL within the unit test framework, that is to say in the backend. While it is good that the NV is not error, NULL haven't really work well in my scenario either (for example when the result of this function is inserted into a column NOT NULL in a table). I can think of a few workarounds, such as the creation of my own function NV within the schema to test return values desirable, but nothing seems a really satisfactory solution. I wonder if there is no recommendation to Oracle for this scenario - how can I run code that uses the APEX via backend-specific features. I found nothing in the documentation of the APEX for this but I would like to know if there is a recommendation how to better deal with this case.

    I use SQL Developer version 4.0.0.13.80

    Hello

    Indeed, you must set your PL/SQL function calls. This would be the cleanest solution.

    There is an alternative. Please see the following article on the creation of an APEX in PL/SQL session: Martin Giffy D'Souza on Oracle APEX: how to create a Session of the APEX in PL/SQL

    This approach allows to set the values of APEX application item before you run your unit tests. I don't know if it's possible in SQL Developer Unit Test, but it might get you further down the road.

    Good luck

    Nick

  • How can manage us versioning of unit tests in the Test Oracle Manager

    Hello

    Usually, we have several versions of our product. How to manage versions of testcases in Oracle Test Manager (MTM) so that we can run a version-specific unit tests? Any ideas?

    Thank you

    Hello

    You can create a separate test group to organize unit tests by version. You can also choose the tests that will be run using the Scheduler. Or you can create a separate project to store your unit tests by app version/version. You can't store different versions of a script automated in a unit test in OTM.

    Concerning

    Rajesh

  • Unit testing and Version control tool

    Hi all

    We try to evaluate a PL/SQL developer tool that will have the following options.

    1. version Control (Control Version TFS or Subversion server)
    2. unit tests


    I see two options

    1 Developer SQL
    2 TOAD + Quest Code tester for Oracle

    Some you will suggest which option to go for and why?

    Also can we use JDeveloper or any other for this purpose?

    Please notify.

    Kind regards
    Hari

    It is somewhat a generic question.

    different tools have benefits different and different tools suit different companies and how projects that are managed or how the development is made etc..

    Some people may prefer to use these tools just for the development of the code, but for example use the CCS for source code management and version control, then develop their own unit test scripts, or have dedicated 3rd party tools in order to test the individual unit, business, test system etc. of test cases.

    Without knowing your company's configuration and requirements in detail, it would be difficult to say that one thing is better than the other in most cases.

Maybe you are looking for

  • Satellite A200 (PSAE3) how to restart an interruption of the connection without rebooting

    Hello, I just bought my computer toshiba laptop. I use a FRITZ. BOX for my wireless network.Sometimes I lose the connection one can not reconnect with the programm "connectivity without config doctor."Also sometimes the Red (antenna) is. The only way

  • hp3512: Ipad 2 doesn't HP3512 as an airprint printer.

    My HP3512 is connected as a wireless printer and works very well in my PC. It allows to print very well of my IPad and am not sure when it stopped working, but today the IPAD says that "no airprint printer can't find" the two ipad and the printer are

  • Share the music of iMac when he sleeps?

    I just got the home sharing on my iMac so I can access my iTunes library on my iPhone, the iPad and the Macbook Pro. 1. it's I think understand that to make this work, I simply activate the home sharing on other devices which are also saved in the sa

  • High temperature of the GPU on Satellite P100-108

    Hello Since 2 weeks ago I noticed that my GPU temperature goes up to 82 degrees. Everything to the left of the laptop gets hot after a few hours.I remember that a fan used to put on when obtained temperatures high, but lately I don't hear it. HARD dr

  • Color laserjet 4500 stripes CMYK

    Hello, last week, I have an old printer to my friend HP color laserjet 4500 (older printer...).He works "very well", but on each page, there are two bands CMYK. There is always in a different position on the page, but at the same distance from the ot