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

Possible to redirect file to a console program as if the user typed the content?

I have a C program which uses a scanf to read a number and then prints the number. I want somehow to simulate the keystrokes by redirecting a file so I can make a bash script that is supposed to do black-box-testing. This is my program(prog): int…
Pithikos
  • 18,827
  • 15
  • 113
  • 136
0
votes
0 answers

Difference between black box testing, white box testing and grey box testing?

Difference between Black, White and Grey Box Testing? I'm expecting, the relevant and straight answer. I already tried in various ways but i need relevant and straight answer. If anyone answer my question im glad about it and i learn a new thing…
0
votes
1 answer

Test if an env variable was accessed in an external library in python

I am using google-cloud-tasks library to create tasks via a small python program. That program will be running inside a dataflow worker node. The default behaviour of the library is that it searches for credentials locally. But, if not found, it…
0
votes
0 answers

run selenium testcases for c# on gitlab ci (yml file )and generate reports

I am maintaining 2 solutions, one for dotnet core application and other one is for selenium project In selenium project I am giving url of that application which is on local host. Please guide me how to write yml file in gitlab. I have given path of…
0
votes
0 answers

Select value to test SQL condition

I want to ask about selecting test data for SQL: Assume that I have 4 tables: Books(id, book_name, price, quantity, del_flg) Students(id, student_name, start_date, end_date, del_flg) Borrows(id, student_id, borrow_detail_id,…
0
votes
0 answers

Blackbox testing. Can we modify the code and is it automated or manual?

I would like to ask a question regarding Blackbox testing I cite this site Black Box Testing is a software testing method in which the functionalities of software applications are tested without having knowledge of internal code structure,…
KansaiRobot
  • 7,564
  • 11
  • 71
  • 150
0
votes
0 answers

DRF based API external blackbox testing

I'm involved in the Django rest framework based project. Django and DRF are fantastic - I heavily cover complicated parts of my code with unit tests, using built-in DRF and Django testing tools. We also have a QA team in my project. The team is…
0
votes
0 answers

An old black box server with only TLSv1 connectivity with limited cipher suites available for handshake

I am developing a native android app in java, that needs to communicate with a server, which is very old and only have TLSv1 connectivity with limited number of cipher suites available. Building the app using Android Studio Chipmunk…
0
votes
0 answers

For black-box analysis of the outcome of a system call, is a complete comparison of before-and-after forensic system images the right way to measure?

I'm doing x86-64 binary obfuscation research and fundamentally one of the key challenges in the offense / defense cat and mouse game of executing a known-bad program and detecting it (even when obfuscated) is system call sequence analysis. Put…
J.Todd
  • 707
  • 1
  • 12
  • 34
0
votes
0 answers

How to write test cases using Equivalence Class, Boundary value, and Basis Path Testing

I have a method isPerfect(x) (with 4<=x<=10000) below, how to write test cases based on Equivalence Class, Boundary Value, and Basis Path Testing: public boolean checkPerfectNumber(int x) { if(x >= 4 && x <= 10000) { int sum = 0;…
0
votes
2 answers

Java, sorting analysis. Heapsort, Quicksort1, Quicksort2, Mergesort, given a blackbox

I was given a class in Java called BlackBox.java. There are four types of sorting methods in this class and they are called sort1, sort2, sort3 and sort4. It is given that we have Mergesort, Heapsort, Quicksort with the first place in the array as…
0
votes
1 answer

Blackbox testing of a simple java console app?

I have a very simple hotel management simple on the console and i am required to do its BlackBox testing. but I am clueless here. What can I test in a simple app like this??
0
votes
0 answers

Is black-box testing possible for Robotium Eclipse?

I started to learning about Android lately. Now i'm trying to test some random Application with Robotium with Black-box testing method with no sources code or ID. The app i tried to…
OtakuHuy
  • 1
  • 1
0
votes
1 answer

Eclipse, Java, Junit4, I want to blackbox test a jar file. Need a little help in setting up

We were given a jar file to do blackbox testing on the methods. I know one test is supposed to give us a runtime exception but I'm getting a null pointer exception. My question is do I have this setup correctly and do you guys know where I'm going…
Krio
  • 19
  • 6
0
votes
1 answer

yaml.scanner.ScannerError: mapping values are not allowed in this context (Python Black Box Testing help)

I am trying to run use PBBT to call in input of a .yaml file which will then run the .py file. But I keep getting the following error "yaml.constructor.ConstructorError: expected a sequence of test records in "input12sys.yaml",line 3 column 3"…
Daniel Rogers
  • 75
  • 1
  • 7