Questions tagged [test-design]

Use for questions about designing tests, specifically selecting test techniques to use in specific circumstances.

Filter by
Sorted by
Tagged with
0
votes
2answers
78 views

How would you test this form designed for adding and editing tables in a relational database?

I am having a problem with test cases. I have never tested before the forms that add tables in relational database and I am not sure what is the good approach - should I write down test cases that ...
6
votes
1answer
84 views

ORM validation and testing

Writing a web application we have many places where validation takes (or potentially could take) place: - front-end application form - front-end application service - back-end application view ...
-1
votes
1answer
48 views

BDD in testing how do you organize your steps?

As the title says I'm trying to implement my tests with BDD but I'm unsure how to structure it correctly. I have a separate folder where I keep my steps. I kinda want it to be one large file because ...
15
votes
7answers
43k views

Difference between requirement, use case, and scenario?

I've taken a class on software testing best practices and test design. In the content, they have a model that basically shows that the three items are derived in this way: Requirements > Use case &...
2
votes
3answers
2k views

What are some real world examples of Scenario testing?

Please provide some real-world examples of performing a scenario test on a web application, desktop software, mobile app or anything. How is a scenario test different from other types of test ...
0
votes
1answer
27 views

Draw a program graph over multiple methods

How to draw a program graph similar to but with multiple methods? As it seems the flow of data across methods are not necessarily in the order of declaration. Mulitple Classes public class Temp {...
10
votes
6answers
2k views

How many test steps are allowed in a single manual test case?

I have been writing Test Cases for half a year as of now. My question is: How many test steps are allowed only in one test case? For example more than 6 steps is not allowed or depends on ...
10
votes
8answers
2k views

What is Test Automation Framework?

I am a complete beginner in Test Automation and could not find a good answer on the web. Some automation engineers use an underlying automation framework as a jar dependency in their selenium web ...
2
votes
3answers
2k views

How does Boundary Value Analysis work?

In a flight reservation system, the number of available seats in each plane model is an input. A plane may have any positive number of available seats, up to the given capacity of the plane. Using ...
4
votes
1answer
70 views

How to create input data for unit tests for an API client?

I am building the initial set of unit tests for my team's legacy API client system. We have been writing integration tests, but have no unit tests. It's a Sinatra server that accepts requests from our ...
1
vote
0answers
70 views

Consumer-driven Contract Testing

I've just come across the term consumer-driven contract testing and, working as a QA, was wondering a few things: What does this actually mean in laymans terms? Who would generally execute this type ...
5
votes
9answers
43k views

Test data to test form input fields?

I am testing web based user profiles forms which have multiple fields like input box, radio buttons, checkboxes, combo-boxes, alphanumeric fields etc. what are some good tests that I can run to find ...
3
votes
1answer
61 views

High-level help desired in forming a plan of attack for testing of background “cleanup” tasks

I have written and continue to maintain a fairly complex back-end service written in Java that scrapes arbitrary web sites, involves long-running processing jobs, and includes background tasks that ...
0
votes
1answer
348 views

Different Scenarios for two elevators programmed to different floors

Assume there are two elevators programmed for stopping in odd and even floors. i) What kind of test we need to do to ensure that the elevators working fine without any hassle. ii) What are the ...
3
votes
3answers
147 views

How to handle bottle necks in agile testing procedures

We have a problem in our development team, the development throughput is much higher than our QA members can test. Our test team found itself in a situation where a new feature needs to be tested ...
15
votes
6answers
6k views

Is inverted test pyramid really anti-pattern?

I know that the inverted test pyramid, i.e., having more end-to-end tests than unit tests is an anti-pattern. However, I've started to think, what could be advantage of having less unit tests then ...
2
votes
3answers
94 views

How do I test a ranking system?

Let us assume we have 3 students in a class who have secured the below marks. =============================================== | | Maths | English | Science | Rank | |-------------------------...
5
votes
0answers
47 views

How to load test video streaming with traffic, internally?

We use centos 6, apache prefork, PHP 5, MySQL, and we have Wowza streaming engine on a different server. Nothing is on the cloud, we have on-premise servers. We'd like to test a couple of things ...
7
votes
6answers
11k views

How to test dynamic GPS location in mobile

How to test my application for GPS location without travelling in real-time? Problem behind my query : I am in need to test a travel-based application where your location will change according to the ...
2
votes
1answer
379 views

Is it possible to edit 'hard-value' parameters of 'Call to Test' in HP ALM?

When you create Call to Test there is a choice to set Actual Value of each parameter in called test (let's name it hard-value). If you do not specify the value it's possible to specify it in Test ...
5
votes
2answers
235 views

What changes for testers when they are testing in agile environments?

We know that the whole development team is responsible for the quality of the product. If only the testers test, there can be no question of shared responsibility. Of course, the testers in the team ...
4
votes
2answers
161 views

Area of responsibility of a test manager within the agile process?

At first glance, Scrum doesn't say anything about how to test and who should take responsibility for it. Sure, it is always said that in Scrum the team is testing. But who bears the responsibility? ...
1
vote
2answers
54 views

Best way to architect test development in Python so that tests can be run either with a mock or without a mock?

I'm starting a fresh python project and I want to write unit and integration tests with mocking and stubbing. However, I would like to run these tests during the build-pipeline against actual services ...
1
vote
2answers
60 views

What strategies and test cases should I use to test in Agile development?

How do you build test cases vs user stories/features vs requirements? What is your test strategy in agile development model? What is automation test strategy in agile development model?
1
vote
2answers
110 views

What are some typical javascript, HTML and AJAX issues that I should write test cases for?

HTML rendering, Javascript and AJAX plays an important role in the development of modern web applications. How significant is JavaScript when designing test cases for a website that uses it? What ...
0
votes
2answers
74 views

What's the difference between behavioral testing and gray box testing, isn't the same? [closed]

I know that gray box testing is a combination between black and white testing and behavioral testing is mainly black with possibility that testers read design or code on the basis of their knowledge ...
0
votes
1answer
39 views

How many test cases can I run if I'm using domain testing?

I'd like to understand what is domain testing, and how do we use it to calculate coverage (if possible)? My question is imagine I have 3 loops in series and I'm using domain testing approach how many ...
-2
votes
3answers
352 views

AssertionError: verify response body as a test in postman

This is the response from Postman: { "data": [ { "firstname": "tahaq", "lastname": "postmanq", "accountenabled": "true", "email": "tahaiq@...
0
votes
2answers
150 views

What is the correct way writing e2e tests?

I have a task do create e2e for a web app, but I don't know what is the correct way doing it. For example: In app there is a possibility to add new employee, so the scenario is as described: Login ...
0
votes
2answers
60 views

Verify correct generation of documents

I am currently working on implementing a service which generates documents of different types (docx, xlsx,...) from templates. The question I now encountered is what the correct way is to test the ...
0
votes
0answers
41 views

Creation of Test Cases for Financial Reporting

I have been tasked with creating some test cases related to financial reporting using Microsoft Excel. I have a specific Microsoft Excel template which I have to fill in to create a good file. As in ...
2
votes
2answers
56 views

How can we test technical architecture for any product?

How does tester test the technical architecture of any application? is this really a test-related thing that can be done while the architecture is still being developed, In my project, We have below ...
0
votes
0answers
46 views

Integration tests and data used in these tests

I read a lot about unit and integration tests and how they work with maven and java and how it works with Continuous Integration. I am using Flyway for db migrations, the schema part is already done. ...
2
votes
4answers
2k views

How to write test cases when different test data gives different results?

Example test case: Check mobile bill payment after due date. For the above test case, different telecom operators have different sets of rules. For example, some allow payment after due date, and ...
3
votes
3answers
178 views

How to abstract data classes to be more object oriented?

I have run into problems keeping my tests as object-oriented as possible. I have had to rewrite large portions of my code multiple times now, and I feel that there is a better approach to what I'm ...
1
vote
0answers
27 views

Empty spaces in file name — testing and static analysis

Many -- especially older -- programs have or have had the problem that they could not be run in a directory with spaces (e. g. "C:/Program Files/xy"), but requested to be installed directly under C: (...
5
votes
1answer
181 views

Are there common techniques for testing the conformance of an implementation to a general contract?

Say you have defined some abstract interface and you specify a general contract for that interface to which all implementations must adhere. Are there common techniques that can facilitate testing the ...
18
votes
5answers
2k views

What Are Some Examples of Why Explicitly Sleep Statements Are Bad?

I've read various places that explicit sleep statements are bad practice in automated tests, even if I've used them occasionally. They can be annoying (creating unnecessary waiting in tests) but I can'...
-1
votes
1answer
36 views

Is there any course available online on designing ui automation framework using Selenium and Java?

Is there any good course available online that explains designing UI automation framework using Selenium and Java, integrating logging, reporting, etc. ? Maybe also talk about some best practices. ...
10
votes
7answers
20k views

How to test a toaster? (interview question)

I want to know how we should approach for testing real world objects. The problem that I faced before is to get the list of use cases from the interviewer. Whenever I asked what the real world object ...
6
votes
5answers
1k views

Writing test cases for a test with repetitive test steps

I have a task where I need to test payment through different payment methods (31 methods). What is the best practice in writing test cases with repetitive test steps? Should I just use "Repeat steps 1-...
6
votes
6answers
279 views

How can a software tester improve their note-taking skills while doing exploratory testing?

Should we take notes in a simple text file or should we take it in a fancy Excel sheet? How can we take effective notes that can be helpful while revisiting a testing module or application?
21
votes
9answers
3k views

Should application and automated test languages match?

If an application is written in a certain language, e.g. Python, Ruby, Clojure, etc. should Quality Engineers use the same language to write the tests? Should this be a decision that we can apply ...
3
votes
7answers
236 views

Should developers design unit based test cases prior to writing the tests

Background We are currently moving API testing from the Technical testing team to the development team. The technical testing team has a formal process where they write the test objectives and test ...
6
votes
2answers
416 views

Test isolation and automation

We are using Selenium web services for our automated functional testing. I have a test that tests the creation of some objects. If I run the same test again, I need to make sure that each test has a ...
9
votes
3answers
370 views

What criteria do I apply to a highly complex development project to warrant getting “real world” data?

Both the product I used to work on and the one I'm working on now have a fairly large and complex matrix of possible configurations, work-flows, and data scenarios. The one product had, no joke, ...
1
vote
0answers
56 views

How to test an application that implements some cryptographic stuff?

I want to implement the following homomorphic encryption scheme from On-the-Fly Multiparty Computation on the Cloud via Multikey Fully Homomorphic Encryption by Lopez-Alt et al. I use C++ and I want ...
1
vote
0answers
379 views

How can I set different parameters for two different calls to Call to Test in HP ALM

I have a test template Fill in account information with params: account_number, email_address. The template is called in test Legal entity registration twice and should be called with different ...
2
votes
0answers
49 views

Understanding semantic driven and symbolic execution based test case generation

I'm trying to understand aspects of automatic test case generation (tcg) from models. During my research, I came across two "techniques" called sematic driven tcg and symbolic execution based tcg. ...
2
votes
0answers
94 views

Outside or within remit - should a BDD scenario be created for this user request

Given the following overarching purpose (mission statement) for an application: In order to help keep a healthy and refreshing sleep regime, or in order to limit computer-related addictive behaviours,...

1
2 3 4 5
10