Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

Questions tagged [functional-testing]

Filter by
Sorted by
Tagged with
4 votes
3 answers
313 views

Not long ago while I was exploring for solutions to test without mocks I've found out about the functional core, imperative shell architecture. It sounds great, I also think that it would play nicely ...
 sentientbottleofwine's user avatar
2 votes
3 answers
1k views

I'm programming a .NET WebApi application from services. What is the scope of an integration test within the following schema? Order creation scenario: Order is created -> stored in db -&...
Petr Klekner's user avatar
-3 votes
2 answers
401 views

In tests, state verification or collaboration verification is usually undertaken. One of the drawbacks of this approach is the coupling of tests to the design of constructs. Consequently, when ...
Kaveh Shahbazian's user avatar
0 votes
1 answer
286 views

Let's say we have a simple application that uses a popular approach as Controller -> Service -> Repository pattern under a framework. We would like to write integration tests and start from ...
memoricab's user avatar
  • 109
3 votes
1 answer
97 views

I'm writing the sort of tests which go through a whole user scenario e.g. User clicks "edit profile" User edits their name etc. However, I find myself needing often needing to test small ...
samfrances's user avatar
  • 1,095
1 vote
1 answer
286 views

I am writing functional tests for my application that scrapes some data online then sends the results in an SMS text (on a weekly basis). My understanding is that functional tests are meant to test ...
Cherise's user avatar
  • 69
5 votes
2 answers
470 views

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 ...
user1474326's user avatar
0 votes
3 answers
386 views

I'm trying to test an API (see API testing). Some operations depend on time. Here are some examples: A post may only be edited within the first 5 minutes You may not try to login more than 10 times ...
Shoe Diamente's user avatar
5 votes
2 answers
1k views

I have an API I wrote that I want to test at the API level. Given that I'm testing from an external point of view, how can I manage data sets for each tests? The simplest solution I could come up ...
Shoe Diamente's user avatar
4 votes
4 answers
636 views

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 ...
gibson's user avatar
  • 167
9 votes
4 answers
7k views

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 ...
Peppermintology's user avatar
7 votes
3 answers
470 views

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 ...
Adam Thompson's user avatar
3 votes
3 answers
3k views

Let's say your company sells software that comes with customizable text, and your team's job is to customize it. The client engagement includes a contract in which the client specifies all of the text ...
John Wu's user avatar
  • 27k
-4 votes
1 answer
128 views

i have a sytem a that include system b and return the result. simple!. concrete example an API, one controller that internally call another class then perform the operation. route --> controller ...
BruceStackOverFlow's user avatar
1 vote
1 answer
1k views

I understand the concept of mocking API responses and their uses in unit testing, but in functional/integration testing, I actually don't want to mock because that defeats the purpose. For example, ...
john's user avatar
  • 141
0 votes
2 answers
135 views

I made a post in relation to this question on the SQA here but thought I would post on this board as it's more active. I'm testing an underwriting engine with a front-end interface that asks a ...
ahu77's user avatar
  • 21
2 votes
1 answer
206 views

I have a Python script which is responsible for updating SVN repository (in a nutshell) and checking it. Now I'd like to write some functional tests for the script. To check whether SVN update has ...
mchfrnc's user avatar
  • 121
2 votes
5 answers
431 views

This may be a silly question but if I have good unit test coverage, does that mean I can reduce the amount of, or remove completely, functional and integration testing. When people talk about having a ...
user2669338's user avatar
3 votes
5 answers
622 views

I've inherited an application that has a suite of tests that drive me batty. But one of the design decisions that this test suite takes that completely leaves me scratching my head is the separation ...
salvobeta's user avatar
2 votes
2 answers
445 views

We are writing a cloud application in a micro-service architecture. We have good unit and integration test coverage for the individual services and we have a set of (public) API level acceptance tests....
c_maker's user avatar
  • 8,310
1 vote
2 answers
2k views

When writing java tests for an application, be they unit tests or testing a broader scope, the java community tends to model fixtures in terms of object factories that produce fixtures of a defined ...
Kiriakos Krastillis's user avatar
7 votes
1 answer
6k views

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 ...
user2308097's user avatar
0 votes
1 answer
305 views

Given the official tutorial of angularJS, https://docs.angularjs.org/tutorial/step_07#testing It is apparent that it only tests the controller's states (e.g. its model) when events happen (e.g. ...
Xegara's user avatar
  • 191
9 votes
1 answer
606 views

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 ...
Winter's user avatar
  • 705
3 votes
4 answers
1k views

For an example, In a testing phase if i got a defect which is due to some delayed job restarting,can I raise it as a bug? In our project,devteam merges and deploy their codes into test site. usually ...
user258755's user avatar
3 votes
2 answers
159 views

We are having problems in testing routes that modify the data in our API. For example the test that deletes a resource will fail if run the second time. Also due to business logic you can't create ...
Stefan Rogin's user avatar
1 vote
3 answers
1k views

In a project, its program is written in C++, and implements some http service. The testing program for the project is written in Python. The Python testing program doesn't call the C++ project ...
Tim's user avatar
  • 5,555
3 votes
1 answer
442 views

I've had several tasks where I'm to do functional testing (and to be writing automated test scripts) on features that are not actually complete. For example, CRUD testing on a project to make sure ...
8protons's user avatar
  • 1,389
5 votes
1 answer
2k views

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 ...
8protons's user avatar
  • 1,389
4 votes
3 answers
232 views

New to the field of QA, I've been asked to do SQA for a project that I'm unfamiliar with and that is close to completion. An example of a specific functional task to be tested looks like the following:...
8protons's user avatar
  • 1,389
-1 votes
1 answer
231 views

It is quite easy to cover your code by writing tests first using TDD and you know that when to stop once you implemented a feature. For me it is trickier to decide how many functional tests to write ...
Eds's user avatar
  • 117
-1 votes
4 answers
889 views

Consider a BDD scenario with some given steps that refer to existence of a set of data in database. For example consider the following scenario steps: Given there is an active customer When as and ...
Polymorphic's user avatar
6 votes
5 answers
3k views

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

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, ...
Nelfo's user avatar
  • 191
3 votes
1 answer
373 views

We have System A (an application and a database) that is built for a specific business department and therefore has business aligned data model and table structure. System A is a mission critical ...
rro's user avatar
  • 279
2 votes
1 answer
1k views

Edit: I have found a closely related question: StackOverflow This question is not about the differences between functional and acceptance tests! Almost all the info I could find on the web just ...
Riegardt Steyn's user avatar
1 vote
2 answers
627 views

First of I'm not sure if I chose the right name for my question, I'm not sure if they are functional tests or integration ( or other ). I'm talking about tests which test (or it should) the app from ...
Marius.C's user avatar
  • 119
1 vote
1 answer
6k views

I am contemplating on creating a public api for my team to use that will encapsulate the workings of webdriver and testng as it's main tools. Primary to the concern is re usability of code when ...
johan.i.zahri's user avatar
5 votes
3 answers
2k views

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 both ...
Ali Shaikh's user avatar
0 votes
1 answer
634 views

I currently work in web development - unit testing, functional testing are all good and really are part of what is considered being a professional developer. However, I also have a fear of flying and ...
user1189880's user avatar
3 votes
3 answers
1k views

I have a general question about testing search applications, and what I'm looking for is pointers to resources on the topic that I can go and research on my own. I've tried semi-informed, semi-...
RuslanD's user avatar
  • 731
5 votes
3 answers
744 views

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 ...
Karl Cassar's user avatar
4 votes
0 answers
190 views

Testing code for correctness is important. Whether you do strict TDD or not, tests are really the only way a project can scale in size beyond a point where every team member can reasonably keep all ...
David Cowden's user avatar
  • 2,913
2 votes
3 answers
724 views

A question that has been vexing me lately has been about how to effectively test (end-to-end) features in a distributed system. Particuarly, how to effectively manage (through time) test data for ...
Davin Tryon's user avatar
  • 1,285
1 vote
3 answers
380 views

I've a functional test using Junit which tests delivery of xml file to an end-point. XML file is sent by client, so I copied it to a test folder, read it from there in my test and do asserts. We ...
Charu Khurana's user avatar
3 votes
2 answers
2k views

Brief History I am new to Automated Unit Testing and Mocking objects world; previously we used to do Unit Testing (including Integration Testing and we mistakenly referred that as Unit Testing) ...
Devesh's user avatar
  • 445
0 votes
1 answer
3k views

This has been bothering me for a while. Security, performance tests etc. are all done typically using the black box approach. But these are nonfunctional,while black box is called functional testing. ...
John V's user avatar
  • 4,946
6 votes
2 answers
2k views

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 ...
Mik378's user avatar
  • 3,926
7 votes
4 answers
866 views

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) ...
Theodor's user avatar
  • 309
3 votes
1 answer
5k views

I am deeply confused the difference. I've read so many definitions and they always explain functional test as testing the requirement is satisfied. Well, that's just rephrasing the name functional ...
CppLearner's user avatar