Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [test-design]

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

9
votes
2answers
794 views

How to make sure your test data are correct?

We are doing integration tests where we simulate manually data coming from external systems to our application. Integration tests task has become bottleneck in our team, because preparing test data is ...
0
votes
1answer
101 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 ...
4
votes
2answers
391 views

Using a system test framework that handles test dependencies

To explain better, if test B depends on test A, then if test A fails, then test B should not be run and fail implicitly if test A produces some output, then it should be available for test B I can ...
6
votes
1answer
172 views

Can a requirement be verified just by white or gray box testing?

I've read that if a requirement can't be verified by black-box testing or inspection, then it's not a requirement, but a design specification. I'm building a software that makes processing with on ...
4
votes
5answers
190 views

Making sense of performance regressions

Imagine a situation in performance regression testing where commit A is very deleterious to page performance, but does not trigger a failure - it's just under the level required to do that. Commit B ...
7
votes
3answers
1k views

Automated testing: focusing on testing controls vs. workflow

I'm in charge of regression automation on my team, and I need to add some new tests into our regression. Before I get started, though, there's an issue I'm struggling with: where is the line between ...
2
votes
1answer
807 views

Stability testing for open source operating systems

You can find quite an interesting panoply of open source operating systems to choose from. Being open source you can have access to a lot of their code, build systems, bug tracking, etc. As of this ...
8
votes
2answers
4k views

How does the DataSource attribute on a test run the test multiple times?

This is going to be a bit long/wordy/verbose, but I've been looking at it for a while and I think that I'm bad at explaining things because people seem to get confused about what I'm asking. You know ...
8
votes
1answer
221 views

Where to start with introducing a testing framework

This I hope won't come across too broad of a question. If you've been tasked with introducing testing process' for a web application developed in an 'agile' environment, released in 2 weekly cycles. ...
3
votes
1answer
407 views

Use case testing tools and methods

Is use case testing standard practice and if so could people point me towards some methodology and perhaps some tools. I was thinking that my Test cases could easily be represented via some type of ...
3
votes
2answers
125 views

Level of detail in a Scenario - when to stop

Scenario: Installer Link When user enters "product.company.com" into a web browser Then a hyperlink is presented to 'ProductSetup.exe' TODO: There is nothing here about presentation, e.g., ...
3
votes
1answer
132 views

What particular testing requirements do data driven applications have?

Different sorts of software need different approaches to testing. An interactive GUI-driven application will be tested in a very different way from a piece of middleware, for example. Specifically ...
4
votes
3answers
2k views

Repeat/common Test steps in multiple test cases - to do or not to?

I am trying to seek some input on what might be an efficient best practice. I have been told that end-to-end test cases might have certain steps that are being repeated on other test cases. Let's take ...
1
vote
7answers
361 views

Promoting Non-Functional Testing

What advice can you give for encouraging Project managers, and Developers to factor in tests for purposes of proving an application system's performance, resilience, capacity, scaleability etc beyond ...
3
votes
3answers
229 views

Why testing, by definition, cannot find deadlocks and stack overflows?

Sean M. Beatty says in "Where testing fails" article that "deadlocks, stack overflows, race conditions and timing problems cannot be detected by testing (whether it is code inspection, whide-box ...
5
votes
2answers
470 views

Should A Formal Test Plan For Dynamic String Testing Include All Combinations?

Situation: Large enterprise web application Formal test plan in HP Application Lifecycle Management (née Quality Center) Many dynamic text strings in the web application with several variables An ...
4
votes
2answers
5k views

Web application GUI automation best practices

Our team develops automation solutions for various web based products. I'd like to compile a list of patterns and best practices from the GUI web automation space that have been used and proven as ...
5
votes
1answer
172 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 ...
3
votes
3answers
5k views

Best practices for organising and naming test cases

I have a Python package which may contain several modules. Of course, I have unit tests, component tests, and functional tests. All of them are in package/module/test directories, most of them are ...
5
votes
3answers
287 views

Internationalization testing

By internationalization testing I intend testing application with one or more additional languages and one or more additional regional settings (locale). We expect a number of risks with ...
6
votes
2answers
5k views

How to test a location based application

Our application is location based. We have tested its main functionality, (using mock locations) and now it is time to test how it reacts on real cases using GPS. So, what are the main limitations ...
5
votes
4answers
369 views

Where to focus testing? On integration level or unit level?

Consider a modern web application that serves JSON through a REST API to a rich Javascript-based application with one or more single-page apps within it. Our own application is written using Angular ...
3
votes
1answer
733 views

Fitnesse editor with syntax validation?

We use Fitnesse with tens of project-specific fixtures to design the tests. However, writing the correct test is tedious, because of some trivial errors we make: Syntax errors: unclosed tables, ...
2
votes
2answers
661 views

Layer testing - How should I test data replication/update?

I have a development background and now I'm starting with software QA. While building a solution developers often create code which is shared among different platforms/applications. One example is the ...
1
vote
4answers
2k views

What are some good test cases in order to do License Key authentication while software is being installed?

I want to learn about: What could be the test cases to ensure the test coverage while any proprietary software is being installed using a license key. I wish to avoid (a) re-installation (b) multiple ...
5
votes
1answer
195 views

In performance testing, when have MFAT approaches been successfully applied (in addition to an OFAT approach)?

Background: MFAT = "Multiple Factors at a Time" OFAT = "One Factor at a Time" In the field of Design of Experiments, practitioners in a large variety of fields (including software testing) have ...
2
votes
1answer
123 views

What is the best practice for testing against modules which collect statistic

We have a distributed application which should be monitored. There are some modules which collect external data (disk usage, free disk space, CPU utilization, memory utilization, etc) and some ...
2
votes
2answers
1k views

What are the best practices for Integration Testing of a middle-ware?

I want to know about the best practices of Integration Testing for a middle-ware product. It includes several backends and also I want to test it over multiple platforms. The features of Clustering is ...
5
votes
2answers
120 views

Is there a name for this type of vector operation?

I often find myself wanting to generate a lot of negative test cases by mutating a known good set of inputs. Let's say I have a function that will accept (a, b, c) as an expected valid input for a ...
2
votes
2answers
953 views

Conditional statement for fail and error test outcomes in Selenium?

Say I have this function: def tearDown(self): """ clean up by closing the browser window """ self.driver.quit() I want to skip closing the browser if the test failed or errored out (so I ...
8
votes
4answers
2k views

Testing/Verifying Google Analytic code

I need help figuring out a test methods for Google Analytic. Our client pushes out a lot of marketing campaigns and they love using GA to track what is working, what is not working and where to focus ...
2
votes
2answers
527 views

test cases for conversation unsubscription in a email

I am a newbie at testing. The scenario described here is what happens when a user tries to unsubscribe from a conversation using Mailing list manager. To unsubscribe the user sends an email sample+...
6
votes
1answer
301 views

What are the first steps a tester should perform when using combinational testing?

Hypothetically, lets assume that I am testing the "Search and compare flights" functionality of this website*, and I want to apply a combinational testing technique. Where should a tester start this ...
6
votes
2answers
1k views

How to test the graphical contents of a bitmap or a PDF file?

The module I'm testing creates some graphical reports which include things like scatter plots and multipage line graphs. The bitmap will never be exactly the same between test runs, since some ...
4
votes
2answers
402 views

XMLs and JMS queue trigger to database - what to test?

I'm testing a system that involves XMLs from a JMS queue getting inserted into a database using a JMS trigger (webmethods). Firstly, I turn off the JMS trigger to let messages accumulate on the ...
6
votes
1answer
285 views

How can I use causal loop diagrams to help me test?

Causal loop diagrams seem like a really powerful tool for modelling a system - but I have no experience with applying them to my testing. Do you use causal loop diagrams? How do you use them, and ...
4
votes
2answers
233 views

IPv4/IPv6 dependency testing

Research from the Software Improvement Group has shown that 1 in every 12 applications behaves incorrectly when confronted with a dual-stack IPv4+IPv6 environment. How does Quality Assurance usually ...
8
votes
4answers
1k views

Test case design standards- friend or foe?

Currently we use an agile team based approach to testing, where each team is responsible for their specific area of a product. While we have found this to be effective and easily manageable, over ...
2
votes
1answer
375 views

Testing database transformation mappings

If regularly testing the creation of different datawarehouse tables using mappings from source tables. What do you suggest is the best approach or specific SQLs to do the trick?
2
votes
2answers
418 views

What new things need to be covered in Embedded Systems testing compared to normal manual testing?

Can you provide me with some common checklist for Embedded Systems testing please? What are the new things that are covered in this? And can you also advise me some interesting references for reading ...
5
votes
2answers
376 views

Test isolation and automation

We are using Selenium webservices for our automated functional testing . I have a test which tests creation of some objects. If I run the same test again, I need to make sure that each test has a ...
3
votes
1answer
147 views

xUnit tests patterns for testing threaded applications

Are there either any xUnit (or otherwise) design patterns or anti-patterns for testing threaded code?
8
votes
1answer
12k views

How to use Selenium's PageFactory annotations with dynamic loaded elements?

I'm rewriting some Selenium tests according to the page object design pattern taking advantage of Seleniums' annotations. My problem is that I have some html select elements whose option elements are ...
5
votes
2answers
179 views

Turning software testing into an internal service

I've been tasked with changing the focus of my team from a "can do everything" team into one that is more service orientated, i.e. we can provide the framework for your testing rather than being there ...
9
votes
1answer
3k views

What goes in a Testing playbook?

The concept of the Testing Playbook has been recently added to the list of possible tools in your Context-Driven toolset. The Playbook has been described as being similar to the list of plays that a ...
4
votes
3answers
152 views

Do I Need To Create Mock Classes For Every Class?

Let's say I have a system composed of three classes: A,B,C that share certain dependencies. To test A independently, I would need to create mock objects for B and C To test B independently, I would ...
-4
votes
1answer
2k views

Test cases for find and replace function of notepad [closed]

I have made a notepad in c and i want to add find & replace feature so i just want some test case for that feature so that it works fine in notepad editor.
-3
votes
3answers
380 views

Tester Versus Test cases written by the tester [closed]

I have always believed that a great tester is one whose test cases help in discovery of a lot of bugs in the product and not one who finds a lot of bugs in a product. In otherwords a team or a ...
7
votes
3answers
352 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, ...
6
votes
5answers
310 views

Workflow shortcut to meet the release deadline

When you design a test scenario or even when you run your tests and you stumble to lack of specifications from your marketing Dept. should you bypass them and take the initiative of making your own ...