Yii Framework Forum: Fixtures In Unit Testing - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Fixtures In Unit Testing

#1 User is offline   pommeverte 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 45
  • Joined: 15-March 11

Posted 20 April 2013 - 07:03 PM

Hello,

In 1.1.x we have nice CDbFixtures but I was wondering if we could also have fylessytem fixtures in Yii2?
The idea being that you may need to test operations on files and would like to set a fixture up to handle this aspect prior/between tests.
Maybe this is a little too specific but it would definitely be nice to have the option of making your own fixtures if need be.

I might be missing something really obvious that already exists. If so let me know
0

#2 User is offline   Haensel 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 444
  • Joined: 14-January 11
  • Location:Vienna (Austria)

Posted 22 April 2013 - 02:38 AM

A lot of people want to see codeception becoming Yii 2.0's testing framework and it has good file testing support:


0

#3 User is offline   schmunk 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 569
  • Joined: 02-November 08
  • Location:Stuttgart, Germany

Posted 24 April 2013 - 05:49 PM

+1 for Codeception
Phundament - Yii Application Boilerplate with composer support
Fork on github

Follow phundament on Twitter

DevSystem: Mac OS X 10.7 - PHP 5.3 - Apache2 - Yii 1.1 / trunk - Firefox or Safari
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users