<p></p>
<blockquote>
<pre><code>* I'm going to continue using cucumber as that's how I get from the design document Design.md to test scenarios, to specs, to code.  I'm not opposed to minitest.  In fact I'm a strong supporter of the testing pyramid, which places unit tests as the most popular testing in your suite.  i just need to know where to get started.
</code></pre>
</blockquote>
<blockquote>
<pre><code>1. Get me started with minitest.  Feel free to fork my fork and submit a PR.
</code></pre>
</blockquote>
<p>I'm afraid that I don't have the spare capacity right now to refactor your PR, but I can certainly point you in the right direction! For any of your tests that involve user interaction - the sort of thing where you've been using cucumber and capybara - then you should refactor the tests to be "system" tests in the <code>test/system' directory. You can see some examples there, and continue to use all the capybara stuff like </code>visit login_path<code>, </code>click_on title` and so on in those tests.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2390#issuecomment-600554273">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNLBD6LMF4D4EYOIPDRICRXNANCNFSM4JAHYW4Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLMMFNLJDDGPRAQTURLRICRXNA5CNFSM4JAHYW42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEPF3WII.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2390#issuecomment-600554273",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2390#issuecomment-600554273",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>