Let us say I want to make a boundary-value test case, I prepare and do the testing but how do I write the test-cases in a nice way? Is there any standardized way of doing this?
How test-cases should look like
255 Views Asked by Eri. At
1
There are 1 best solutions below
Related Questions in TESTING
- How does Robot's Telnet library work?
- Behat doesn't load extensions?
- Load additional CONFIG file with values
- rails controller test failing non-deterministicly wrt state leak (I think)
- Ordering tests using trial twisted
- Unexcepted failed Gavel/Dredd test
- How to use Jasmine and CucumberJS with Protractor
- Django login tests session problems
- How to mock specific RequireJs dependencies while unit testing
- Test case for WCF REST Service
- how to test this business logic
- Protractor - How to get first or last CHILD value
- Factory Not Registered in rspec but found in console
- Pick out certain lines from files
- Selenium stops running after click() function runs
Related Questions in TESTCASE
- Can we set performance test case baseline programmatically in xcode?
- Android JUnit: assert inside the handler
- Nunit runsTestCase with a TestCaseSource with the first iteration having no parameters? Why?
- junit 4 all pairwise permutations of test methods
- Changing sequence of JUnit gives random errors
- How to handle system.exit in the cucumber test case
- How to write the test case in Jasmine in Angular2 for redirect URL?
- JUnit 4 Test Case
- Cannot find context in class which extends TestCase
- How can I know that TestNG framework is suitable to perform test case prioritization in regression testing?
- Java Rally REST API: How to create new test case
- rake command starts running testcases
- How to get record with same fixture in Yii unit test
- How to add a result tolerance to a NUnit TestCase
- How to access variables in a test case class from a test suite runner class
Related Questions in BLACK-BOX-TESTING
- Issues receiving results of network operation in list using Robotium
- Performing boundary value testing on float range
- How to test Google+ sign-in with Robotium?
- Android Espresso Black Box Testing
- How test-cases should look like
- Android black box testing tool
- Should I unit test concurrency?
- Should unit tests include validation?
- How can one easily do black box automated testing across multiple platforms?
- Prometheus blackbox exporter failing https but not http
- pbbt and import python files
- What do the terms "white box testing" and "black box testing" mean?
- How to automation testing with a Console Application with already test cases set
- An old black box server with only TLSv1 connectivity with limited cipher suites available for handshake
- Binary search on array with duplicate
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
For writing test cases for boundary value analysis always take into consideration test data and on boundary less than boundary and greater than boundary.
Let us take an example: Number range allowed is between 1 to 1000 then, following would be the conditions to be taken in considerations
1) Test cases with test data exactly as the input boundaries of input domain i.e. values 1 and 1000 in our case.
2) Test data with values just below the extreme edges of input domains i.e. values 0 and 999.
3) Test data with values just above the extreme edges of input domain i.e. values 2 and 1001.
Orelse u could also take 0 1 999 1000 1001
Boundary value analysis is often called as a part of stress and negative testing.
Note: There is no hard-and-fast rule to test only one value from each equivalence class you created for input domains. You can select multiple valid and invalid values from each equivalence class according to your needs and previous judgments.