Web3.swift icon indicating copy to clipboard operation
Web3.swift copied to clipboard

Mocking Web3 request tests

Open koraykoska opened this issue 7 years ago • 4 comments

Mock Web3 request tests instead of relying on Infura as this is obviously bad practice.

koraykoska avatar Mar 06 '18 14:03 koraykoska

I will have to think about how we can really generate good mocking cases without making the tests useless. I move it to version 0.2.0 as this doesn't affect currently anyone and the current tests actually cover everything.

koraykoska avatar Apr 06 '18 15:04 koraykoska

This is more important now because Infura somehow revokes our token every few days and generating a new one for every PR sucks.

koraykoska avatar Nov 02 '20 02:11 koraykoska

Is this still relevant?

Florian-S-A-W avatar Mar 27 '23 12:03 Florian-S-A-W

Highly relevant. Goal is to work on the test suite in the next milestone.

On Mon, 27 Mar 2023 at 13:39, Florian Winkler @.***> wrote:

Is this still relevant?

— Reply to this email directly, view it on GitHub https://github.com/Boilertalk/Web3.swift/issues/6#issuecomment-1485055568, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWUTTO2NVOVMV6CUW3HSJ3W6GC7TANCNFSM4ET3GKQQ . You are receiving this because you were assigned.Message ID: @.***>

koraykoska avatar Mar 27 '23 12:03 koraykoska