Ticket #28 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

[PATCH] Preparing akelos for passing tests on windows

Reported by: salavert Assigned to: bermi
Priority: critical Milestone: 0.8
Component: Installer Keywords:
Cc:

Description (Last modified by bermi)

Good news for the Akelos community today.

Akelos now passes the 2560+ unit tests on Windows. From the Active Record to the Filters and file manipulation. Everything works like a charm now on Windows.

I attach a BIG patch with the changes. Some of them are:

  • DB connection identifier was weak, so not the first connection will be the default.
  • The AkInstaller? had an inconsistent versioning scheme, as whenever I ran the migration the version was modified independently from the environment. Now versions are stored at app/installers/versions and are prefixed by the environment. File versioning on testing mode is not needed at all.
  • Fixed some setup issues on directory recursion where it made the setup script to fail silently.
  • Added rewrite base for testing environments.
  • Fixed a misleading test on Active Record produced by scoped file functions when running the tests including the framework from a different source.

I hope you find all this useful.

Attachments

preparing_akelos_for_passing_tests_on_windows.patch (9.5 kB) - added by salavert on 08/01/07 14:22:02.

Change History

08/01/07 14:22:02 changed by salavert

  • attachment preparing_akelos_for_passing_tests_on_windows.patch added.

08/01/07 14:28:16 changed by salavert

  • description changed.

08/02/07 12:43:01 changed by bermi

  • owner set to bermi.
  • description changed.

08/02/07 12:52:59 changed by bermi

  • status changed from new to closed.
  • resolution set to fixed.

Hey salavert,

This is awesome! I've made some minor changes to your patch and passed the tests on a windows/xampp box. This is a superb contribution that has been committed in [303]

Big Thanks and welcome to the Akelos Development team!