#1366 Make the MBS unit tests faster
Opened by mprahl. Modified

Since PR #1333, the unit tests have been quite slow. It took 641.52 seconds to run the unit tests in Vagrant.

We need to find a way to make these faster.


Some ideas:

  • Avoid dropping and creating tables for each test method.
  • Refine some each test case classes to just do that only once at the class level
  • Probably the database could be initialized at module level if the database destroy and creation are required.

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/mbs/issues/1366

Please continue any further discussion there.

Metadata