Skip to main content

Questions tagged [functional-testing]

4 votes
3 answers
320 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
288 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
289 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
389 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

15 30 50 per page