Yii Framework Forum: Test Driving Yii 2.0 - Yii Framework Forum

Jump to content

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

Test Driving Yii 2.0

#1 User is offline   Ben 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 266
  • Joined: 15-March 09

Posted 15 April 2013 - 07:09 AM

After reading the issue about static helpers on github and thinking about testability, I wondered how much you guys rely on unit testing? Do you take a TDD aproach for the framework, or aren't there any tests yet? What is the unit test code coverage for Yii 1.1 and is there any number you target for Yii 2.0? (By the way: Nice little anecdote about that topic)
How about letting the community contribute unit tests for 2.0 framework classes? I know unit tests are meant to be written by the developer of a class, but maybe it helped nontheless (obviously I'm only keen to see some 2.0 snippets ;)).
Don't like ads in my sig...
1

#2 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,875
  • Joined: 04-October 08
  • Location:DC, USA

Posted 15 April 2013 - 07:21 AM

Thank you for willing to contribute to Yii. Please refer to the milestone page for our plan about Yii 2 release. You may start to contribute once we reach "Public Preview" milestone: https://github.com/y...sues/milestones

Yes, we already wrote unit tests covering the major piece of code, but the coverage is not 100% yet. We hope we may receive help from community to get more code coverage.



0

#3 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,875
  • Joined: 04-October 08
  • Location:DC, USA

Posted 15 April 2013 - 07:24 AM

Currently I'm working on the assets/scripts management feature and the ActiveForm feature. Once they are done, I think we can declare "Public Preview". However, these features are not trivial and require a lot of thinking and discussions. That's why we can't give exact date estimate.
1

#4 User is offline   Ben 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 266
  • Joined: 15-March 09

Posted 15 April 2013 - 08:15 AM

Thanks for that link, didn't notice it before. :)
Don't like ads in my sig...
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