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 ...
Domz's user avatar
  • 11
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 │ │ └───...
alex_pythooon's user avatar
-3 votes
0 answers
72 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 ...
Sergey Zolotarev's user avatar
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 ...
Vijay Savaliya's user avatar
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 ...
KurczakChrupiacy2's user avatar
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 ...
Yan Digilov's user avatar
Best practices
0 votes
6 replies
54 views

the title is somewhat difficult i try to explain what i want the input from you all. My current practice from a feature/bug development towards the codes journey to the production is following I get ...
FlorianD's user avatar
  • 113
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 ...
Erik Karlsson's user avatar
Best practices
0 votes
0 replies
21 views

Context: Fullstack program which implements reconnection logic that utilizes TTL session expiries that are managed on the backend to determine whether or not a session is "still open to rejoin&...
CaliCrunch's user avatar
-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/...
Diana Gutierrez's user avatar
0 votes
1 answer
130 views

I'm using the AWSSDK.S3 for .NET (v4.0.9.1) in my app. For my tests I run minio in a docker container. I know this worked in the past but with an update to the current versions of the SDK and the ...
Sebastian Weber's user avatar
1 vote
1 answer
79 views

I am doing unit testing for my project. This is the code I want to test: import { create } from "zustand"; import { persist } from "zustand/middleware"; interface LanguageState { ...
Lollypop123445's user avatar
0 votes
0 answers
39 views

I'm trying to move Test Case work items from one Azure DevOps project to another within the same organization. However, when I try to move them, I get the following error: Work item type Test Case ...
surya Teja's user avatar
0 votes
1 answer
51 views

I want to create tests but every time I run a test it triggers celery and celery creates instances into my local db. that means that if I run those tests in the prod or dev servers, then it will ...
2 votes
0 answers
57 views

I’m writing a Laravel Dusk browser test for a “Delete Contact” button that shows a native JavaScript confirm() dialog before deleting a record. However, every time the test runs, I get this error: ...
Nken Mandeng Ange Arsene's user avatar
0 votes
2 answers
94 views

I have a function that allows users to register. After successful registration, the user is redirected to the home page (after 5 seconds). Before being redirected, the user receives a toast ...
Clyde's user avatar
  • 62
1 vote
1 answer
70 views

In Rails Controller tests of an invalid route, this used to work before Rails-7.1 (in Minitest): assert_raises(ActionController::RoutingError){ get "/non_existent" } In Rails-7.1 (or later),...
Masa Sakano's user avatar
  • 2,309
0 votes
2 answers
52 views

I have a question related to Apache JMeter testing. I want to send multiple HTTP requests to a single GET endpoint simultanesously (concurrently), that has multiple query parameters, one of them is ...
Mykoliux's user avatar
  • 159
-3 votes
1 answer
126 views

Can you make assumptions with Mockito? If the method's not invoked, this would throw AssertionError and make the test fail. then(mock).should().doSomething(); Instead, I want the test to be skipped, ...
Sergey Zolotarev's user avatar
0 votes
1 answer
32 views

I tried following the documentation here as best i could, but im getting an error where the DI seems broken. What am i missing Here is the error, with some logs: stdout | src/resources/cats/cat.spec....
user3666653's user avatar
0 votes
0 answers
67 views

@RunWith(RobolectricTestRunner::class) class ServerUnitTest { @Test fun localAccessTest() { runTest { val res = LocalAccess.pingServer() assertEquals(res, 0) ...
tridiak's user avatar
  • 57
0 votes
1 answer
51 views

I'm running Laravel 9 feature tests with the RefreshDatabase trait in GitHub Actions. Locally, everything works fine, but on CI, it seems that RefreshDatabase tries to connect with the wrong database ...
JayVch's user avatar
  • 89
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 ...
CangWangu's user avatar
  • 181
0 votes
0 answers
121 views

I am encountering a strange behaviour when testing locally an app with auto renewable subscriptions. I have three subscriptions, with three price levels (simplified for clarity): Base ($10), Premium ($...
Marco's user avatar
  • 91
1 vote
1 answer
120 views

I have a unit test testing service layer of my REST APIs. What I want to test is RegisterAccount in the service layer, which has dependencies on Repository (Database access layer). How do I mock in ...
lizzyy's user avatar
  • 19

1
2 3 4 5
1010