Stack Exchange Network

Stack Exchange network consists of 174 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 [functional-testing]

The tag has no usage guidance.

0
votes
3answers
263 views

How do I test unreachable code?

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 ...
-3
votes
1answer
90 views

test class that include another class - Only one test or both

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 ...
0
votes
1answer
88 views

How do I create an integration test that tests multiple microservices without mocking?

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, ...
0
votes
2answers
109 views

Testing an underwriting engine

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 ...
2
votes
1answer
49 views

Functional tests for SVN management script

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 ...
2
votes
5answers
318 views

Unit testing and other forms of testing

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 ...
3
votes
4answers
307 views

Is there a valid reason to separate expectations from tests?

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 ...
2
votes
2answers
265 views

What are techniques to run acceptance tests in a cloud app without polluting the environment with test data?

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....
2
votes
2answers
335 views

What are the drawbacks of modeling (unit) test fixtures in JSON instead of using ObjectFactories?

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 ...
4
votes
1answer
3k views

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 ...
0
votes
1answer
217 views

AngularJS - is there a good reason why unit testing of angularJS controller should still be written alongside with e2e tests?

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. ...
9
votes
1answer
352 views

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 ...
3
votes
4answers
319 views

In a testing phase,can I raise a defect which has occured due to deployment issues?

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 ...
4
votes
2answers
109 views

How to test a web app (inc write paths) for acceptance or integration tests, without db access?

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 ...
1
vote
3answers
581 views

Is this testing practice unit testing, regression testing, and/or functional testing?

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 ...
3
votes
1answer
141 views

Functional testing of incomplete features

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 ...
5
votes
1answer
932 views

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 ...
4
votes
3answers
187 views

Should the developer provide steps/directions for SQA?

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:...
-1
votes
1answer
118 views

How many functional tests to write?

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 ...
-1
votes
4answers
539 views

Should a test scenario prepare all of its required data? [closed]

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 ...
5
votes
5answers
568 views

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 ...
7
votes
2answers
3k views

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, ...
3
votes
1answer
240 views

How do you properly test a complete software replacement

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 ...
2
votes
1answer
652 views

Side-by-side Functional and Acceptance Testing (SpecFlow)

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 ...
0
votes
2answers
332 views

Integration Tests - How much is too much? [duplicate]

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 ...
1
vote
1answer
4k views

How to pass object generated by certain test class to another test class using webdriver and testng

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 ...
0
votes
1answer
323 views

Testing process on life critical systems [duplicate]

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 ...
1
vote
3answers
555 views

Generating test data for a search application

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-...
5
votes
3answers
570 views

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 ...
4
votes
0answers
166 views

How do you prevent confused tests? [duplicate]

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 ...
2
votes
3answers
315 views

Test Data in a Distributed System

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 ...
1
vote
3answers
109 views

Is it okay to test multiple similar files in one functional test

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 ...
3
votes
2answers
1k views

Unit Tests work but there are still bugs?

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) ...
0
votes
1answer
3k views

Why is black box called functional testing when it tests also non functional?

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. ...
6
votes
2answers
2k views

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 ...
7
votes
4answers
838 views

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) ...
3
votes
1answer
5k views

Difference between functional test and integration test

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 ...
12
votes
6answers
2k views

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 (...
6
votes
3answers
772 views

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 ...
2
votes
1answer
242 views

Link between tests and user stories

I have not see these links explicitly stated in the Agile literature I have read. So, I was wondering if this approach was correct: Let a story be defined as "In order to [RESULT], [ROLE] needs to [...
0
votes
1answer
451 views

Should tests be in the same Ruby file or in separated Ruby files?

While using Selenium and Ruby to do some functional tests, I am worried with the performance. So is it better to add all test methods in the same Ruby file, or I should put each one in separated code ...