Running Unit Tests

Bart Cerneels bart.cerneels at kde.org
Wed Aug 5 08:57:03 CEST 2009


Might it be possible to make tests a separate binary that links to the
libraries under test and performs the necessary initialization just
like amarok proper does?
It seems kind of overkill and unproductive to have to run the whole
app to test something like PlaylistFileSupport.

Bart

On Wed, Aug 5, 2009 at 01:52, Seb Ruiz<ruiz at kde.org> wrote:
> Looking good Sven.
>
> Is there no way to run amarok --test in it's own sandbox mode? Or
> perhaps trigger tests by calling `make tests` instead?
>
> I dislike the idea of the testing messing with my personal configurations.
>
> Seb
>
>
> 2009/8/5 Sven Krohlas <sven at asbest-online.de>:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Heya,
>>
>> I just pushed the test framework to amster, so if you want
>> to run tests it's simply a
>>  amarok --test
>> (beware: it kills your current playlist).
>>
>> Logs then show up in ~/.kde4/share/apps/amarok/testlogs/
>> (or whateever that dir is located on your system).
>>
>> The tests for DirectoryLoader fail currently, due to
>> problems with the test itself.
>> - --
>> Darkerradio Free Music Charts:
>> http://www.darkerradio.com/news/free-music-charts-juli-2009/
>> Klarmachen zum Ändern! -> http://www.piratenpartei.de/
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2.0.9 (GNU/Linux)
>> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
>>
>> iEYEARECAAYFAkp4WKIACgkQOOggGLjBlhY2LgCdEIA9QLjaeGhdiNy1AwHk2VYJ
>> YOcAoKcRbx68P1dBTV8YG+2yv3XbL3Ab
>> =I3tw
>> -----END PGP SIGNATURE-----
>> _______________________________________________
>> Amarok-devel mailing list
>> Amarok-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/amarok-devel
>>
>
>
>
> --
> Seb Ruiz
>
> http://www.sebruiz.net/
> http://amarok.kde.org/
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel
>


More information about the Amarok-devel mailing list