Questions tagged [software-testing]
45 questions
21
votes
1 answer
Generating inputs for random-testing graph algorithms?
When testing algorithms, a common approach is random testing: generate a significant number of inputs according to some distribution (usually uniform), run the algorithm on them and verify correctness. Modern testing frameworks can generate inputs…
Raphael
- 73,212
- 30
- 182
- 400
10
votes
3 answers
When testing n items, how to cover all t-subsets by as few s-subsets as possible?
This problem arose from software testing. The problem is a bit difficult to explain. I will first give an example, then try to generalize the problem.
There are 10 items to be tested, say A to J, and a testing tool that can test 3 items at the same…
wookie919
- 343
- 3
- 10
5
votes
1 answer
Finding minimal and complete test sets for circuits
I have been playing around with analysis of circuits and am trying to generate test vectors. In order to exercise the circuit in the manner I require, I need a vector that includes every change in the circuit's inputs where only 1 input toggles, but…
user6725995
- 53
- 3
5
votes
1 answer
Transition coverage for a DFA
Let $G$ be a directed graph, with a single source node $s$. I want to find a collection of paths that cover every edge of $G$ (i.e., every edge of $G$ appears in at least one of these paths), where each path must start at $s$. The cost of a…
D.W.
- 167,959
- 22
- 232
- 500
5
votes
4 answers
What's role of software verification in modern software engineering
There are standard courses in computer science faculties that teach software verification, yet modern software products (Operating Systems especially) require periodic updates and bugs are constantly found. Windows code is so complex, I don't have…
math boy
- 394
- 1
- 13
4
votes
0 answers
Is there difference between workflow-aware and non-workflow-aware optimal selection of web-service composition?
Small introduction. We have a task that consists of sub-tasks. Each sub-task can be implemented by some set of web-services. We want to find the best implementation of this task. "Best" means it has best values of QoS (availability, latency, cost…
Dmitrii Dushkin
- 141
- 2
3
votes
1 answer
How a Symbolic Evaluator Generates Test Input for this Example
Say we have some complicated function that determines if a string matches an XSS attack string, and throws an error or does something else in that case.
function somethingWithXSSVulnerability(x) {
var regex = /