Skip to main content
The 2024 Developer Survey results are live! See the results

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
0 votes
0 answers
10 views

Measuring black box code coverage in xcode

I am trying to measure code coverage for an iOS app on xcode. Is there any way to measure this? Everything that I have seen online mentions opening the scheme editor and turning on code coverage but ...
Victor X's user avatar
0 votes
1 answer
60 views

Should unit tests include validation? [closed]

Say I have an object called File which exposes three methods: WriteRecord, Iterate, and GetSize. The contract for WriteRecord is that it returns false if the input would cause the File to exceed 16kb. ...
squidword's user avatar
  • 485
0 votes
1 answer
57 views

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 ...
Aishwary Shukla's user avatar
2 votes
2 answers
2k views

Prometheus x509: certificate signed by unknown authority

I was trying to monitor one of our webservices by using Prometheus but I faced some problem for some our endpoints. my prometheus.yml job_name: 'blackbox' metrics_path: /probe params: module: [...
CaglarAyhan's user avatar
1 vote
0 answers
42 views

Test Method relies on order of a privately constructed object

source code/instructions (pages 20 and 21): https://github.com/head-first-csharp/fourth-edition/blob/master/Downloadable_projects/Chapter_9_project.pdf I am building the GoFish project from Ch9 of the ...
Collyn Brenner's user avatar
1 vote
1 answer
769 views

Binary search on array with duplicate

First time posting here, so apologies in advance if I am not following best practices. My algorithm is supposed to do the following in a sorted array with possible duplicates. Return -1 if the ...
bbt_wb's user avatar
  • 21
0 votes
0 answers
36 views

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 ...
David Kwan's user avatar
-1 votes
1 answer
422 views

How to automation testing with a Console Application with already test cases set

I just complete a Java CONSOLE application for Student Management. I received a test case set (pdf file contains lines follow according to the requirements of the application) build based on the ...
Ohos's user avatar
  • 1
0 votes
0 answers
24 views

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 ...
J.Todd's user avatar
  • 807
0 votes
0 answers
258 views

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) { ...
ranmeo123's user avatar
1 vote
1 answer
6k views

Prometheus blackbox exporter failing https but not http

I have the below config for a module. The only thing this module is used for is a website that returns a 403. When using http it works fine when using https it fails. proxy_http_4xx: prober: ...
Brandon Kauffman's user avatar
2 votes
0 answers
145 views

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 ...
Piotr Wasilewicz's user avatar
0 votes
2 answers
116 views

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, ...
Grétar Már's user avatar
0 votes
1 answer
242 views

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??
Rana Ibtisam's user avatar
0 votes
0 answers
83 views

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 test: https://play....
OtakuHuy's user avatar

15 30 50 per page
1
2 3 4 5
8