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
19
votes
4 answers

Unit testing, Black-box testing and white box testing

What is Unit testing, Black-box testing and White-Box testing? I googled but all the explanation I found was very technical. Can anyone answer this question in a simple way with an appropriate example?
software
  • 728
  • 6
  • 18
  • 39
8
votes
0 answers

How to use Teststack.white with multiple monitors

I have a 3 monitor setup, but white says: [Warn - 10:59:24 AM] 'TestStack.White.UIItems.UIItem' Window with title: MYWINDOW whose dimensions are: 0,0,4492,1080, is not contained completely on the desktop 0,0,1920,1080. UI actions on window…
user2282496
  • 235
  • 4
  • 13
6
votes
2 answers

Test cases for a Singly Linked list

What are some good testcases for a Linked list problem in general? for example test cases for a function which finds and eliminates duplicates and returns the pointer to the first node. Some core cases could be: the function is in c# or Java and not…
RashMans
  • 321
  • 1
  • 4
  • 17
6
votes
0 answers

BlackBox testing/monitoring the Kubernetes Cluster

I need to setup some jenkins jobs that probe the cluster every X minutes, and make sure everything is working and functional. Are there any good off-the-shelf blackbox probers for the Kubernetes API , either opensource or provided by some vendor.…
Ijaz Ahmad
  • 11,198
  • 9
  • 53
  • 73
4
votes
1 answer

Test framework for system test

i'm looking for a test framework (preverably in Java) to create system tests. The system i need to test is an ESB offering multiple http endpoint for receiving and pushing messages, a JMS Server and a JBoss-Application Server with a Database at the…
martin
  • 980
  • 1
  • 13
  • 28
4
votes
3 answers

Capybara+RSpec: Can it be used for any web app?

I saw the railscast at http://railscasts.com/episodes/257-request-specs-and-capybara which describes how to use Capybara with RSpec on a Rails application. Is it possible to use Capybara/Selenium to test a web application over which you have no…
Jay Godse
  • 15,163
  • 16
  • 84
  • 131
4
votes
6 answers

White-Box/ Black-Box Testing: static or dynamic?

Here is what I understand: Dynamic testing is testing that is performed when the system is running. Static testing is performed when the system is not running. Black-Box testing focuses on functionality and is performed without knowing the internal…
KB7
  • 41
  • 1
  • 1
  • 2
4
votes
1 answer

Register multiple blackbox exporters in one job in prometheus

I have my probe job configured on prometheus side like this: - job_name: 'probe-job' params: module: - http_2xx scrape_interval: 2m scrape_timeout: 10s metrics_path: /probe scheme: http static_configs: - targets: ['xyz/api/serverping'] -…
Matej
  • 565
  • 2
  • 9
  • 21
4
votes
1 answer

Android Espresso Black Box Testing

I'm trying to conduct Black Box testing on a 3rd party apk file using Android Espresso. I don't have access to the source code of the 3rd party apk file. So, I'm able to get the UI element ids using UIAutomatorViewer. However, in the Espresso file,…
jameswfang
  • 109
  • 1
  • 8
3
votes
1 answer

How to handle modal dialog in pytest-qt without mocking the dialog

I am using pytest-qt to automate the testing of a PyQt GUI. The dialogs need to be handled as a part of the testing(dialogs should not be mocked). For example, file dialog that comes after a button-click has to be handled. There are 2…
3
votes
1 answer

White-box and Black-box testing of recursive functions

I learned white-box and black-box testing in terms of iterative functions. Now i need to do white-box and black-box testing of several recursive functions (in F#). take the following recursive algorithm for gcd: gcd (m, n) if (m % n) = 0 then …
sss
  • 115
  • 6
3
votes
1 answer

How to tell if a new activity appeared?

I'm doing some black box testing (using UiAutomator 2.0 btw, extending InstrumentationTestCase) and I need to know: 1 - when a new activity is created 2 - to know if it's the first time the activity is created I need this because there are some…
3
votes
1 answer

django test coverage with black box testing?

We are testing a Django applications with a black box (functional integration) testing approach, where a client performs tests with REST API calls to the Django application. The client is running on a different VM, so we can not use the typical…
3
votes
2 answers

Should I unit test concurrency?

I have a few methods that are impacted by concurrency. Specifically "Rush" (a.k.a Race) conditions. Should I unit test them or integrate/black-box test them? I think that setting up a unit test might be a rather difficult task, but also is…
Leonardo
  • 10,737
  • 10
  • 62
  • 155
3
votes
2 answers

Android black box testing tool

I am searching for a tool/software for black box testing of android apps. I researched for some of them-Robotium, Calabash. But these tools require access to the source codes. Also the tool should be free and opensource for use.
Punit
  • 149
  • 3
  • 9
1
2 3 4 5 6 7 8