Skip to main content
Filter by
Sorted by
Tagged with
2 votes
2 answers
902 views

I’m struggling to get StoreKit 2 to fetch products in my SwiftUI app while using a sandbox user. I think I’ve followed all necessary setup steps in Xcode, App Store Connect, and my physical test ...
Best practices
2 votes
0 replies
25 views

Let's say I have Worker class and I want to do long running tasks in the background until user stops it or it is cancelled. It changes state of the class while doing the work and I want to write tests ...
Tooling
0 votes
1 replies
29 views

I work on a NextJS project with Pages Router. We are using Jest for unit tests and Playwright for E2E. The application we are making is a funnel with several steps. Each step is a form with several ...
Best practices
0 votes
0 replies
44 views

I’m currently working on a personal Android project using Kotlin and Android Studio, following a basic MVVM architecture: ─main │ ├───java │ │ └───com │ │ └───example │ │ └───...
0 votes
1 answer
470 views

I am trying to understand Test Driven Development, but still do not get it. Let's imagine, that we need to write a function, that returns power of a number. def power_of_a_number ( number, power ): ......
-3 votes
0 answers
75 views

If a GUI test must involve entering text in a text field, a convenient shortcut is robot.enterText(..) (available in both FEST and its fork, AssertJ Swing). I was under the impression the utility is ...
1 vote
1 answer
12k views

At the project I'm working on, there's a few named exports like the object below: export const object = { component: React.lazy(() => import('some-component')) } (They have more properties but ...
5 votes
3 answers
6k views

I'm testing a batch script, to check that it's handling any errors when a compiled jar is run. What's the simplest snippet of a code I can add to my java to cause a runtime error?
4 votes
2 answers
3k views

I have a mongo db with a very large collection that I need to run tests on with Pytest. I am trying to do it the usual route of using the mark.parametrize dectorator but with pymongo.cursor Cursor ...
28 votes
3 answers
65k views

Would be any difference if I used HTML id attribute instead of data attributes like data-testid? Reference for the use of data-testid in testing: https://testing-library.com/docs/queries/bytestid/
0 votes
2 answers
10k views

How can I make only failed scenarios to be run again automatically on failure ? Here is some clue on what I am doing: Pass TestRunner class from command line through cucumber-testng.xml file at run-...
1 vote
0 answers
38 views

I am testing my Python Flask app using Locust to load-test a POST request with an .xlsx file attachment. However, I consistently encounter a 503 Service Unavailable error. This issue ONLY occurs when ...
0 votes
1 answer
787 views

I have few questions for you. Let me give some details before I throw the questions. Recently I have been involved in Rest api test automation. We have a single rest api to fetch resources,( this api ...
Best practices
0 votes
0 replies
16 views

Right now, I am deployed contracts on anvil with a script, logging the addresses, and hardcoding it into my viem typescript test. Is there a more seamless way to do ts tests in conjunction with smart ...
Best practices
0 votes
0 replies
40 views

We are building and deploying a few system using the AWS CDK Pipeline, mostly with dotnet Most cases we are building the deployed apps using dockerfile assets referenced in the CDK Should we run the ...
5 votes
2 answers
3k views

I am writing tests for Ktor app using Kotests, but stumbled into the problem how can I change env variables for tests preferably globally. I have tried adding withEnvironment but it throw quite ...
23 votes
2 answers
28k views

Does anybody know of a Windows tool to report fake dates/times to a process? Apparently there are Linux programs that can be used to test how the software will react in the future / in a different ...
0 votes
1 answer
67 views

I'm writing a Rust program where I do manual command-line argument parsing. I skip the first argument since that's the executable and I don't care about that, then check the second argument for what ...
76 votes
6 answers
51k views

How can I test an application for performance in Android? What is the support provided in Android and how do I use it?
10 votes
4 answers
11k views

I'm writing some end-to-end tests of an Android-TV-App using Python and my own implementation of the ADB-Protocol. This works fine so far, I can send commands, get ui-dumps ect. However, since the ...
0 votes
2 answers
227 views

I want to test one HTTP endpoint with thousands of different request bodies which I can generate in Excel. I also want to compare results (or results fields) to expected results which I will have in ...
-7 votes
0 answers
90 views

I'm not impressed with Chrome + Gemini Cli MCP because I can't open the devtools... Let me explain: I want to run an e2e test with this MCP, but it can't enter the URL I give it in mobile mode for an ...
Advice
0 votes
2 replies
100 views

I'm trying to build my own handheld games console similar to a gameboy. Currently for the POC im using the Arduino Uno, seperate SD Card Reader Module and 2.4 inch TFT Display. I want to put the game ...
1 vote
1 answer
1k views

I am trying to migrate from expect to chai and Sinon. I expect we do something like this this.check = expect.spyOn(module, "method").andCall(function(dep) { return dep; }); But I want this ...
60 votes
6 answers
14k views

I'm making the transition from NUnit to XUnit (in C#), and I was writing some "Integrated Tests" (ITs) that I don't necessarily want the test runner to run as part of my automated build process. I ...

1
2 3 4 5
1010