Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

I'm writing unit test for my bloc event's. And some event's triggered other event's inside itself. I used expect to test state changes. But when nested event't triggered expect expects state change's ...
0 votes
0 answers
33 views

I’m using Flask’s session storage to temporarily save a list of dataclass objects. Here’s an example of the Transaction class and my TransactionMemoryRepository: @dataclass class Transaction: ...
1 vote
0 answers
39 views

I have a TestBase class that is extended by all test classes. This class runs locally from IntelliJ if the @PropertySource("classpath:/test.properties") is used on it it runs properly in the ...
0 votes
0 answers
206 views

I'm trying to verify a receipt with the App Store server in the sandbox environment. I've checked all values are correct but keep receiving: { "environment": "Sandbox", &...
1 vote
0 answers
406 views

I need to do software testing and validation for the PIC16f15214 source code using VectorCAST. But when I build the environment it shows the "compiler error" / "can't open the 'XYZ.h' ...
2 votes
0 answers
61 views

I have a Spring Boot application and I created a method with the @Scheduled annotation that takes a cron expression as parameter (let's say it needs to run every 5 seconds). The scheduled method is as ...
3 votes
0 answers
496 views

I'm trying to use the expectedCount parameter in confirmation(_:expectedCount:fileID:filePath:line:column:_:) to check that a function completes, exactly, 25 times. This is my test, is currently ...
0 votes
0 answers
52 views

I use Python 3.10, Pytest, Selenium, Geckodriver(Firefox) and X-dist for asynchronous tests. Not so long ago, I ran into a problem: when running tests, some of them pass and then the tests start ...
2 votes
0 answers
2k views

I have a very simple form in which i try to test that once the submit button is hit the mock function is called, but to no success, It works when i test that the input was changed, but clicking the ...
0 votes
0 answers
75 views

My test is refusing to recognize < angle brackets. Jest encountered an unexpected token Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard ...
0 votes
0 answers
136 views

I have a java project for api and end-to-end ui testing and right now I am changing my reports from Serenity to Allure. I've setup the serve goal in my maven verify phase and it works fine, but Allure ...
0 votes
0 answers
172 views

I have nest js project, which uses tests containers for tests, I mainly need PSQL so I only run a single container for postgresql, works locally not in the CI pipeline, here is the TS code for setting ...
0 votes
0 answers
26 views

I have TypeScript code, being compiled with the "module": "none" option and single output JavaScript file. I need a JavaScript code that I can run directly in the browser console. ...
0 votes
0 answers
58 views

I write cdc provider tests with pact provider. @Provider("i-api") @PactBroker(url = "https://pact.h.com") @ExtendWith(PactVerificationInvocationContextProvider.class) public class ...
0 votes
0 answers
52 views

I am running a vitest to test if a vue component match an snapshot. The vue component use javascript flatpickr component to generate a datepicker. The snapshot is generated with another environment ...
0 votes
0 answers
8k views

I am running tests using gauge on my jenkins node. My shell script at some point runs : /usr/local/bin/gauge run specs I am reaching a point where the output is : Successfully generated html-report ...
0 votes
0 answers
160 views

I have a dbt test setup for my dag which is modified to have a warn severity in its config like so: {{ config(severity = 'warn') }} Now the question is, once this test is ran during in airflow, how ...
1 vote
0 answers
457 views

I have been getting issues with the injections of Nest.js when working with TestingModule. The app works fine when ran but not through the tests. The issue happens when trying to get any other ...
1 vote
0 answers
78 views

I wrote some unit tests for my modules, which worked well. But I don't get why I can't call these functions on Aptos Explorer The error is showed in the image is Error: {"message":"...
1 vote
0 answers
27 views

I was exploring the Keploy sample apps and couldn't find the documentation for the http-pokeapi sample app in the samples-go repository. I tried to explore a bit, but couldn't find proper solution. ...
1 vote
0 answers
104 views

I am writing an end-to-end test for a NestJS API endpoint that creates a table. The issue is that the test consistently returns a 400 Bad Request, while the same request in Postman works perfectly and ...
6 votes
0 answers
87 views

I maintain C code that has inline assembly used by GCC, Clang and sufficiently compatible compilers¹. Inline assembly statements require constraints to tell the compiler what registers and memory are ...
0 votes
0 answers
80 views

I already done one project using Rails 6 version with PostgreSQL 9.6 version. And for learning TDD purpose, I created new project and tried to use my old project's database. And I have Categories and ...
0 votes
0 answers
170 views

I am testing a website and there is an issue where I can't open that website in Yandex browser and Telegram in-app browser for the first time. IMO the issue is related to redirection. When I enter ...
0 votes
0 answers
49 views

I’m working on a Next.js app and trying to write a Jest test for a simple button component. However, when I run the test, I get this error: ReferenceError: document is not defined The error below may ...