<p>First and foremost, to work on Windows, IO::All must be patched <a href="https://github.com/ingydotnet/io-all-pm/pull/81">see IO::All Pull Request #81</a></p>

<p>After patching my IO::All, I still encountered errors on Windows. To correct those errors, I made the following changes:</p>

<ul>
<li>In t/12-populate-basic.t, DBICTest could not delete the database unless you disconnected first.

<ul>
<li>Forcing the $schema variable out of scope causes the disconnect, allowing the database to be deleted.</li>
</ul>
</li>
<li>In t/compile.t, failed on Windows because regex assumed Linux path separator / but on Windows the path separator is .

<ul>
<li>Using File::Spec and File::Basename makes tests OS independent.</li>
</ul>
</li>
</ul>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>&nbsp;&nbsp;<a href='https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/9'>https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/9</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Force $schema out of scope to allow DB to be deleted</li>
  <li>Made independent of OS by using File::Spec</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/9/files#diff-0">t/12-populate-basic.t</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/9/files#diff-1">t/compile.t</a>
    (10)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/9.patch'>https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/9.patch</a></li>
  <li><a href='https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/9.diff'>https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/9.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/9">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AASeAskwLSejBdYOuxl4AoX08kqqGP6qks5pdlbsgaJpZM4HL0fb.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/9"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>