Questions tagged [functional-testing]
51 questions
13
votes
6 answers
We are spending more time implementing functional test than implementing the system itself, is this normal?
Basically, we have three main projects, two of them are web services, and the other is a web application. While I'm satisfied with covering as much as we can of our web services with functional tests (all three projects have their proper unit…

Pablo Lascano
- 279
- 2
- 6
9
votes
4 answers
Should tests perform a single assertion, or are multiple related assertions acceptable
Assume a client is making a request to an API endpoint that returns a JSON response where the structure and data change depending on whether the request was successful or not. Possible responses may look as follows:
Scenario with a success…

Peppermintology
- 365
- 3
- 13
9
votes
1 answer
How to manage non-unit tests in a project?
I have some code in my project I personally call tests that are not unit tests. They are meant to be run and the result has to be evaluated by a human. I did this because I'm making a physics engine and during development, I needed to see what I'm…

Winter
- 705
- 8
- 24
8
votes
1 answer
Integration vs Functional Testing
Alright....so this is driving me nuts as I'm trying to encourage the team to write more tests yet here I am unable to determine whether the following example is considered an integration or a functional test case.
Consider the following:
We have…

user2308097
- 485
- 8
- 10
7
votes
3 answers
Is checking for unexpected types in dynamic languages in an untyped project necessary?
In statically typed languages or dynamically typed languages that use a type checking system you can guarantee that the input type is the type that you specified in the contract.
However, in dynamically typed languages without type checking systems…

Adam Thompson
- 1,243
- 1
- 9
- 14
7
votes
2 answers
The concept of "quality gates" in software testing
We are using SonarQube for code quality testing. It tests the quality of code, and not the function of code. It has the concept of quality gates, so you can set for instance a 90% quality gate, meaning that anything over 90% quality is considered a…

Fo.
- 191
- 1
- 5
7
votes
4 answers
Is this a test smell or is it even worse?
I have recently been looking at some testscripts which looks a bit like
...
try {
receiveSomething();
// something was received even though it shouldn't
failTest();
} catch (TimeoutException e) {
// nothing should be received
…

Theodor
- 309
- 1
- 7
7
votes
3 answers
Functional testing before code checkin
I am working on a project with legacy code where it does not have much code coverage. One of the idea to improve that is to enforce a rule that each code check-in must have test, not only test but functional test as well, so that we can verify that…

bond
- 231
- 1
- 3
6
votes
5 answers
What are the best practices for managing Test results
We are using GitHub for managing source code and waffle board for managing workflow/issues.
Right now when we test the system using custom written test cases, it generates a CSV file. We want to be able to keep a record of these test results, so we…

user3711455
- 69
- 3
6
votes
2 answers
Functional testing and Acceptance testing leading to redundant code
What I know is:
A Functional test aims to test a single component (like a WebApp's Controller) from the point of view of the developer. => Did I achieve all the requirements to make it work well?
An Acceptance test aims to to test a group of…

Mik378
- 3,838
- 7
- 33
- 60
5
votes
2 answers
Doesn't "Always test through the public interface" contradict testing of individual composed functions?
I'm currently reading "Composing Software" by Eric Elliott, which is about functional programming in JavaScript. He states that if you compose multiple functions together, and that these functions have been fully tested in isolation - then you don't…

user1474326
- 59
- 1
5
votes
1 answer
Automated Tests on Dynamic Content
I'm doing SQA work for several Kendo-based sites that have many tables (some are hand-made by our devs). These tables have a lot of rows, columns, pages, and data filled in them- so I'm basically doing SQA on very dynamic content.
I'm trying to…

8protons
- 1,359
- 1
- 10
- 27
5
votes
3 answers
What is Black Box Testing? Are Functional and Usability Testing its types?
I am writing about testing and I am confused about the following:
What exactly is Black-Box testing?
Are functional testing and Usability testing two different types of testing and are they types of Black Box testing?
I have to perform two different…

Ali Shaikh
- 255
- 1
- 3
- 9
5
votes
3 answers
automated acceptance testing / BDD & workflow for designing a system
Recently, I started reading the book Specification by Example, which relates to automated functional testing and BDD (from what I've understood till now).
I've tried using Concordion (.Net), and seems very interesting. I've been having issues with…

Karl Cassar
- 271
- 1
- 11
4
votes
4 answers
How to comprehensively test software that doesn't play well with testing?
I'm currently working in a project that aims to implement automatic testing of a software package. You can imagine this software is a bit like Excel in that it has a workspace that contains all the data, and a user interface that executes code that…

gibson
- 167
- 4