Category Archives: Testing

Test Push Notifications

Load testing tools [Tool | Free] [Tool | Free] [Tool | Free] [Tool | Free/$] [Tool | Free/SaaS] [Tool | Free] [SaaS | Free/$] [Tool | Free/$] [Tool | Free]

A way to test http client in go

A couple of ways are described here — The way I liked is the following one:

Golang: testing http and grpc servers

HTTP server is quite easy to test — here is a nice video about it:

E2E tests in go

I tried it via ginkgo and gomega. It has Agouti with WebDriver support out of the box, but I didn’t use it as we have grpc API. That’s the example (table tests):

Mocking for testing go code

If you’re testing go code and have a huge API you have to mock, you have two options: make your dummy struct with embedded interface and implement only methods you need, or use your own interface that has only methods you need (and change your code to use that). For instance, I had amazon’s s3 …

Read more

BDD Framework For Golang

There is a good one: It prefers to use as a matcher.

Testing react’s dom with jest and enzyme

Install it like this:

Regression testing of react app with jest

Example is here — The main idea is this:

Javascript mocking frameworks

Classical one — TestDouble — There is a good video on using TestDouble from it’s creator: