Questions tagged [end-to-end]
16 questions
4
votes
2 answers
End-to-end and UI testing in microservice-architecture?
We're in a process of moving from a huge old monolithic architecture towards microservice one.
UI-centric Product
Our product (which is mostly a large single-page app) is quite UI-centric. Thus the current codebase includes lots of automated UI…

Andrew Khmylov
- 149
- 1
3
votes
1 answer
Testing against a customer's environment before releasing
"In my company, we have this distributed system over Kubernetes. Some microservices are shared among all customers, and others are up to them to upgrade. This system has to interact with A LOT of customer's services (VPNs, private APIs, databases,…

brandizzi
- 172
- 12
3
votes
1 answer
What do you unit test in your angular applications?
I am currently working in a team, which, when I joined them did not do any sort of unit or integration testing.
Over the last 2 years I have bit by bit pushed dotnet unit testing to a point where it is now considered part of day to day workflow.…

Web Dev
- 425
- 5
- 10
2
votes
1 answer
Abstracting end-to-end test cases across multiple pages
I am using Protractor and Jasmine to create end-to-end tests for a webpage. To test this initial page, I have abstracted made some common utility functions to create about 20 test cases for this particular page. An example of this is…

LanceLafontaine
- 1,241
- 2
- 9
- 8
1
vote
5 answers
Hypothetically if every scenario were covered by an end-to-end tests, would unit tests still have any value?
Note: I'm asking about the strategy behind unit / integration / end-to-end tests, not about classifying tests as one or the other.
More so in the past than present, it was expensive to write and run end-to-end tests for every possible scenario. Now…

Andrew Cheong
- 425
- 2
- 9
1
vote
1 answer
By what criteria should automated end-to-end test implementation work be allocated?
Assuming that the entire product team has agreed that implementing some automated end-to-end tests* is worthwhile in the first place... By what criteria should the workload of implementing automated end-to-end tests be distributed between developers…

Will
- 712
- 5
- 12
1
vote
1 answer
Automated test for code that takes a bunch of input data and outputs a bunch of data - should it be split up?
I'm about to write a program and test(s) for it. This question is about how to structure the top-most level integration test.
At the top level, the main program takes a chunk of data, and outputs another chunk; specifically, it takes in a whole load…

Jodes
- 839
- 6
- 12
1
vote
0 answers
Test for PHP Errors using Browser Emulator (Mink)
I want to know the most robust way of checking for PHP error messages when running automated tests that interact with a PHP application via a browser emulator.
The reason is: I use Behat, Mink and Selenium/Webkit/etc to test my PHP applications in…

Jodes
- 839
- 6
- 12
0
votes
2 answers
should a single end-to-end test aim to validate a scenarios or a specific feature of an application
I am currently working on a web product where we have a testing strategy that includes end-to-end testing.
Our tech lead is of the opinion that each e2e test should only validate a single feature. For example, we would have a test for creating an…

Joulin Nicolas
- 109
- 1
0
votes
1 answer
The correct relationship between unit and end to end tests
I am writing tests for an algorithm that is built up of several consecutive stages. Each such stage has its own set of unit tests.
I want to check that the whole algorithm performs as expected, but am not sure how to approach end to end testing…

krezno
- 167
- 5
0
votes
2 answers
Who should write e2e tests?
I understand that preparing test cases and scenarios that goes through the whole system stack should be written by a QA person. But my question is with automating these tests, and I mean specifically e2e tests. Who should be responsible for the…

Sisyphus
- 369
- 2
- 13
0
votes
2 answers
Does it make sense to combine code coverage result for unit test and e2e test
In my company, there is a KPI about code coverage. We measure results by code coverage percentage.
So we combine code coverage result of unit test and end-to-end test together.
Does it make sense to do this?

Sarawut Positwinyu
- 511
- 6
- 16
-2
votes
3 answers
How to identify scope of end-to-end automation testing?
We are struggling in deciding scope of end-to-end tests. As per our understanding, we have automated the form exactly the way users interact with it. below are the steps user perform while submitting the form.
Step 1. User fills the form
Step 2. If…

ssharma
- 169
- 4
-3
votes
1 answer
Registration feature integration testing(Acceptance Testing)
I would like to add integration testing/automated acceptance testing for a mobile app calling a registration API from the backend. I will register a sample user on the test feature then delete the user on tearDown. Something like…

xitnesscomplex
- 3
- 2
-4
votes
1 answer
A request's round trip time monitoring at microservice production best tools and practices?
I've a microservice's system at production which provide an API to the outer world. Along with each service monitoring via monitoring tool ( Prometheus, zabbix, etc.) of course it's highly desirable to monitor every single request's round trip time.…

cpu
- 1
- 3