Adding checkstyle & code coverage verification

Đang mở
#36 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
java, yaml
Lĩnh vực
developer-experience

Hướng nghiên cứu

Start in the build file (pom.xml or build.gradle) to see where checkstyle and JaCoCo would plug in, then look at the test sources, where the issue says some tests only print output. Done means a checkstyle config and an .editorconfig are committed and coverage is reported in the build. The issue is over 700 days quiet, has no assignee, and leaves the choice of tools and thresholds open, so confirm the scope with maintainers before starting.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Description

  1. As development goes, uniform coding style plays big role in maintenance.
  2. Automated checks on code coverage

Steps to reproduce

Expected Behavior

  1. Having a checkstyle in place so its easy to contribute, local IDE setup doesn't hamper.
  2. Having a .editorconfig in place so IDE automatically formats according to coding style
  3. Tests need to be verified and coverage published (could be as a badge, thinking out loud)
    Note: Initially we can't fail build if coverage goes beyond X%. Once tests are fixed, will have the check in pipeline

Actual Behavior

  1. Many unoptimized imports
  2. Unit tests doing nothing other than printing

Metadata

NA

Typesense Version: NA

OS: NA

Ngôn ngữ chính
Java
Star
90
Fork
39
Merge trung bình
22 giờ 26 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của typesense/typesense-java

Tất cả issue của typesense/typesense-java

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.