The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Software Testing >> Unit Testing

Pages: 1
JawaadHAslam
Newbie


Reged: 07/11/12
Posts: 1
How to implement White box testing?
      #711916 - 07/11/12 05:06 AM

I need some help regarding implementation of White box testing in an organization. I have been given a task to implement white box testing in my organization . I need information from where should i start? Which technique to follow? Any tool for white box testing? which can perform code coverage etc.

Edited by JawaadHAslam (07/11/12 05:23 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
AUF_Testing
Newbie


Reged: 02/26/11
Posts: 18
Re: How to implement White box testing? [Re: JawaadHAslam]
      #713564 - 08/01/12 03:46 PM

Ok, great that you're getting into white-box testing.

A coupld of quick tips for getting a response (and probably a more detailed one than I can provide):
-What's the underlying language?
-What tools (if any) are already in place
-How much experience do you (or the folks who'll be doing the legwork) have?
-What methodology are you using (i.e. Waterfall, V, XP, etc)?

Without an answer to question number 1, I can't even guess at what's best for you.


Post Extras: Print Post   Remind Me!   Notify Moderator  
dlai
Junior Member


Reged: 05/02/06
Posts: 1041
Loc: CA, USA
Re: How to implement White box testing? [Re: AUF_Testing]
      #714640 - 08/15/12 09:06 PM

The lowest hanging fruit is Unit testing.

Find a popular unit testing framework for the type of project you're doing. Implement a parallel project structure where for each source file, there exists a corresponding unit test in a /tests directory. Then modify the build scripts to also run the unit tests when the project is built.

From where work your way up. Some ideas you can try doing afterwards are..
* Modify your unit test execution task to execute your app using a code coverage tool.
* Setup a continuous integration to run unit tests upon code check in.
* Setup a Guard to continuously run unit tests locally for files being edited. (https://github.com/guard/guard-test/#readme)

--------------------
David Lai
Sr. QA / Test Lead
LinkedIn profile


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 2 anonymous users are browsing this forum.

Moderator:  AJ, Jeanj 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 2690

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5