1,493 questions
8 votes
3 answers
3k views
How do you import config sync files in a Drupal 8 functional test?
I would like to know how to import config sync files in my functional tests for modules I am testing. For instance, I have some custom content types I would like to test against, and there are a ...
37 votes
5 answers
123k views
How to pause the test script for 3 seconds before continue running it? Playwright
I'm running a test called create admin. The test will first create admin, then check if the admin was created successfully. In the script, I have a part of code where I want to wait for 3 seconds ...
1 vote
2 answers
71 views
How can you write functional tests for an ASP.NET Core gRPC webservice with .NET 8 [closed]
I'm having issues trying to write a functional test for a ASP.NET Core gRPC web service, after investigating a number of articles on the issue, but with all of them referring to use of the Startup ...
0 votes
2 answers
321 views
Opening newer Oracle Application Testing (OATS) scripts in older version
Earlier I was using Oracle Application Testing Suite (OATS) version 12.2 & upgraded to version 12.4 to check the functionality & recent changes. I forgot to take a backup of my scripts. After ...
4 votes
2 answers
11k views
How to resolve this in PHPUnit where it is asking me to set KERNEL_DIR in my phpunit.xml?
Here is my phpunit.xml file <?xml version="1.0" encoding="UTF-8"?> <phpunit colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" ...
0 votes
1 answer
205 views
Functional/acceptance testing - multilanguage websites
Any best practices of creating acceptance and functional tests for multilingual sites? I would like to test content and functionality on multiple languages but not duplicate the tests. If we take ...
33 votes
17 answers
47k views
Running a single test in maven -> No tests were executed
When I run a single test in Maven with this command: mvn test -Dtest=InitiateTest I'm getting the following result: No tests were executed! It worked a couple of minutes ago, but now it stopped ...
1 vote
1 answer
161 views
DeepFace Analyze - Test scripts for batched image processing
I am having trouble getting image analysis batch processing to work. I would like to send a list of images to DeepFace to get a list of race, gender, and age predictions. I am calling test functions ...
7 votes
2 answers
1k views
Is testing a service a functional test or an integration test
We have a .Net component that provides functionality. We have a Restful Web API service that the world will use to call that functionality. We wrote tests that use OWIN to call into our Web API ...
1 vote
1 answer
312 views
Should you use another endpoint for assertion in an integration test for a REST API?
I have a REST API and I want to write an integration test for a POST endpoint, which creates a Foo item in the database. In the test scenario I am making a request to this POST endpoint. In the ...
0 votes
1 answer
66 views
Difference between functional and regression test cases
I am aware of the definition of functional and regression test case. But I am not able to distinguish which test case should fall in functional and which one should fall in regression test. For ...
31 votes
4 answers
28k views
How can I load fixtures from functional test in Symfony 2
My DoctrineFixturesBundle is installed and I can load fixture trough the command-line but , how can I load fixtures from my functional test ?
-2 votes
1 answer
63 views
In Smart bear floating license, how to know the license is available for user before InstallTestCompleteAdapter task run?
In case of Smart bear floating license, how to know the license is available for user before InstallTestCompleteAdapter task run? i want to know whether the floating license is available or not for ...
0 votes
2 answers
3k views
Running into "Target page, context or browser has been closed" issue
The below code is my Playwright test function test("@Login @Testing Sign In Page Test", async ({ page }) => { console.log("Sign In Page Test"); const ...
0 votes
1 answer
435 views
Cannot start app server in BeforeSuit before running test on the endpoint
I wanna start my app in BeforeSuit and run a GET Request. Is that possible? example_suite_test.go func TestExample(t *testing.T) { RegisterFailHandler(Fail) RunSpecs(t, "Example Suite") } ...