Questions tagged [black-box-testing]

"Black box" testing tests a device, program, application, etc., as a whole. Inputs are provided and the results monitored. The internal workings of the tested item are not relevant and may be unknown. "Functional testing" is a type of "Black box testing", but not all "black box" tests have to be "functional".

Black box testing tests a device, program, application, etc., as a whole.

Inputs are provided and the output results monitored. The internal workings of the tested item are not relevant and may be unknown.

Black box testing and Functional testing are sometimes used synonymously, but Functional testing is really a subset. "Non functional" tests, like Stress testing are often done in a "black box" manner.

Compare and contrast to Unit testing and White box testing.

References:

  1. Black-box testing on Wikipedia
114 questions
0
votes
1 answer

How to create blackbox functionality testing form

I know litte bit bout blackbox functionality testing. But my supervisor asked me to do the form for my system's evaluations. And i don't know how to started it. I need guidances to build the form. Which topics should i include in the form?
0
votes
5 answers

Best practice for looped JUnit test

In a school assignment, I should write blackbox test for a method that returns true for a parameter < 80 and false otherwise. Currently my approach would be for (int i = 0; i < 80; i++) { assertTrue(someMethod(i)); } for (int i = 80; i <= 100;…
user10739695
0
votes
0 answers

Is unit testing always white box testing?

I've recently seen several references that indicate or mention off-hand in an article that unit testing is always white box testing. Since black-box testing is simply looking at the specification or requirements for that unit, and ensuring that it…
LightCC
  • 9,804
  • 5
  • 52
  • 92
0
votes
1 answer

Black box/White box testing contradictions

So I already know the difference between white box and black box testing, but I am looking for fairly straightforward examples of situations where White box says "everything is OK" and Black box testing says "there is a problem here" - as well as…
0
votes
0 answers

How to catch set() usage in python3

all this won't work. even changing side_effect to something completelly different won't solve a problem. mock = unittest.mock.MagicMock() with unittest.mock.patch('builtins.set', mock): handle = set() print(mock.called) import builtins mock =…
kAldown
  • 610
  • 2
  • 8
  • 27
0
votes
1 answer

How to use generated code with a parameter of RepoItemInfo?

We use the Ranorex Studio in our company for black-box testing. I am a newbie concerning black-box testing. For a very first automated test, I want to create two tests that use a number of methods from a file that was generated by adding a recording…
Sae1962
  • 1,122
  • 15
  • 31
0
votes
1 answer

NameError: uninitialized constant Capybara

I am a beginner of Ruby on Rails and I am doing a online assignment: https://drive.google.com/file/d/0Bwvt4e6DQqn4ZjgwdzFGazZBZVE/view repository: https://github.com/jhu-ep-coursera/fullstack-course1-module3 However, I encountered some problems…
Zixin Liu
  • 59
  • 5
0
votes
0 answers

What is the difference between cookie attribute";path=/app" vs ";path=/app/"

ex: www.mysite.com/app/ If the cookie attribute path is set to ";path=/app" will it make any difference to change to ";path=/app/" ?
edrupler
  • 48
  • 7
0
votes
1 answer

Creating Test cases using Decision Table Method

Assume you are a test analyst working on a banking project to upgrade an existing automated teller machine system to allow customers to obtain cash advances from supported credit cards. The system should allow cash advances from 20 dollars to 500…
Gaurav Verma
  • 54
  • 1
  • 3
  • 9
0
votes
1 answer

How to make an Extended Entry Decision Table for Testing

So I need to make a Decision Table to test a bit of code. The code is simple and straight forward but requires two user inputs to determine two proceeding variables. This is why I need to make this more than a binary (true/false) table. The user is…
0
votes
3 answers

0 and 1 - Switch Coverage in State Transition Testing?

This question is not programming related but related to one of test case design the technique. State Transition Diagram technique provides Test coverage by identifying test conditions via N-1 switch transitions. I am confused about how to calculate…
Gaurav Verma
  • 54
  • 1
  • 3
  • 9
0
votes
1 answer

JUnit how to blackbox test a function without inputs and outputs? Java

My problem is: i have a function triggered by a daily Timer that is supposed to send emails to a list of addresses stored in a database, even the text of the email is an array of datas retrieved by queries in a database. The function doesn't have…
Simone
  • 11
  • 2
0
votes
0 answers

Weird RNG behavior

I'm trying to make a black box method to test if my project is working correctly, but I'm running into some problems with the random number generation. I have got the method laid out like this: public static MathObject generateBlackBoxObject() { …
S.Klumpers
  • 410
  • 3
  • 14
0
votes
1 answer

What errors that can't be detected by testing techniques but rather by guessing?

Error guessing is known to be one way of knowing the error from previous experiences. however, it's a technique that usually testers perform if all other formal techniques (like Whitebox testing or other blackbox testing) failed to identify the…
Engineering Mind
  • 113
  • 3
  • 12
0
votes
1 answer

Run Robotium Black-box test in Android studio

I have Robotium black-box tests which I use to test apps without the source code. I can run the tests from Eclipse ADT, but I can't run them from Android Studio. In Android Studio I get an error: "Empty test suite." "No tests were found" How can I…
user3504453
  • 1,541
  • 1
  • 10
  • 10