Talk:Boundary-value analysis
Number of cases
This article suggests the common example of using three test cases at a boundary.
I have some problems with this, as there is disagreement as to how many cases are actually useful. Beizer in Black-Box Testing gives a very strong (to me) argument that only two cases are needed, including going through the eight failure cases for a one dimensional boundary, and comparing whether three cases is better than two.
I am loathe to just change this article so as to use only two test cases per boundary, as I understand that many people don't like this reasoning. I was considering adding a new section, titled something along the lines of 'Alternate Approach'. To me that smacks of turning the page itself into a discussion (where I am assuming that this page is useful to someone who wants to know what BVA is, and see an example we don't necessarily need to drag them into a discussion). However I am more loathe to leave the article as is (I think Beizer has a very good point here, and it just seems wrong to ignore it).
Any comments? I'll check back and see what you all think. Jtowler 18:40, 26 November 2006 (UTC)
2 v 3 value boundary value analysis. Boris beizer is correct. 3 value BVA does not find any additional defects over 2 value BVA. Also it is confusing since there is never a value on the boundary as it suggests. The value is either in one partition or the other it is never on the boundary. If we say the pass mark for an exam is 60% then 2 value would have you testing 59%, 60% and 61%. If though we consider that the failure boundary is 59% then 3 value would have us testing 58% 59% and 60%. So it would depend on whether you are testing the "valid" partition for pass or the "valid" partition for fail. If it helps you with your arguments. The International Software Qualification Board (ISTQB)the body that certifies testers internationally via exams and syllabuses now has come down on the side of using 2 value BVA.
Peter Edmond Qbit-Sogeti - Software Testing Trainer. —Preceding unsigned comment added by 80.168.82.98 (talk) 18:00, 25 November 2009 (UTC)
I agree that only two cases are needed. I don't know where this misunderstanding that three are needed comes from but it is often repeated. The problem is in this phrase from the article "The boundaries are the values [...]". In the example, the maximum value in the partition is 12, however 12 is not "the boundary". The boundary is actually a line between 12 and 13. Both sides of the boundary must be tested (+/- 1) therefore both 12 and 13 must be tested. Both 12 and 13 can be called "boundary values" because they lie on either side of the boundary, but don't confuse "the boundary" with "boundary values", every boundary has two boundary values and it is impossible to be "on" the boundary.
The boundaries are the values on and around the beginning and end of a partition. If possible test cases should be created to generate inputs or outputs that will fall on and to either side of each boundary. This would result in three cases per boundary. should be changed to The boundaries are the seperations at the beginning and end of a partition. Boundary values are those that start and end a partition. If possible test cases should be created to generate inputs or outputs that will fall to either side of each boundary, to each boundary value. This would result in two cases per boundary.
If there are no objections, I will change the article. --144.36.24.78 (talk) 21:58, 9 May 2011 (UTC)
I have made the change to two values, and some other minor cleanup. If there are any issues I would add the following text in an "Common Confusion" section.
Some people state that the boundary must be tested along with values on either side of the boundary, resulting in three test cases. This is a confusion of the boundary with the boundary value, because in English people say boundary when we mean boundary value. The maximum month is 12, however 12 is not the boundary. The boundary is between 12 and 13. Both side of the bounday must be tested, so 12 and 13 must be tested. But the boundary itself cannot be. Only two cases are needed. Michaeldunn123 (talk) 21:00, 16 May 2011 (UTC)
Boundary value analysis or Boundary Value Analysis
I'm not sure the recent rename was correct. Is BVA a proper noun? If not WP:TITLE says it should be changed back. --Salix alba (talk) 12:25, 28 January 2007 (UTC)
- Of course it's not a proper noun. I've requested a page move 86.152.203.212 13:33, 22 April 2007 (UTC)
Andreas Kaufman, external link
Andreas - you seem to keep adding a link to an external site that contains no information about BVA. I keep removing it. Obviously this is silly. Could you add some info here why the external site you link to is relevant to an article on BVA (rather than to software testing in general). Maybe I am missing something? Jtowler 11:30, 4 December 2007 (UTC)
Grammatical update needed
The page currently uses "you" a lot, as if it is talking to the reader. This needs to be recast to avoid this. --ΨΦorg (talk) 17:10, 9 June 2008 (UTC)
Test case scenario
A test need to be alaways tested against a BVA so as to determine the effectiveness of the coverage. Might be imp area s gets mis...but alwasys prefr a strong planning in the context of BVa. It requies a wide arae knowledge so as to cover the mximum coverage.
regards,--131.107.0.73 (talk) 11:24, 3 November 2008 (UTC)--131.107.0.73 (talk) 11:24, 3 November 2008 (UTC) Vikas
Cost/Benefit Ratio
How does boundary value analysis compare with other testing methods (i.e. fuzz, all-pairs, etc.) in terms of the cost/benefit ratio?
--Stevepalmateer (talk) 18:56, 23 April 2009 (UTC)
Merger proposal
Merge: I have never heard of Boundary-value analysis ever discussed without having to explain equivalence partitioning. This article is no exception. BVA cannot stand on is own, and EP is just a theory without BVA. --Walter Görlitz (talk) 05:12, 8 May 2009 (UTC)
Don't Merge: Although I principally agree, BVA is not necessarily connected to EP, but EP forms the basis for concrete Testcases, regardless of whether you enhance it with boundary values or not. Furthermore, boundary values are only useful if you have bounds (which is not the case in - say - a dropdown menu with text items that form various equivalence classes... Never connect these two too tight. They are different techniques and this should be reflected here. —Preceding unsigned comment added by Tprosser (talk • contribs) 09:56, 13 August 2009 (UTC)
- While BVA may be able to stand alone without equivalence classes, equivalences classes make absolutely no sense without boundaries. --Walter Görlitz (talk) 16:23, 13 August 2009 (UTC)
Don't Merge; Unfortunately Water Gorlitz has his argument completely the wrong way round. EQP can exist without BVA but BVA can not exist without EQP. The reason why this very common mistake occurs is because everyone who attempts to explain EQP uses numeric fields or numeric properties (such as length). BVA ONLY works on Numeric values that form a continuous set. EQP however, can be used on ANY set of values. and a should be explained by such an example. For example, An application may recognise people as being Minors or Adults. Within Adults it treats males and females differently (perhaps non-PC these days but still likely in some cirumstances). BVA does not help you with this problem of testing, but EQP does by showing you that you must test with one child, one male and one female. This is a simple example that illustrates the point. Even if you have numeric values they might not be continuous until your use EQP to illiminate the values that stop it from being continuous. For example, if an ATM only has £20 notes, then BVA does not show you the test cases until you use a EQP derived test to remove those values that are not divisible by £20. So your tests should be £30 (not divisible by 20), £20 and the maximum for the ATM. —Preceding unsigned comment added by 80.168.82.98 (talk) 17:50, 25 November 2009 (UTC) Peter Edmond QBit Sogeti - Software Testing Trainer - —Preceding unsigned comment added by 80.168.82.98 (talk) 18:03, 25 November 2009 (UTC)
I as a student of software engineering and testing wish to put forth my opinion on how BVA and EP are dissimilar in respect to the other, even when they both are types of black box testing technique.BVA takes n inputs to yield 4n+1 test cases under normal circumstances, 6n+1 under robust circumstances, 5^n under worst case scenario.EP on the other hand reduces redundancy even while exhausting all kinds of possible test cases under given circumstances.
- Your recent addition was not an improvement to the article and has been reverted. BVA is used in white-box testing and your statement was that it is an black-box-only activity. Secondly, you removed the definition entirely.
- The fact that BVA and EP are dissimilar is not the point, you cannot explain EP without using BVA is the point. --Walter Görlitz (talk) 18:48, 4 January 2011 (UTC)
recent addition was copy-vio
http://it.toolbox.com/blogs/enterprise-solutions/testing-via-boundary-value-analysis-17126