Skip to content
#

linters

Here are 65 public repositories matching this topic...

preslavmihaylov
preslavmihaylov commented Oct 17, 2020

Currently, in testing/todocheck_test.go, there are two tests which are actually unit tests, while the tests in this file are meant to be system tests - testing the todocheck binary in a black box manner.

The tests are:

  • TestValidOrigins
  • TestInvalidOrigins

What to do about it?

  • Extract those two tests into validation/validation_test.go.
  • Add a new make step for running

The whole idea of writing code to check another code is intriguing at the same time cognitively demanding. Building Linters for Ruby, the project provides feedback about errors or warning in code little by little. The project was built completely with Ruby following all possible best practices. Rubocop was used as a code-linter alongside Gitflow to ensure I maintain good coding standards.

  • Updated Jul 18, 2020
  • Ruby

Improve this page

Add a description, image, and links to the linters topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the linters topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.