<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Discussion - Archive</title><link>https://sourceforge.net/p/utplsql/discussion/</link><description>Recent posts to Discussion - Archive</description><atom:link href="https://sourceforge.net/p/utplsql/discussion/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 19 Oct 2016 00:12:14 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/utplsql/discussion/feed.rss" rel="self" type="application/rss+xml"/><item><title>utplsql</title><link>https://sourceforge.net/p/utplsql/discussion/utplsql-dev/thread/918f45a5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Abishek,&lt;br/&gt;
The project at sourceforge is not beeing maintained anymre.&lt;br/&gt;
It has been moved to github &lt;a href="https://github.com/utPLSQL/utPLSQL" rel="nofollow"&gt;https://github.com/utPLSQL/utPLSQL&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But to answer your question, utplsql v2 supports different reporters.&lt;br/&gt;
You can create your own reporter and use it in your project easily.&lt;br/&gt;
&lt;a href="https://github.com/utPLSQL/utPLSQL/blob/master/source/ut_outputreporter.pks" rel="nofollow"&gt;https://github.com/utPLSQL/utPLSQL/blob/master/source/ut_outputreporter.pks&lt;/a&gt;&lt;br/&gt;
&lt;a href="https://github.com/utPLSQL/utPLSQL/blob/master/source/ut_outputreporter.pkb" rel="nofollow"&gt;https://github.com/utPLSQL/utPLSQL/blob/master/source/ut_outputreporter.pkb&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So:&lt;br/&gt;
&lt;em&gt; create a new packgate 'my_reporter' in your utplsql schema&lt;br/&gt;
&lt;/em&gt; set it as default reporter for your ut's (see: &lt;a href="https://utplsql.github.io/docs/utconfig.html#setgetreporter" rel="nofollow"&gt;https://utplsql.github.io/docs/utconfig.html#setgetreporter&lt;/a&gt; )&lt;/p&gt;
&lt;p&gt;Regards&lt;br/&gt;
Jacek&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jacek Gebal</dc:creator><pubDate>Wed, 19 Oct 2016 00:12:14 -0000</pubDate><guid>https://sourceforge.netbc41414bf90aa7a9acd04ab9f48b5be1949db85f</guid></item><item><title>utplsql</title><link>https://sourceforge.net/p/utplsql/discussion/utplsql-dev/thread/918f45a5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have attached a file which I have generated from utplsql. I need to format this file so that end user can understand by going through this file. Is there any way out, I have gone through the links in github in details but didn't find anything which can solve my purpose. May be I am missing out on something.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">abhishek das</dc:creator><pubDate>Tue, 18 Oct 2016 13:05:16 -0000</pubDate><guid>https://sourceforge.net815ba6170daa9a920b00f7d114623aa6a052623e</guid></item><item><title>utplsql</title><link>https://sourceforge.net/p/utplsql/discussion/utplsql-dev/thread/918f45a5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;Is there any way we can format the output generated in a file via utplsql? Example: We have say five different test scenarios generated via utplsql and moved to a .UTF file. Now I want to format the generated data in this file so that it can have an overall count of test cases, summary etc.&lt;/p&gt;
&lt;p&gt;Is the above possible to achieve via utplsql?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Abhishek Das&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">abhishek das</dc:creator><pubDate>Tue, 18 Oct 2016 12:49:34 -0000</pubDate><guid>https://sourceforge.net34cb217bc630f81042126256e1d1334046ae2927</guid></item><item><title>Training Materials</title><link>https://sourceforge.net/p/utplsql/discussion/general/thread/055c11f2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Anyone have training materials or links to training materials to share? A pity here isnt a book on itPLQL and TDD.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lance Kind</dc:creator><pubDate>Thu, 02 Jun 2016 06:59:46 -0000</pubDate><guid>https://sourceforge.net9e9149b359db986f33dcd05d0b081433239714b8</guid></item><item><title>I'd like to update docs</title><link>https://sourceforge.net/p/utplsql/discussion/general/thread/16e70af6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for the pointer on using svn. I'll be doing more work with utPlSQL so I'll keep&lt;br/&gt;
that in mimd as I go through the docs again.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lance Kind</dc:creator><pubDate>Thu, 02 Jun 2016 06:49:41 -0000</pubDate><guid>https://sourceforge.nete1aac5bd7143c1e6bb0de5f2b78ba251c06d3551</guid></item><item><title>Testability of procedure with out parameter as sys_refcursor/nested table</title><link>https://sourceforge.net/p/utplsql/discussion/general/thread/fba5e41f/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;In our project we are trying if we can recommend utPlsql for unit testing, because it has the fetaure of integration with jenkin. So obviously very curious to know the every possible testing scenarios! &lt;/p&gt;
&lt;p&gt;I had a few questions: &lt;br/&gt;
1. Can I test a procedure (standalone/packaged) which has an out parameter with data type: nested table?&lt;br/&gt;
2. Can I test a procedure (standalone/packaged) which has an out parameter with data type: sys_refcusor?&lt;/p&gt;
&lt;p&gt;For more clarity I am representing the scenarios with examples:&lt;/p&gt;
&lt;p&gt;-- I've an object type as:&lt;br/&gt;
CREATE OR REPLACE TYPE APPS.emp_obj as object &lt;br/&gt;
(EMPNO     NUMBER(4)  &lt;br/&gt;
,ENAME             VARCHAR2(10) &lt;br/&gt;
,JOB               VARCHAR2(9)&lt;br/&gt;
,MGR               NUMBER(4)  &lt;br/&gt;
,HIREDATE          DATE       &lt;br/&gt;
,SAL               NUMBER(7,2)&lt;br/&gt;
,COMM              NUMBER(7,2)&lt;br/&gt;
,DEPTNO            NUMBER(2));&lt;br/&gt;
/&lt;/p&gt;
&lt;p&gt;-- I've an nested table based on that object type: &lt;br/&gt;
CREATE OR REPLACE TYPE APPS.emp_obj_TAB_TYPE AS TABLE OF emp_obj;&lt;br/&gt;
/&lt;/p&gt;
&lt;p&gt;-- Finally I've a procedure:&lt;br/&gt;
CREATE OR REPLACE procedure APPS.sp_emp (p_deptno in emp.deptno%type, p_emp_dept out emp_obj_tab_type) as &lt;br/&gt;
cursor c is &lt;br/&gt;
select * &lt;br/&gt;
 from emp &lt;br/&gt;
where deptno=p_deptno;&lt;/p&gt;
&lt;p&gt;type t_emp is table of c%rowtype;&lt;br/&gt;
l_emp t_emp := t_emp();&lt;br/&gt;
l_emp_dept  emp_obj_tab_type := emp_obj_tab_type();&lt;/p&gt;
&lt;p&gt;begin&lt;br/&gt;
open c;&lt;/p&gt;
&lt;p&gt;loop &lt;br/&gt;
 fetch c bulk collect into l_emp LIMIT 3;&lt;br/&gt;
 exit when l_emp.count=0;&lt;br/&gt;
 if l_emp.count &amp;gt; 0 then &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; for i in l_emp.first .. l_emp.last loop        
   l_emp_dept.extend();
   l_emp_dept(l_emp_dept.last) := emp_obj(l_emp(i).EMPNO,l_emp(i).ENAME,l_emp(i).JOB,l_emp(i).MGR,l_emp(i).HIREDATE,l_emp(i).SAL,l_emp(i).COMM,l_emp(i).DEPTNO);
 end loop;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;end if;&lt;/p&gt;
&lt;p&gt;end loop;&lt;br/&gt;
close c;&lt;br/&gt;
p_emp_dept := l_emp_dept;&lt;br/&gt;
end;&lt;br/&gt;
/&lt;/p&gt;
&lt;p&gt;-- And I also have a procedure which have a out parameter with type: sys_refcursor:&lt;br/&gt;
CREATE OR REPLACE procedure APPS.pr_emp(p_deptno in emp.deptno%type, p_out out sys_refcursor) as &lt;br/&gt;
begin&lt;br/&gt;
open p_out for select * from emp where deptno=p_deptno;&lt;br/&gt;
end;&lt;br/&gt;
/&lt;/p&gt;
&lt;p&gt;So will I be able to perform unit test on sp_emp and pr_emp using utPlsql framework? If yes then please reply with some examples. &lt;br/&gt;
Also wanted to know if I can get code coverage statistics of the procedure being tested.&lt;/p&gt;
&lt;p&gt;Will appreciate highly if someone can put any light on the above.&lt;/p&gt;
&lt;p&gt;Thanks and regards,&lt;br/&gt;
S. Choudhury&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Somen Choudhury</dc:creator><pubDate>Wed, 20 Apr 2016 12:42:06 -0000</pubDate><guid>https://sourceforge.netc0033179e590d7a08d0d4d62ad078099bca82307</guid></item><item><title>Move to GitHub: It's happening! (slowly)</title><link>https://sourceforge.net/p/utplsql/discussion/utplsql-dev/thread/f1674d93/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Added to followed and starred :)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jacek Gebal</dc:creator><pubDate>Fri, 19 Feb 2016 01:36:26 -0000</pubDate><guid>https://sourceforge.net8de39dc90f99dc73d0348c86407d5b60b30028dd</guid></item><item><title>Move to GitHub: It's happening! (slowly)</title><link>https://sourceforge.net/p/utplsql/discussion/utplsql-dev/thread/f1674d93/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have created a repository on GitHub for utPLSQL and have imported the code: &lt;a href="https://github.com/utPLSQL/utPLSQL" rel="nofollow"&gt;https://github.com/utPLSQL/utPLSQL&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I haven't got the website running out of there yet and I haven't migrated any of the tickets from here yet. I want to get that all sorted before I make any changes to the Sourceforge project to start referring people over to GitHub.&lt;/p&gt;
&lt;p&gt;Feel free to drop on over... :)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paul Walker</dc:creator><pubDate>Thu, 18 Feb 2016 22:29:43 -0000</pubDate><guid>https://sourceforge.net612171e8691452f4eab85e38fdbd4583ffbe2a31</guid></item><item><title>suite failing but no package failures</title><link>https://sourceforge.net/p/utplsql/discussion/general/thread/b4de6241/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;aha - found the problem - I had a test with two tests in it where the body of the tests was simply 'NULL;' so two tests did not have outcomes - and that's why the package test failed but there were no failures in utr_outcome!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">magnus</dc:creator><pubDate>Thu, 28 Jan 2016 14:08:46 -0000</pubDate><guid>https://sourceforge.net078e0e61c26263077486c1219a0f2958d031bd55</guid></item><item><title>suite failing but no package failures</title><link>https://sourceforge.net/p/utplsql/discussion/general/thread/b4de6241/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I am running a test suite which finishes with an error, yet there are no rows in ut_package where failures is not zero. Where can I look to find out what is causing the failure?&lt;/p&gt;
&lt;p&gt;thanks&lt;br/&gt;
magnus&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">magnus</dc:creator><pubDate>Thu, 28 Jan 2016 13:18:36 -0000</pubDate><guid>https://sourceforge.neteb756a5053ed563c0e7527da10a8ca1932bc7260</guid></item></channel></rss>