Skip to main content

All Questions

1 vote
1 answer
52 views

How can I test that the PHP code under test calls the proper method on a trait?

Edit: After reading one of the comments, I realized I misspoke pretty badly in the original post, I've made some edits to clarify. Essentially, I need to check the results but am struggling with that ...
jrgilman's user avatar
  • 472
0 votes
0 answers
43 views

Testing frameworks and best practices for LLM testing

I am developing a GenAI-enabled matching solution where I send two lists of objects ith many features each to an LLM and ask to match them based on semantic similarity. I want to implement automated ...
Oskar de Smet's user avatar
1 vote
1 answer
55 views

MSTest - What is the difference between writing messages directly to StdOut and using TestContext?

I'm trying to figure out a good way to log messages to the console / test explorer / pipeline execution logs when running my MSTest Test Project. I've noticed that you can either write the output to ...
Hideki's user avatar
  • 13
0 votes
0 answers
17 views

How to run Winrunner test scripts?

I am currently working with a legacy code and most of the unit test for this is written in Winrunner tool. Unfortunately I am unable to find this tool to download, anyone has any idea where I can get ...
Ashish Kumar S's user avatar
0 votes
0 answers
30 views

Can you help me with an issue with the Test Results Report tool in Azure DevOps?

Test Results Report: The issue is that it's failing to generate a report when there's over 300 test cases in a test suite, when around 1.5k test cases was the limit. I've also observed that after it ...
user22868203's user avatar
1 vote
0 answers
49 views

How can I properly test DateTime in my service?

I am having difficulties on how to test my service properly, as it uses DateTime. From what I have read, everything I need to do is to "isolate" the "collaborator" and a good way ...
John Doe's user avatar
0 votes
0 answers
221 views

Unit testing private methods

Several questions, such as Should I test private methods or only public ones? seem to encourage testing private methods through the public interfaces because: You test the private methods, by writing ...
Duarte Arribas's user avatar
0 votes
1 answer
1k views

Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/io/ByteStreams [duplicate]

I am getting this problem. Can anyone help me? Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/io/ByteStreams at org.seleniumhq.selenium.remote_driver/org....
hash jashan's user avatar
0 votes
2 answers
89 views

Selenium Driver issue - Getting the Chrome browser Version failure

I'm unable to run the selenium script when using below code snippet Note: I'm using Selenium version 4 Please find the attached code snippet below Code snippet Please find the error message snap below ...
Shreyansh Singh's user avatar
1 vote
1 answer
61 views

Unit testing a Rust fallible function extensively

Given this fallible function written in Rust: pub fn fallible(source_file: &str) -> Result<bool> { trace!("Opening file {}", source_file); let file = File::open(...
Luca Anceschi's user avatar
0 votes
1 answer
219 views

How to write a test case for dispatch in jest for React Native?

React.useEffect(() => { branch.subscribe(({ params }) => { if ( params && params['+clicked_branch_link'] && params['+match_guaranteed'] ) {...
Arun Kumar's user avatar
0 votes
2 answers
525 views

Python: Best way to define and re-use an object for subsequent tests using `pytest`

I have some tests running on my Python package using pytest. However, I am noticing that I am re-writing a lot of times an object that is necessary for the function I am testing. For the sake of the ...
Álvaro A. Gutiérrez-Vargas's user avatar
5 votes
2 answers
4k views

Jetpack Compose, how to test navigation?

I'm quite new in testing and I want to learn how do I test navigation which includes Jetpack Compose Ui Screens with ViewModels. How can I for example test that when I click on button in Home Screen, ...
deja's user avatar
  • 446
-1 votes
1 answer
58 views

Automation testing is possible or not for location based application

We are planning to automate our project. It's a travel based application(Cab,Auto,Bike) like OLA, UBER, Rapido. We have both mobile and web applications need to automate with integration. Both are ...
Raghav's user avatar
  • 1
0 votes
1 answer
1k views

Flutter automation test for web apps

i am new dart and flutter. My question is how to write automation test for flutter web projects? Classic automation tests need to locate ui elements(html). Hovewer flutter does not let it. How can i ...
İrfan Hasbek's user avatar

15 30 50 per page
1
2 3 4 5
18