Yii Framework Forum: Unit Test versus QA Staff - Yii Framework Forum

Jump to content

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

Unit Test versus QA Staff Rate Topic: -----

#1 User is offline   junxiong 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 543
  • Joined: 21-June 10

Posted 20 November 2010 - 01:47 PM

In the TDD approach, we are obligated to write unit test first and then write down the code, later run the test, repeat until the code/function pass the test. I believe by this approachment, the number of bugs will be reduced to minimum.
With the help of Selenium, we even can emulate submitting form in the Yii..

Now, let's say in our development team, we have QA staff who do testing the application. Finding bug and errors. So the programmer code a module, give to the QA Staff to test, the QA staff check against to checklist which function must be passed, tell the programmer what functions haven't passed yet, repeat until all the checklist is checked.

So, if the team has QA Staff to test the application, must the programmer still need to write the unit test? Or instead, they just straight to coding and let the QA staff do the checking?
“The most likely way for the world to be destroyed, most experts argue, is by accident. That’s where we come in; we’re computer professionals. We cause accidents.” - Nathaniel Borenstein

Yii Playground : Collaborative demo apps. You can join to improve it too!
My Team's Blog: In Indonesian.
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,548
  • Joined: 17-January 09
  • Location:Russia

Posted 20 November 2010 - 02:18 PM

Unit testing is generally a developer's job since tester usually don't know and don't care about how it works inside. If overall result is OK, tester is happy. Unit tests are reducing such internal errors. Testers are covering complex and unusual things not covered by unit testing.
0

#3 User is offline   imehesz 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 717
  • Joined: 13-June 09
  • Location:Jacksonville, FL

Posted 20 November 2010 - 04:07 PM

Don't fire your QA team!

Most of the time a QA member is most likely to be a human being, so he/she can (and will) make mistakes.

With TDD you can reduce the number of bugs significantly, which your QA team don't have to find and report (time consuming), so they'll work faster, and your developer is gonna have more time to develop a new feature etc, instead of fixing bugs.

--iM
It’s done, the great act of creation.
The maker rests. The wheel’s in motion.
-- Imre Madách

check out Yii2 Theme Factory at http://yii2.themefactory.net
0

#4 User is offline   junxiong 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 543
  • Joined: 21-June 10

Posted 20 November 2010 - 11:24 PM

View Postimehesz, on 20 November 2010 - 04:07 PM, said:

Don't fire your QA team!

Most of the time a QA member is most likely to be a human being, so he/she can (and will) make mistakes.

With TDD you can reduce the number of bugs significantly, which your QA team don't have to find and report (time consuming), so they'll work faster, and your developer is gonna have more time to develop a new feature etc, instead of fixing bugs.

--iM


I don't have QA at the first place :D

I think I've got the idea about writing PHPUnit versus QA staff. So as developer we must write the test of the module's functionality, the very technical thing, try to sending extreme values to the function, give unusual value, to see how the function responses.

While for bigger coverage, such as the flow of the application, the display of the web, typo, etc must be done by QA staff. Correct? :)
“The most likely way for the world to be destroyed, most experts argue, is by accident. That’s where we come in; we’re computer professionals. We cause accidents.” - Nathaniel Borenstein

Yii Playground : Collaborative demo apps. You can join to improve it too!
My Team's Blog: In Indonesian.
0

#5 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,548
  • Joined: 17-January 09
  • Location:Russia

Posted 21 November 2010 - 05:03 AM

Yep.
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