A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/3068 below:

[java] Some tests should not depend on real rules · Issue #3068 · pmd/pmd · GitHub

Tests for the ant task, eg PMDTaskTest, depend on rulesets and rules that are published. This is fragile as the tests have a dependency on specific behavior of some rules, eg messages or default property values.

Those tests should be rewritten to use mock rulesets and mock rules, that only live in our test sources.

One example of a problem caused by this coupling is that #3066 needed to modify a resource file used by the ant test.

Other examples:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4