Part 12 | Checkstyle Formatting and Coding Standards | Build check | Checkstyle Maven Plugin

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • github.com/amu...
    Github: github.com/amu...
    Ad free videos : www.testingmin...
    Telegram group link : Ask your doubts directly to me
    t.me/+B9gWYBJU...
    Api testing resources:
    drive.google.c...
    Docker playlist
    • Selenium Framework - P...
    Selenium Automation Framework Playlist
    • Selenium Framework wit...
    Extent Report 5.0.5 Playlist
    • Extent Reports Latest ...
    SDET Package Playlist
    • Selenium Framework - P...

ความคิดเห็น • 21

  • @Udzial
    @Udzial ปีที่แล้ว +3

    Wow good one.. Best part is it can fix the existing problems at one go. Unused imports and other formatting. Thanks for sharing this. Will try to implement soon

  • @mr_possible6197
    @mr_possible6197 2 หลายเดือนก่อน

    I am getting error - IntelliJ IDEA code style XML import failed with error message: The file doesn't seem to be a valid Intellij IDEA XML scheme, it should contain code_scheme, found module...
    This is when I copied your file. Not sure whats the catch

  • @tanmayghadge7861
    @tanmayghadge7861 ปีที่แล้ว +1

    Hello sir please make a video on how automation works in agile .
    I mean how automation starts what are the roles and responsibilities of automation tester on daily basis and how they change Along with the sprint.

  • @ХаннаФрея
    @ХаннаФрея 4 หลายเดือนก่อน +1

    thank you very much!

  • @swetatiwari2775
    @swetatiwari2775 7 วันที่ผ่านมา

    What is the difference between checkstyle.xml and editorConfig file?

    • @TestingMiniBytes
      @TestingMiniBytes  7 วันที่ผ่านมา

      @@swetatiwari2775 editor config makes your life easy. Your editor understands and format according to that file.

    • @swetatiwari2775
      @swetatiwari2775 7 วันที่ผ่านมา

      @@TestingMiniBytes hey thanks for such a quick revert, so if i use efitorConfig, can i skip checkstyle.xml?

    • @TestingMiniBytes
      @TestingMiniBytes  7 วันที่ผ่านมา

      @@swetatiwari2775 Have you watched the video? Checkstyle.xml can help you to implement build checks around it. If you dont need such kind of strict restrictions then skip it.

    • @swetatiwari2775
      @swetatiwari2775 7 วันที่ผ่านมา

      @@TestingMiniBytesi have watched the video Sir , but what is making me mad is how to build the xml file. In editorConfig if you write ij_keep_lambda_in_one_line = true , how to write same in Checkstyle.xml ?
      I m able to create editorConfig file , but checkStyle i m not getting how to build from scratch

  • @roshnray6566
    @roshnray6566 ปีที่แล้ว +2

    Hi sir,
    You stop uploading videos as no latest video's showing.
    Please help on this as always waiting for your contents.

  • @vaseemsultana4770
    @vaseemsultana4770 ปีที่แล้ว

    Am getting the below issue, any idea on this?

  • @uhsay1986
    @uhsay1986 ปีที่แล้ว +1

    Is this an alternate to sonarqube ?

  • @StefanFalk-z3b
    @StefanFalk-z3b ปีที่แล้ว

    Checkstyle is a great tool. Wish it could do the formatting too though.

    • @TestingMiniBytes
      @TestingMiniBytes  ปีที่แล้ว

      You can configure your IDE to use checkstyle.xml for formatting

    • @StefanFalk-z3b
      @StefanFalk-z3b ปีที่แล้ว

      ​@@TestingMiniBytesThank you, but I'd want to use it in a pre-commit hook for example.

    • @TestingMiniBytes
      @TestingMiniBytes  ปีที่แล้ว +1

      @@StefanFalk-z3b you can run it.. All you have to do is configure a pre-commit hook and run mvn checkstyle:check

  • @roshnray6566
    @roshnray6566 ปีที่แล้ว

    Thanks sir for video