50,624 questions
-4
votes
0
answers
22
views
non UTC daylight savings testing [closed]
Our original database is not in UTC, the database will have a known time zone and date/time data is saved in the time zone. When a user logs in their time zone is checked, if they write to the ...
0
votes
0
answers
23
views
Android UI Testing on Azure Devops Pipeline
I'm working on an Android app hosted on Azure Devops. We have complete CI/CD setup over there. I wanted to create a new pipeline to run UI tests on an AVD but I can't seem to figure it out. The ...
0
votes
0
answers
26
views
pgTAP complains about number of tests running when using SAVEPOINT and ROLLBACK TO right before finish()
I’m using Supabas/pgTAP to write tests and I’d like to isolate each assertion with a SAVEPOINT … ROLLBACK TO so data doesn’t leak between tests and also it's quite easier to understand tests when data ...
0
votes
1
answer
26
views
How can I rigorously test an Elixir application that depends on both AMQP and AWS S3?
When I run mix test, the supervision tree declared in Application.ex attempts to start, which in turn attempts to start AMQP connections, but because the AMQP broker is unavailable in the test ...
-7
votes
0
answers
76
views
Why is my create_spend_chart output not matching the required format?
I’m trying to solve a project where I build a Category class and a create_spend_chart function to create a text-based spend chart.
My Category class methods (deposit, withdraw, transfer) seem to work ...
0
votes
1
answer
36
views
Laravel spies not calling implementation?
I have two classes, Foo and Bar:
class Foo {
private Bar $bar;
public function __construct(Bar $bar)
{
$this->bar = $bar;
}
public function foo()
{
return $...
0
votes
0
answers
42
views
Cypress not redirecting after clicking "Confirm" button (possible async issue?) [closed]
Title: Cypress not redirecting after clicking "Confirm" button (possible async issue?)
I'm writing an E2E test using Cypress to verify that after clicking the "Confirm" button on a ...
-1
votes
0
answers
22
views
What is the most reasonable way to automate Python dependency upgrade tests with `uv`? [closed]
If I do something like:
mkdir /tmp/asdf
cd /tmp/asdf
uv init --package
uv add 'django<5'
Then my project will require Django <5. I can remove the version pin from my dependencies and run uv ...
0
votes
0
answers
40
views
Not able to see all test details in Visual Studio using C#
I am not able to view the test details due to some settings misplaced. I have attached the screenshot of Visual Studio. The Test Explorer tab is blank even though shows the number of tests run.
Tried ...
1
vote
0
answers
50
views
Spring @ConfigurationProperties works wierd, maybe incorrect
Was working on configuration classes and spotted strange behavior. Prepared small test to reproduce it:
@Slf4j
@Configuration
@ExtendWith(SpringExtension.class)
@ContextConfiguration(classes = ...
2
votes
2
answers
64
views
Is it possible to declare a font in Flutter's pubspec.yaml for use only during tests?
I'm writing golden tests in Flutter and need to render emojis that aren't supported by the default test font.
I know I can declare custom fonts in pubspec.yaml, like this:
flutter:
fonts:
- ...
0
votes
0
answers
39
views
How to evade 401 error when verifying transaction with Apple API
Someone suggested that I change my iOS / backend purchase verification from using receipts to transactions since it's the way to go in StoreKit 2.
So I implemented it in my Node.JS backend.
However, I ...
0
votes
0
answers
20
views
Provengo move to a new tab
Using provengo to generate my tests. How can i move to a new tab?
My current code:
function openNewTab(){
session.click(COMPONENTS.new_tab_btn);
}
1
vote
1
answer
36
views
Run Playwright tests with Console tab open in dev tools (Electron env)
I'm writing e2e tests for my electron app and using the experimental module of playwright electron.To open devtools with
const page = await app.firstWindow();
const browserWindow = await ...
1
vote
1
answer
35
views
How to find all references of a pytest fixture in vscode?
I'm refactoring a suite of tests and pytest fixtures, and need to locate all usages of a fixture within the test suite.
The 'Find all references' function of VSCode is what I'd normally use when ...