<p dir="auto">This PR adds the <a href="https://github.com/minitest/minitest-focus">minitest-focus</a> gem, which I've been using a lot recently. It's particularly helpful if you are examining the test logs, or doing some other work which means the other tests in the file are just a distraction.</p>
<p dir="auto">There's a small risk with focussing a test, that it might be committed as focussed. If nobody notices during review, that can cause the rest of the test suite to be skipped. To mitigate this (admittedly remote) risk, I've set it up to not be enabled on CI, so any use of the 'focus' keyword there will cause the entire suite to fail.</p>
<p dir="auto">(My preferred mitigation would be a rubocop rule like <a href="https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecfocus" rel="nofollow">https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecfocus</a> which would have a similar effect, but that doesn't yet exist for rubocop-minitest).</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/4510'>https://github.com/openstreetmap/openstreetmap-website/pull/4510</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4510/commits/bd1f568c0a91d8d58b05912fdae1a6912edd3e62" class="commit-link">bd1f568</a> Add minitest-focus gem</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4510/files">3 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4510/files#diff-d09ea66f8227784ff4393d88a19836f321c915ae10031d16c93d67e6283ab55f">Gemfile</a>
(1)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4510/files#diff-89cade48462044ee1b672dc5f4c3ec250fbd29effcd8932096a23c1283c6731f">Gemfile.lock</a>
(3)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4510/files#diff-ba37813ca277c227a74a372479b7b05b7f3ff085d890ab708f80d62573efdb7a">test/test_helper.rb</a>
(1)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4510.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4510.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4510.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4510.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4510">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJJCDDQ7OTXBPPXQ5DYSPAL3AVCNFSM6AAAAABC6JTUIKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEZDGNRRGEZTANA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIEPVEJCHUVMY27I2TYSPAL3A5CNFSM6AAAAABC6JTUIKWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHH5E54VA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/4510</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/4510",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4510",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>