stretchr / testify

A toolkit with common assertions and mocks that plays nicely with the standard library
MIT License
23.39k stars 1.59k forks source link

Add spies package #483

Closed nyarly closed 1 month ago

nyarly commented 7 years ago

For my own projects, I've started to sketch out a spies package that builds on testify. It would be convenient for me if this were part of testify, and I think it would be useful for others. Would that be a welcome addition?

nyarly commented 4 years ago

So, @mvdkleijn is that a no?

mvdkleijn commented 4 years ago

@nyarly I was / am attempting to clean up the issues list. When I saw that nyarly/spies had no activity in two years, I assumed this was no longer relevant. I'd be happy to discuss this with the maintainers though

nyarly commented 4 years ago

I've been using that package as is for that long :)

riyadshauk commented 3 years ago

This seems like it would be interesting. Any updates on a current good way to go about using spies?

nyarly commented 3 years ago

The docs here are a reasonable guide: https://pkg.go.dev/github.com/nyarly/spies

brackendawson commented 1 month ago

Lets keep this discussion in #1643 for now.