Skip to main content
Filter by
Sorted by
Tagged with
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 ...
0 votes
0 answers
21 views

I have a large xhtml file, below the imports there is a component that should only render when a test from a Bean returns true. <c:if test="#{MyBean.myFunction()}"> <div id=&...
Advice
0 votes
0 replies
34 views

Bazel on Linux usually sets the RUNFILES_DIR environment variable but it may alternatively set RUNFILES_MANIFEST_FILE. General advice for scripts is to make your scripts capable of working with both. ...
Advice
0 votes
0 replies
25 views

Question: I'm building a testing system for a data quality SaaS app where tests are entirely props-driven (similar to React component testing philosophy). Goal: Create reusable, composable test ...
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 ...
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 ...
0 votes
0 answers
50 views

I need to test operations and listeners using vocabularies, they are present in my studio package but, from what I understand are not included when the package is deployed locally upon testing. What ...
-2 votes
0 answers
50 views

I am trying to compare two algorithms in SCIP. To do this, I am following the steps in https://www.scipopt.org/scip/doc/html/TEST.php, but it says that SCIP automatically creates the scip/check/...
0 votes
0 answers
121 views

In my Laravel application, I have set up two databases in a single server. All specific migrations and model classes have $connection property set up to use blog instance. The app works fine, no ...
0 votes
0 answers
31 views

I read that :hover is not supported for various reasons ( reference ) So what is the approach to test if hover on an item actually works ? I tried to trigger mouseenter, mousemove to position, but it ...
0 votes
0 answers
58 views

I would like to ask about a certain topic that is tough one. Im working in a project that has microservices architecture with more than 1 databases running every time. in django, how can I perform ...
0 votes
0 answers
67 views

@RunWith(RobolectricTestRunner::class) class ServerUnitTest { @Test fun localAccessTest() { runTest { val res = LocalAccess.pingServer() assertEquals(res, 0) ...
0 votes
0 answers
71 views

Recently, I developed a MATLAB-based simulation to evaluate my robot pathfinding algorithm. The robots operate on a network of unidirectional tracks, where each robot computes a single path from its ...
1 vote
0 answers
86 views

I'm trying to run app from Xcode on real device with sandbox mode. What I've tried so far: Locally: iPhone reset using: Reset All Settings Developer mode on device is Enabled Settings > My Name &...
0 votes
0 answers
37 views

Whenever I have a client in my Spring Boot application I use WireMock for integration testing. Works very well. I now have to implement an async client for which I am using WebClient, but my typical ...
0 votes
0 answers
187 views

My goal is to write tests that: Simulate multiple concurrent HTTP POST requests to a cloud function endpoint (e.g., 2-3 identical webhooks arriving almost simultaneously). Verify database side ...
1 vote
0 answers
77 views

I'm trying to ensure a particular Text Widget in my application styles its text differently when the state changes. If the text itself changed, I could just compare the text before and after. But this ...
1 vote
0 answers
91 views

Let's say there is an enum with fields with a specific order. e.g., pub enum MyValues { U8(u8), U64(u64), U128(u128), Str(Vec<U8>), U16(u16), } How to add a test to make ...
1 vote
0 answers
139 views

I am working on a Spring Boot (3.5.3) application with Maven (3.9.10) where I have some components (e.g. initializers) that break certain tests. I want to disable these components only when running ...
1 vote
0 answers
60 views

We have several modules that require mandatory feature / backout flags. These flags are defined at module level. module.py: from enabled import is_enabled FLAGS = {flag : is_enabled(flag) for flag in ...
1 vote
0 answers
75 views

I'm testing the following scenario with Playwright: await page.goto("my/url"); await page.clock.install(); const entryPromise = page.evaluate(async () => { ...
0 votes
0 answers
32 views

I have a problem with reading application.properties by @SpringBootTest when I start it with a command: java "-Dfile.encoding=UTF-8" "-Dallure.results.directory=config/reports/allure&...
0 votes
0 answers
45 views

I am trying to integrate Insomnia Collection in CI. I have the tests written on Insomnia as a collection which runs absolutely fine via the GUI, also giving the test results defined in post-request ...
0 votes
0 answers
17 views

I am using Testerum for website testing. I need to fill in a specific date in a date field. The date field is a normal text field with a datepicker from gijgo.com. When sending 21.01.2004, nothing ...
1 vote
0 answers
133 views

I am trying to write test cases for this Super Report Component where I provided all the required services and routers, and when I execute my test cases, I will not get any results: no success or ...

1
2 3 4 5
143