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

What is black box test?

I've searched through the web, but each source says differently. So I've made two kinds of test. The first one is the 'data cycle test' from TMap and the second a input-output black box test. Now I know that the black box test, is testing the…
2
votes
0 answers

pbbt and import python files

I want to use pbbt (Pluggable Black-Box Testing toolkit) for testing. Let's suppose I have that structure: ├──black_box_tests │ ├──black_box_settings.py │ ├──input.yaml and I want to import black_box_settings in yaml: py: | import…
Piotr Wasilewicz
  • 1,751
  • 2
  • 15
  • 26
2
votes
1 answer

Can I actually build and run an executable from the same package as part of a test suite?

It struck me that I do not really know of a way to black box test an executable packaged with Cabal. With npm, for instance, I can run arbitrary shell commands, and I surely can wire it so that the necessary sources are transpiled and executed, and…
2
votes
1 answer

macOS Xcode blackbox testing

I'm developing an app which is like a file-sync-client (like Dropbox). I'd like to have acceptance (black-box) tests kind of like: - (void) testLocalFolderCreation { // assert there is no folder on the server // create folder (either via…
mixtly87
  • 1,675
  • 15
  • 32
2
votes
5 answers

unit testing with rollback on database

I'm just starting to understand the importance of Unit Testing in a c# environment. Now, I'm wondering how do i implement a black-box unit test that does Inserts,Deletes and updates on a database and then cleaning up the data after a successful…
Martin Ongtangco
  • 22,657
  • 16
  • 58
  • 84
2
votes
0 answers

how to measure code coverage of an android app by running black box testing

I need to find code coverage of my android application by running black box test on real device. To do that we have any tools.
2
votes
1 answer

Unit tests strategy : redundancy using Black-box

I'am having an issue designing black-box unit tests without redundancy. Here is an example : class A { Float function operationA(int: aNumber){ if(aNumber > 0){ return aNumber * 10 + 5.2; } else if (aNumber <…
loic audiger
  • 53
  • 1
  • 5
2
votes
2 answers

How to blackbox files in the Chrome debugger with Source Maps?

I am using Source Maps in JavaScript. I put "debugger" in my code so that I could step through it but I end up down a very deep rabbit hole of library code and often give up. Even though I blackbox the library scripts, the blackboxing is ignored by…
2
votes
3 answers

Black-Box for example

I read about black-box testing on wikipedia. I would love to try to learn Black-Box testing techniques but the problem is that I can not find any site that provides Black-Box examples. Is there a site that does this? Perhaps websites like (only…
Roni
  • 127
  • 1
  • 17
2
votes
1 answer

The different Exception reporting

I am just thinking about java Exceptions. There are many different types and they all work for their own part. What I am curious about is the handling of them. For example try { //Protected code }catch(ExceptionName e1) { //Catch…
Nina
  • 99
  • 12
2
votes
1 answer

Blackbox Espresso test didn't find class on path

I was doing black box testing using Espresso. I followed the guide from another thread (Android Espresso how to write tests using apk?). But my test can't find class on DexPathList. The error message is: Caused by: java.lang.ClassNotFoundException:…
2
votes
0 answers

How to test Google+ sign-in with Robotium?

I created an LoginActivity using Android Studio "new project" wizard. I added dependency on Robotium and wrote a simple test, extending from InstrumentationTestCase: launchActivity("com.my.package", LoginActivity.class, new Bundle()); …
atok
  • 5,880
  • 3
  • 33
  • 62
2
votes
2 answers

Use Appium to black-test Android app

I am still learning Appium testing with Android app. I am wondering if this is doable. Let us say I have A.apk and I want to install A.apk to my Android device, then launch the app and try to click through each clickable link (button, help link,…
user908645
  • 317
  • 2
  • 3
  • 14
2
votes
5 answers

Whitebox and Blackbox testing

I ve been reading for the whitebox and blackbox testing. If im not wrong: Whitebox tests the implementation of a Software Program, but blackbox tests the inputs and outputs. Can someone please give me an example of a simple code for the both…
syiannop
  • 87
  • 1
  • 1
  • 9
2
votes
1 answer

How can one easily do black box automated testing across multiple platforms?

I work for a software development company that develops a certain application across multiple platforms: Web App, iOS, Android, Mac and Windows. We are looking for a way to do black box automated testing across all these platforms in an easily…