Git Product home page Git Product logo

testpackage's Introduction

Hi there ๐Ÿ‘‹

I am Marat Reymers, a software engineer.
Fanatic of linters, QA, and open-source.
Also, I love debates about technology.

GitHub stats

๐Ÿ’ฌ Contacts

Telegram LinkedIn Gmail

๐Ÿฅท Languages

Go Python Java C# JS HTML CSS Wolfram Mathematica

๐Ÿ›  Other (alphabetical order)

Bash Dependabot Docker Flake8 GitHub Actions Golangci-lint Grafana JUnit5 Kafka Make MyPy NumPy Pandas Playwright PostgreSQL Prometheus Protobuf Pytest RabbitMQ Terraform Selenium

๐Ÿ•ถ๏ธ Author

Go linter that encourages to use a separate _test package (integrated into golangci-lint)

testableexamples

Go linter that checks if examples are testable and have an expected output (integrated into golangci-lint)

pairedbrackets

Go linter that checks formatting of paired brackets

changroup

Go library to create a group of channels (publish/subscribe pattern)

errors

Go library to construct errors with fields for structured logging

๐Ÿฉผ Useful gists

testpackage's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar g-rath avatar maratori avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

testpackage's Issues

Add autofix where possible

Need to suggest fixes.
Fix is a code refactoring, so:

  1. It must not break code
  2. It should not be suggested, if non-breaking change is not possible

For example it's not possible to suggest fix, if test uses private entities from original package.

It isn't enough just to replace pkg -> pkg_test.
At least need to change imports as well.

Also it's better to avoid dot import if possible.

Allow package main

Package main is not importable, yet there are cases when it is helpful to test its identifiers.

I suggest that testpackage stops flagging such cases.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.