Running Unit Tests
Sven Krohlas
sven at asbest-online.de
Wed Aug 5 09:45:49 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
> 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.
As eean already wrote: I tried that. Linking those binaries was a pita
and depending on the class a lot of Amarok had to be loaded anyway.
Running the tests currently takes << 1 second here (plus Amarok startup
time) and I don't think it will be so much more in the future, as the
tests are really fast.
- --
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
iEYEARECAAYFAkp5OK0ACgkQOOggGLjBlhZt5ACg0JJ/jFytBHgjeC1gzvaOlGu+
a74An2brVFe3IvJ2wJA/wWFZA+G/I5zY
=ujae
-----END PGP SIGNATURE-----
More information about the Amarok-devel
mailing list