Questions tagged [testing]
Software testing is any activity aimed at evaluating an attribute or capability of a program or system and determining that it meets its required results.
testing
50,558
questions
-1
votes
0
answers
6
views
WANEM EMULATOR SETUP
Can anyone tell how to install WANEM virtual machine? Has anyone tried to install the setup ?
https://openmaniak.com/wanem_network.php, https://matheusd.com/post/wanem_virtualbox
I tried multiple ways ...
0
votes
0
answers
5
views
Ktor integration test with custom hostname AND port
Using ktor-testing I need to create a test which uses a custom hostname and port at the same time. See my previous question with custom hostname on port 80 which works, but not on port 8080.
class ...
0
votes
0
answers
10
views
How do I test view models for Android? I've been struggling with this for over a week
I am trying to test view model classes for my app. They use viewModelScope.launch and when I run tests using Firebase emulator, data will sometimes go to Firebase and sometimes won't resulting in ...
0
votes
0
answers
7
views
Mockito not able to mock Room Dao Class?
I have the following code to try and test my AppRepository class:
@RunWith(AndroidJUnit4::class)
@MediumTest
class AppRepositoryTest {
@Mock private lateinit var counterDao: CounterDao
@Mock ...
1
vote
1
answer
13
views
Failing the Angular tests
I am trying to run the basic angular test that angular makes when creating a component, but they keep on failing, and i cannot find why or how to fix it.
These are the tests i am trying to run:
it('...
0
votes
0
answers
13
views
Django - Cannot make a celery worker and test transactions on test file without "You can't execute queries until the end of the 'atomic' block." error
Soo, here's the deal, Im creating a test in order to check if an improvement a made for performance is working or not, the improvements consists in making some signals logic an async task instead of ...
0
votes
0
answers
17
views
Django Internationalization test error:Couldn't retrieve redirection page
I wrote a blog project in Django,in some pages i used loginrequierdmixin to make sure user is loged in but in test i got error in testing my project
test:
def test_get_profile_unauthenticated(self)...
0
votes
1
answer
29
views
What's the yaml file to get a report from the tests on the azure DevOps pipeline for a native iOS app project
I have an Azure DevOps pipeline to build test and archive a native iOS app, but I cannot see the test results or the code coverage report.
The PublishTestResults@2 has the following test Results ...
0
votes
0
answers
16
views
Google pay button doesn't display in test mode with stripe react native
The Google Pay button doesn't display when the app is in test mode. However, in live mode, the Google Pay option displays, but I can't complete the payment because I need to get approval first. To get ...
0
votes
0
answers
11
views
Auth0 - How can I generate an access token specifically for Playwright tests?
My project relies on the @auth0/auth0-react package for authentication. In my end-to-end Playwright tests, I need to programmatically obtain the access token to interact with my app's REST APIs. Any ...
0
votes
0
answers
21
views
Testkube helm deploy - setting artefact retention on minio to X last?
Hi is there a way to set up retention on testkube to only save few recent one? I am creating test with playwright, and with option to record video, they pretty quickly eat up space on pvc.
I checked ...
-1
votes
0
answers
26
views
FastAPI dependency is not getting overriden [SOLVED] [closed]
I'm trying to run some tests with pytest against the API but my dependency override is not working. The root app is in my 'main' file and the endpoints are in a 'routers' file. I also have a separate '...
0
votes
0
answers
10
views
Testing provider in flutter which depends on Firebase
I am trying the following test:
@GenerateMocks([Tour])
void main() {
group('TripProvider', () {
test('add Trip', () async {
final mockTrip = MockTour();
TripProvider provider = ...
1
vote
2
answers
64
views
How to break multiple try catch blocks in powershell
I have a class with +- 25 API functions for which I want to write a test-script.
I test my API-functions before and after a software upgrade so that I'm sure everything remains working.
However, I ...
0
votes
1
answer
16
views
Ktor integration test with custom hostname
Using ktor-testing I need to create a test which uses a custom hostname. (The reason I need this is that we use subdomains to select the upstream service, but that's not really important).
Anyway, I ...