https://research.swtch.com/testing

On Friday 7 June 2024 at 14:26:35 UTC+1 Guilherme Henrique wrote:

> You want to make a mock of the Google API calls, the same ones you use in 
> your project, and that's it?
>
> Em quarta-feira, 5 de junho de 2024 às 10:41:03 UTC-3, Ai Readone escreveu:
>
>> Hello Everyone,
>>
>> I am currently writing a go library that Integrates various Google cloud 
>> services.
>>
>> The aim of the library is to eliminate duplicate implementations across 
>> various services of the same software.
>>
>>
>> I am having challenges on how to write a comprehensive test for my 
>> library, the main challenges are coming from testing function and methods 
>> that performs remote call to Google cloud APIs
>>
>> I want to be able to mock every function in my library.
>>
>> I am familiar with majorly table-testing technique but I am open 
>> to suggestions that requires me to learn new technologies too.
>>
>> Thanks in advance for your time and help.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/319e668f-20a7-46d4-8172-91ef87c62e02n%40googlegroups.com.

Reply via email to