Book a Demo

Author Topic: TestCase  (Read 2041 times)

costica

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
TestCase
« on: November 17, 2007, 01:31:34 am »
Hi. I am newbie.
i have a testcase project.Build test case for a PHP class.
1.Is the IDE environmet mapping the php source code of class under test?
2.Can IDE reverse php source code.
3.Is it possible to generate php(or java) source code
for test part?(the code as it is generated to be usefull in real test )

Let
Class MyClassWithVariableANdMethods{){
var $v as string
public function foo() ;
public function g() ;
return this->foo($integer,$string) ;
}
and
<--  df class constraints  (df definition operator)
<-- $v of type string
<-- is(return(foo)) == listtype    

Can i obtain the test code for this?