Posts For Tag: Testing
Test Coverage: Integration Between CodeClimate and Travis CI
11 Jan 2018
When you maintain an open-source project it is considered a good practice to have a high test coverage, so the community can feel safe about using your code in their projects. There are some services that can analyze your code...
READ MOREDon't Use Your Testing Tool As A Spell Checker
04 Mar 2017
Today, when I started refactoring tests for my PHP Pinterest Bot library, I’ve noticed one issue. According to coverage, reports I have 80% code coverage. I though that I’m writing a lot good tests. But then I noticed that most...
READ MORETesting: Mocks vs Stubs
29 Jan 2017
In testing, we often have to deal with a lot of different jargon: dummies, stubs, mocks, fakes. Stubs A stub is a generic term for any kind of pretend object used in place or a real one for testing purposes....
READ MORE