OzFramework / oz

Oz is a behavioral web-ui testing framework developed to reduce test maintenance by using a predictive model rather than a scriptive model when writing tests.
Apache License 2.0
23 stars 7 forks source link

Delint project #170

Open ThePROX opened 5 years ago

ThePROX commented 5 years ago

Currently there are a vast amount of rubocop errors and warnings that are thrown (over 1k). This should be addressed to gain adherence to proper code formatting and current Ruby suggestions where possible. If there are specific smells that we decide to avoid, we need to create a rubocop config file to ignore them.

Castone22 commented 5 years ago

We need to be a little cautious with this.

Rubocop if nothing if not HIGHLY opinionated and sometimes it actually suggests doing stuff that breaks the ruby styleguide (just look what happens if you try to use method missing to make a facade, it suggests solutions for refactor that actively change the outward behavior of your code.)

If we want to rely on it more heavily, we need to ensure we've got a good profile configured for it.

Current problems it detects in the oz codebase itself tend to be: