github MarketSquare/robotframework-robocop 1.4.0

latest releases: v8.2.2, v8.2.1, v8.2.0...
5 years ago

This release brings new rules and features that help to uphold the law.
It also prepares Robocop for new Robot Framework 4.0 release which will help fighting with new hordes of evil.

New rules

  • W1010 (too-many-trailing-blank-lines) - Checks if there are too many blank lines at the end of the file #250
  • W0906 (redundant-equal-sign) - Detects redundant equal sign in variable section #265
  • W0308 (not-capitalized-test-case-title) - Checks if test case title starts with capital letter #267
  • W0309 (section-variable-not-uppercase) - Variables in variable section should be uppercase #268
  • W0310 (non-local-variables-should-be-uppercase) - Test, suite and global variables should be uppercased #268
  • I0908 (if-can-be-used) - Suggests that Run Keyword If and Run Keyword Unless can be now changed to new IF statements #259

Fixes

  • W0302 (not-capitalized-keyword-name) now supports numbers inside keyword names #249
  • W0306 (setting-name-not-capitalized) can detect all not capitalized settings for keyword and test case #266

Other

  • Robocop now supports Robot Framework 4.0 #258 #254
  • Robocop can now export results to JSON using new JsonReport #251
  • Command line arguments can now be loaded from .robocop file #253
  • New command line option --list-reports that displays all available reports #263
  • Two rules are disabled when using RF4.0: nested-for-loop and invalid-comment

Acknowledgements

Don't miss a new robotframework-robocop release

NewReleases is sending notifications on new releases.