Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [best-practices]

The tag has no usage guidance.

0 votes
0 answers
26 views

BDD Feature Files structure guidelines

Continuing on from BDD Feature Files guidelines Say I have 10 feature files testing user actions 1-10, 1-Fund transferring, 2-Display balance, 3-etc feature files: In 'Fund transferring', login, ...
Rincewind's user avatar
0 votes
1 answer
56 views

One Tests or Multiple Separate Test Automation BDD

How the system works (UI) Registration Form > Redirect to Another Page with Products (based on the submitted in the registration form) (backend) API will check the validity > Valid or not it ...
wizaiz's user avatar
  • 3
1 vote
1 answer
419 views

Unit testing function that reads from pdf - Having dedicated external files?

I am relatively new to automated testing and although I understand the basics to be able to "do it" I don't know much about what are best practices and why. Specifically I am trying to ...
Alvaro Aguilar's user avatar
1 vote
1 answer
296 views

Best practice for UI testing an app in kiosk mode

I have a Windows 10 UWP app that runs in kiosk mode in production, and I'm wondering what the best practice would be if I want to create automated UI tests for it. Like, how necessary would it be to ...
Amanda_Panda's user avatar
3 votes
2 answers
1k views

Whats the best approach to select elements for automated testing?

I read following in cypress's best practices. Anti-Pattern: Using highly brittle selectors that are subject to change. Best Practice: Use data-* attributes to provide context to your selectors and ...
Rnj's user avatar
  • 131
0 votes
4 answers
266 views

Automate the stable build only

I have the understanding that Automation Scripts need to be built on a stable build (application). I mean once manual QA signs off, to reduce their burden on regression/repeated testing, we Automate ...
paul's user avatar
  • 697
0 votes
3 answers
135 views

Assertion on static value or calculated one

This may be more of a theoretical question than a practical one, but I'd like to know the community's opinion. Some context: On some integration UI test, in which we are testing that a field ...
ggonmar's user avatar
  • 103
5 votes
4 answers
3k views

Strategies for discovering undocumented API

Inspired by this question: How to approach API testing. The first point of a checklist in the above question is "API Endpoints". But, what to do when you don't have the endpoints documented because ...
Mate Mrše's user avatar
  • 4,119
1 vote
1 answer
227 views

Number of actors in E2E tests

We have roughly 30 Cucumber tests and a few actors that run these tests that have been created based on our service's personas. Exemplifying this: We have a C2C ecommerce platform and an user. Users ...
XCore's user avatar
  • 111
1 vote
3 answers
955 views

Is there a better way to code-review JMeter test-plans?

TLDR - What is the best way to review JMeter Test-Plans stored in a GitHub repo? Currently, the code-review process that my performance-test team uses is somewhat cumbersome and of questionable ...
Kenneth S's user avatar
6 votes
4 answers
12k views

How to inspect elements on pages with 'loading' spinners?

Note: This is intended as a Q and A post for sharing successful strategies. Please, feel free to add more solutions! Problem background: Automating a web application Tester with limited access to ...
Mate Mrše's user avatar
  • 4,119
-1 votes
2 answers
357 views

Do you test methods that return queries from the database?

I just want to know if you test the output of a query with unit testing. Is this considered good practice? For example you have a method getUsers() getUsers(){ // Overly simplified return ...
user37389's user avatar
1 vote
0 answers
54 views

Is it possible to write good Code (create a good code framework) AND use Cucumber (or another Gherkin tool)?

When I look at the code Cucumber outputs, it does not seem to follow best practices (or any moderately good practices) for writing a testing framework. Question: Is there a way to use Cucumber and ...
Fractal's user avatar
  • 149
5 votes
3 answers
384 views

How often should system tests be run?

As soon as a developer pushes a commit, our Jenkins run unit tests, then integration tests (e.g. just backend) and finally system tests (e.g the whole app: backend, frontend, platforms, etc). The ...
qaaaa's user avatar
  • 51
1 vote
2 answers
107 views

What are important rules of static analysis to use in our automated scripts?

I am fan of improving the quality not only of the product I test but also for the test itself. I want to create other customized rules for integrating with sonarqube that does not exist in classic ...
Emna Ayadi's user avatar

15 30 50 per page