sony / sonyflake

A distributed unique ID generator inspired by Twitter's Snowflake
MIT License
3.89k stars 304 forks source link

Introduce mocking framework and increase coverage #22

Closed BradleyBoutcher closed 2 years ago

BradleyBoutcher commented 3 years ago

This change introduces three common Golang patterns to the SonyFlake project test framework:

This change also increases test coverage to 💯, while adding no additional time for testing ⌛ .

This is a really cool project, and I'd be happy to contribute more!

BradleyBoutcher commented 3 years ago

I realized I didn't notify anyone about this PR, so I apologize for the bother, and no rush! @yuokada @osamingo @YoshiyukiMineo

yuokada commented 3 years ago

@BradleyBoutcher Sorry for late reply. I'm just a contributor. I don't have any responsibility or permission for this repository.

BradleyBoutcher commented 3 years ago

No worries! Thank you for the response!

YoshiyukiMineo commented 2 years ago

Thank you for your PR.