Powered By Blogger

Thursday, June 10, 2010

Outing in July 2010

Please add comment as vote in format: 
1) Yes ( If yes available on weekends: 3-4, 10-11, 17-18, 24-25)
2) No 
3) 99% Yes (Available on weekends: 3-4, 10-11, 17-18, 24-25)
4) 50% No (Available on weekends: 3-4, 10-11, 17-18, 24-25)


Please vote ASAP so that we can freeze dates and for location we will have separate poll.


Tour Manager: Vishal Shinkar
Accommodation Manager: Manas Mandal



Wednesday, June 9, 2010

Can anyone give an exact overview on Agile Testing?

Can anyone give an exact overview on Agile Testing?


Vishal Shinkar 

Difference between Whitebox testing and Unit testing.

What I understood is -

Unit Testing is testing of the module by developer, I think dev can do it by any method, by checking functions/ constructors/loops etc.

Whitebox testing includes testing through API's (routines) by writing wrappers, if API's are disclosed to testing team.

And if code is open for testers then may be like dev tester can also do testing for Branches/Statements

--mrinalini

-------------------------------------------------------

Unit testing is done by Developer to test the concern module (unit code) developed by him using some test code (its very simple).

In white box testing the concern person (Tester/Developer) needs to have all the top level code knowledge after the integration of all module for that product.

He usually check for any real time User Scenario, which area of code in the product is getting executed mostly (like conditional loop since mostly in loops happy path is

consider by developer while development so there were max possibility of exception raising). There are always some area in the product which get executed minimally in real time.

So by White Box Testing we make sure that the code which is getting executed mostly is under good performance & all the boundary value, exception are working as expected.

Thanks,

-amit

-------------------------------------------------------

Here is formal definition for both terminologies:

Testing methods

White box testing

Main article: White box testing

White box testing is when the tester has access to the internal data structures and algorithms including the code that implement these.

Types of white box testing

The following types of white box testing exist:

  • API testing (application programming interface) - testing of the application using public and private APIs
  • Code coverage - creating tests to satisfy some criteria of code coverage (e.g., the test designer can create tests to cause all statements in the program to be executed at least once)
  • Fault injection methods - improving the coverage of a test by introducing faults to test code paths
  • Mutation testing methods
  • Static testing - White box testing includes all static testing

Test coverage

White box testing methods can also be used to evaluate the completeness of a test suite that was created with black box testing methods. This allows the software team to examine parts of a system that are rarely tested and ensures that the most important function points have been tested.[21]

Two common forms of code coverage are:

  • Function coverage, which reports on functions executed
  • Statement coverage, which reports on the number of lines executed to complete the test

They both return a code coverage metric, measured as a percentage.

Testing levels

Tests are frequently grouped by where they are added in the software development process, or by the level of specificity of the test.

[edit]Unit testing

Main article: Unit testing

Unit testing refers to tests that verify the functionality of a specific section of code, usually at the function level. In an object-oriented environment, this is usually at the class level, and the minimal unit tests include the constructors and destructors.[25]

These type of tests are usually written by developers as they work on code (white-box style), to ensure that the specific function is working as expected. One function might have multiple tests, to catch corner cases or other branches in the code. Unit testing alone cannot verify the functionality of a piece of software, but rather is used to assure that the building blocks the software uses work independently of each other.

Unit testing is also called component testing.

Above definition source: http://en.wikipedia.org/wiki/Software_testing

Chaitanya Hasabnis

-------------------------------------------------------

I believe, Unit testing is done by developer to verify that the module which he developed is working correctly in the application. And whitebox tester tests whole application which covers code coverage, functions etc…

Vishal Shinkar

-------------------------------------------------------

I would say …

Unit test cases are created by dev team which is having ‘Constructive’ type of view….Varification

White box testes created by a Tester which has ‘Destructive’ type of view….Validation

Adding Vijay …..

Regards,

Aabha Choudhari,
-------------------------------------------------------

Unit testing is done by Dev and Whitebox by Testers..

Didn't get satisfactory answer till now.


By Mrinalini