Unit Tester: Manually Deleting Old Unit Test Results

Oracle, as you know, there isn't currently a way to delete the results of previous unit test runs.
Well, those previous test runs are giving us a very annoying slow response times in the Unit Tester GUI with some of our tests, because of the amount of time the interface is taking to load the results of previous tests.
For example, one of our unit tests in particular took the interface 1 minute, 12 seconds to simply "bring up", even though we weren't on the Results tab. As time goes on (as a unit test has been run more and more), the interface goes slower and slower with that unit, because of the increasing number of unit test results.
I know you're working on a long-term solution, but to assist us with working with these kind of tests now, can Oracle please provide us with the SQL statements necessary to delete all of a given unit test's test results from the unit tester repository, please? It would make my programmers so much less annoyed with working with these particular unit tests and the Unit Tester, in general.
I'm guessing that if I go spelunking through the Unit Tester's repository tables, I could probably figure it out, but I'm looking for the "Oracle-sanctioned" way, I guess.
Thanks.

Hi,
here are the necessary commands to delete your tables:
Make a backup of your tables(!)
create table t_ut_test_impl_results as select * from ut_test_impl_results ;
create table t_ut_test_impl_val_results as select * from ut_test_impl_val_results ;
create table t_ut_test_results as select * from ut_test_results ;
create table t_ut_suite_results as select * from ut_suite_results ;
create table t_ut_suite_test_results as select * from ut_suite_test_results ;
-- delete data from tests
delete from ut_test_impl_val_results ;
delete from ut_test_impl_results ;
delete from ut_test_results ;
-- delete suite results
delete from ut_suite_test_results ;
delete from ut_suite_results ;
This scripts are not Oracle sanctioned.
Use them on your on risk
HTH
Oliver

Similar Messages

  • Manual delete old files before package installation?

    This is more a general or best practice question.
    I installed a python program (gnoduino) manually some time ago using:
    python setup.py build install
    I found out that this program is available via AUR and it would be comfortable to use the AUR version.
    So what should I do now. Manually delete everything that the python installer installed, with hope not to forget anything. And after that install via AUR?
    Or leave it installed and start the install process via AUR and "overwrite" the old files?
    In the first case: How do I delete everything?
    whereis gnoduino
    gnoduino: /usr/bin/gnoduino /usr/share/gnoduino /usr/share/man/man1/gnoduino.1
    And I know that the python files reside in "/usr/lib/python2.7/site-packages/gnoduino".
    Delete these files and I'm fine?

    Best practice would be to rebuild that package and uninstall, or use the built but not installed copy to locate and remove the files.
    Bad practice and also my method would be to install with the -f flag and overwrite it.
    However this could lead to breakage and more work if it goes wrong.
    [NEO]Where we go from there is a choice I leave to you. [/NEO]

  • Manually deleting old backups in TM

    So, in a rush to create some Portable HD space I deleted some of my earlier Time Machine backups - manually. That got me thinking - am I fully backed up any longer?
    I was under the impression that the FIRST backup was the most important (you always remember your first) then the subsequent backups just added the difference that you'd put in!
    Shall I delete them all and start backing up from fresh?
    Any help would be much appreciated

    alextravellion wrote:
    So, in a rush to create some Portable HD space I deleted some of my earlier Time Machine backups - manually. That got me thinking - am I fully backed up any longer?
    I was under the impression that the FIRST backup was the most important (you always remember your first) then the subsequent backups just added the difference that you'd put in!
    No, Time Machine is not like most traditional Full/Incremental backup systems. It's "magic" is that after the first full backup, it performs incremental backups, but each one is, in effect, a full one. Seems bizarre, but it's true. See [How Time Machine works its Magic|http://web.me.com/pondini/Time_Machine/Works.html].
    Shall I delete them all and start backing up from fresh?
    No. But there are two considerations here:
    You've obviously got other things on the same drive, in the same partition, as your backups. That's not a good idea. See #3 in [Time Machine - Frequently Asked Questions|http://web.me.com/pondini/Time_Machine/FAQ.html] (or use the link in *User Tips* at the top of this forum).
    If you deleted the backups via the Finder or Terminal, that's not a good idea, either, and can damage them. Repair them, per #A5 in [Time Machine - Troubleshooting|http://web.me.com/pondini/Time_Machine/Troubleshooting.html] (or use the link in *User Tips* at the top of this forum).
    If you want to delete selected backups, or all backups of a selected item, you can do it via Time Machine. See #12 in the FAQ.

  • Can I manually delete old Time Machine backups?

    I've got a 1TB ext. HD that has 950GB of TM backups on it from my Mac Pro. The Pro has to go in for repairs so I'm using my Macbook Pro. Can I (& HOW) remove some of the older backups from the drive to make room for things off the Macbook Pro?

    Of course. To do it, open Finder and choose the Time Machine drive in the Finder sidebar, under "Devices". Then, open the "Backups.backupdb" folder, open the folder with your MacBook Pro's name and delete the old backups. You can delete as many as you need.
    Then, you have to create a volume in the external drive, as you can't use the Time Machine volume to store other data or you might damage the Time Machine structure. See > http://pondini.org/OSX/DU3.html

  • Cannot delete old podcast episodes after updating to ios 8

    The usual way of manually deleting old podcast episodes, swiping right to left and then selecting the red delete button, appears to be no longer available. Do I need to fix something or is there a new way of doing this function?

    Have you tried swiping left to right?
    Try going to Settings>General>Usage>Podcasts  and select the the podcast you want to delete and tap edit in in upper left and delete the podcast.

  • Clear unit test results

    Hello,
    How can I delete or clear unit test results.
    I can't find any funcionality in SQL DEVELOPER.
    B>K

    Hi klenikk,
    You can do this in 3.0 in several ways:
    1. In the Unit Test navigator, right click a test and select "Purge Test Results".
    2. In the menu bar, select Tools/Purge Run Results to remove results for ALL tests.
    3. In the results tab of a test editor, right click a run node and select "Delete Result".
    I hope this helps.
    Philip Richens,
    SQL Developer Team.

  • Deleting Old/Test Logic Script

    Hello All,
    When you create a Script with the BPC WebAdmin, it creates both an LGF and an LGX. When I delete an old, unused, or test script from the BPC WebAdmin, it only deletes the LGF file. When I go into UJFS, I see all the old LGX files just sitting out there.
    Is there a way to clean these up, or have the system actually delete it when you delete an LGF automatically? Or is the only way to get rid of these to manually delete them from UJFS?
    It just seems odd that when you delete the script from the WebAdmin, it doesn't delete the whole thing, just the LGF.
    Thoughts?
    Alexander
    (CPMBPC 801 SP2 (equiv to 800 SP9)

    Normally I would agree with you, however we are running into issues with with them because some of them contain old members that may not exist anymore so when a validation occurs it kicks out these old members saying they are invalid. (We are in the process of upgrading from NW 10.0 SP9 to SP12 so it's checking the scripts and the old lgx's and kicking out errors)
    I'll just mark this answered for now since I manually deleted it, was just hoping that wasn't the only way.
    Thanks!

  • I want to write a program in LabView then pass the test results to teststand to check if it pass or fail without displaying the test stand program,

    I want to write a program in LabView and create an execute but I want to be able to pass test results to test stand to find it the unit pass ar fail the test then save the data to a database. How would i go about it.

    What's confusing is your statement that you want to do this "without display the test stand program". You can minimize the TestStand UI to the task bar but if you don't want TestStand to be running, how can TestStand evaluate the result. Explain a little more please.
    In the message body of your post, you just say you want to create a LabVIEW exe and pass the results to TestStand. What I would recomend is that instead of an exe, you create a dll and use TestStand's DLL adapter to call it and return the results. TestStand will evaluate it and do the logging.

  • How to fill pre-defined tables in Word 2003 with test results?

    Hi All,
    I have a simple test board , where i measure different DC levels,  with a simple Vi that saves the test results in to a Text file.
    These results in text file, were manually typed in to a test report , which is a Word document with tables, but i have now created a macro in word 2003 that can take the results from text file and added to the specific rows and columns in  my word test report file.
    The big questions is how can i get Labview to,after it has measured the DC levels, write the test results to the specific tables , rows and columns, in the Word document without deleting all?
    The attached picture illustrates one tables , and the yellow cells showing the cells that need to be filled in with test results.
    Labview vers: 2009
    Solved!
    Go to Solution.
    Attachments:
    Template.jpg ‏37 KB

    Hi!
    I'm a Test Engineer for electronics and I create alot of automated tests with LabVIEW. Many of our customers want testsresults in a fancy and easy-to-read report. I did not have the MS Office Report Generation tool. So I did some research in the Excel Board and came a cross a link to a free open Excel toolkit ( Link ). The toolkit looks like this in LabVIEW:
    As you can see, you have many tools to get the job done. I'm talking about reading, writing and formatting Excel. The toolkit uses activeX. If you give me a few minutes I'll create an example for you.
    What I do when I create a report:
    Step 1. Create a template with all your formatting, macros, images and colors. Name the file for example "template.xlsx" (or .xls if you use an older office version).
    Step 2. In your program, copy the file to the desired location and give it a proper name.
    Step 3. Aquire some data and write it to the file you copied and renamed.
    For my latest project I created a fully-automated testprogram for testing a electric product. After each test a report is generated based on the procedure above. After testing all the products I have for example 300 reports. I then created a program that reads all the reports and creates a summary report that contains statistics for all the tested products. In my program I can also print the reports or the summary report and deliver to our customer. All this takes just a few seconds and adds extra quality to the products we sell to our customer.
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway

  • Display missing test results

    Post Author: sunny07
    CA Forum: General
    I would like to display missing test results in the below format.
    Group 1: product group
                                                      Test ID 1                      Test ID 2                         Test ID 3                          Test ID 4                       
    Unit Number                                                                   *
    Group 2: product group will have different tests than group 1.
                                                     Test ID 5                      Test ID 6
    Unit Number                                    *
    (* test is missing)
    Any suggestions how I should set this up in Crystal Reports?

    Post Author: sunny07
    CA Forum: General
    User will be prompted for a donation type which they will select from a drop down menu. They will only be able to select one donation type when the report is run. There are only 4 donation types that the users can choose from. There are different test Ids for each donation type. The test IDs for each donation type are not defined in the database. Any suggests how I define the test IDs for each donation type IN CR 11.5? Any suggestion how I display the test IDs as displayed below? Connecting to an Oracle database. 24BA, FINB, HBC, HCV, ABRH, ABS are examples of test IDs.
    Example running report for the donation type Bacterial Culture:
    Unit Number                              Batch ID                      24BA                   FINB               HBC              HCV
    W03305100919                     20070321HI                                                *                                                *
    Example running the report for the donation type ABO Screen:
    Unit Number                     Batch ID                           ABRH                       ABS
    W035304100926             20070320HI                          *
    W035304100932              20070320HI
    W035304100932 will appear on the report because it has ABO Screen donation type. This unit does not have any missing test results.
    *The test ID does not exist for this unit number.
    Thanks!

  • SCOM 2012 - Visual Studio Web Test - Cannot retrieve downloaded test results / share not configured

    Hello-
    I am trying to get my Visual Studio web test to work in SCOM 2012. I have configured the run-as account, and set the correct overrides for the Alert attachment file share discovery. I followed this guide to the T: http://technet.microsoft.com/en-us/library/jj899889.aspx
    When I Select the site that I want to download the test result file for, The results pane shows the following error:
    "The share does not seem to be configured in the Alert Attachment Management Pack"
    When I attempt to download the result file without manually entering creds, it fails. When I do enter creds, in the "task history" it shows as succeeded, but I get no results. All subsequent automatic "Retrieve previously..." fail. In
    the "task history", the "Run As" column is blank (unless I manually enter the credentials, which doesn't do me any good, anyway)
    My "Alert Attachment" MP is inside another MP I created, along with the "System Center Global Service Monitor VS Web Test" MP and two other System Center MPs. This created MP is the one that my Alert Attachment Overrides are attached
    to.
    My Run-As account has the needed permissions to the file share, so I am lost as to why this isn't working. Any help would be greatly appreciated.

    Have you followed the steps here to configure the share location http://technet.microsoft.com/en-us/library/jj899889.aspx ?

  • Build model - view test result - i have no ROC tab

    Dear all,
    When I build eg. a classification SVM (Lin.Reg, Naive Bayes)) model and view the test results, in that window I have only these tabs: Performance, Performance Matrix, Lift, Profit. I have no Roc tab. Do you know why? Before I used SQL Developer 3.2.09.30_x64 with this problem. Now I use SQL Developer 3.2.20.09.87_x64 with this problem. When I try to tune the SVM algoritm (so not let it automatic), there are only these tabs: Cost, Benefit, Lift, Profit. But not ROC tab :(((
    When I use the old Oracle Data Miner software from 2011, version 11.1.0.3.0 (build 11705) connecting to the same database server (using the same account), and I build a classification SVM model, I have ROC curve.
    Can anyone help me to solve this misterious problem?
    Than you!!!

    We don't have "preferred target value" during model building in the new data miner. However, you can use the Transform node to transform your target into 2 classes (preferred target value and others). You then use the output from the Transform node as input source for your model build.
    Here is a process to transform your target into 2 classes:
    - Create a Transform node
    - In Transform node, select the target column, click "Add Transformation" icon on the toolbar
    - In the Add Transform dialog, select "Custom" Binning Type, click "Generate Default Bins" button (accept default settings)
    - In the "Custom bin values" listbox, remove the non-preferred target values (select the values and click the "Remove Transformation" icon on the toolbar)
    - Now, you should have one preferred target value in the "Custom bin values" listbox, click OK to finish
    You can now connect the Transform node to a Build node. In the Build node, select the transformed target (it should have the "_BIN" suffix in the name) as the Target for model build.
    Hope this help!
    Denny

  • Retreive Test Suite and Test Results in TFS 2013

    Hi
    My Colleague accidentally deleted Test Suite which contains Test cases with Test results. Is there a way i can restore those?
    regards,
    Vinay

    Hi Vinay,  
    Thanks for your post.
    There’s no default way/feature to restore test plan/test suite, as Guilherme said, you should restore the backup to do that. And you can refer to this article:
    http://www.tfswhisperer.com/post/2012/10/10/So-you-accidentally-deleted-your-MTM-Test-Plan-Now-What.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Officejet 6700 connected to network according to network configuration page and network test results

    Office Jet 6700 connected to network according to wireless network test results but I get an unable to connect error when trying to set up web tools or connect to get updates. I have an Actiontec Router with century link DSL. I have tried both manual IP configuration and DHCP configuration. I can print wirelessly from my iphone and can access the web service page on the printer but the printer will not connect outside the network. I do not have a proxy.

    Never mind. I found the answer... I set the dns servers to 8.8.8.8 and 8.8.4.4 ( google's dns servers ). Sort of strange that I set the dns servers manually to the ones recommended on my router and it didn't work but when I set them to google's it works...? Spent many hours researching this til I found the answer. Silly printer and silly instrucutions tha never mentioned overriding the dns servers if you couldn't connect.

  • Load Test Results - time series request data for by URL in VS2013

    I am trying to figure out how to export and then analyze the results of a load test, but after the test is over it seems I cannot find the data for each individual request by url. This data shows during the load test itself, but after it is over it seems
    as if that data is no longer accessible and all I can find are totals. The data that I want is under the "Page response time" graph on the graphs window during the test. I know this is not the response time for every single request and is probably
    averaged, but that would suffice for the calculations I want to make. 
    I have looked in the database on my local machine (LoadTest2010, where all of the summary data is stored) and I cannot find the data I'm looking for. 
    My goal is to plot (probably in excel) each request url against the user load and analyze the slope of the response time averages to determine which requests scale the worst (and best). During the load test I can see this data and get a visual idea but when
    it ends I cannot seem to find it to export. 
    A) Can this data be exported from within visual studio? Is there a setting required to make VS persist this data to the database? I have, from under Run Settings, the "Results" section "Timing Details Storage" set to "All individual
    details" and the Storage Type set to "Database". 
    B) If this data isn't available from within VS, is it in any of the tables in the LoadTest2010 database where all of the summary data is stored?
    Thanks
    Luke

    Hi Luke,
    Since the load test is used to
    simulate many users accessing a server at the same time, it is mainly verify a wev server load stress.
    As you said that you want to find the data
    for each individual request by url, I know that generally we can analyze the url request from the Summary like the following screen shot.
    >>I
    have looked in the database on my local machine (LoadTest2010, where all of the summary data is stored) and I cannot find the data I'm looking for. 
    I suggest you can try to add the
    SQL Tracing Connect String in the Run Setting properties to trace the data.
    Reference:
    https://social.msdn.microsoft.com/Forums/en-US/74ff1c3e-cdc5-403a-b82f-66fbd36b1cc2/sql-server-tracing-in-visual-studio-load-test?forum=vstest
    In addition, you can try to create an excel to analyze the load test result, for more information:
    http://msdn.microsoft.com/en-us/library/dd997707.aspx
    Hope it help you!
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • How do I get my email on my iPad to open in adobe reader?

    How do I get my email on my iPad to open in adobe reader?

  • Loan transaction - straight line or reducing balance method

    Hi all, i have a question here.  It is regarding interest rate instrument product in SAP-TRM. For interest rate instrument/ loan product can we set whether the interest can be charged either on straight line method or reducing balance method? Your so

  • After system copy

    Hello I have connected my Productive BW 7 system with a 3rd party DB. After the basis perform a system copy from Productive BW to Quality BW are there any after copy activities to refresh also the connections and the datasources for this connection t

  • Automatic conversion of planned orders

    Hi PP Gurus, I have a requirement to convert planned orders to production orders automatically. I believe SAP standard does not offer this functionality. The possible solution seems to be writing new program which could be a copy of C041 transaction

  • Java class for windows, unix?

    If I create Java class using JDK for windows, can the class be used in Unix environment, like HP-UNIX, SunSolaris?