Re: tools and testing

Russel Winder <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <[email protected]>
On Mon, 2017-04-17 at 08:26 -0700, Bill Deegan wrote:
> Russel,
> 
> Seems like pieces of it (including a new Node type) should be unit
> testable.
> Also, Can Dub pull from a local repository, or is there a stable, but
> small
> web accessible repository?

I agree the _Library class should be amenable to some unittesting,
though it is not clear how much would be actually useful and how much
would just be testing to the sake of having tests. Influenced by Cope,
I am less enamoured of unit tests than I used to be but totally for
end-to-end tests. I will though be adding some tests for Dub now that
it is working for the ApproxGC project.

Dub can pull from a local repository as well as the central one, I
shall have to find out if the central one can be excluded, I think it
can. In this case it would be possible to construct a local repository
and then run an end-to-end test which is good. 

This leaves only the question of which project to construct a package
for. I am thinking that this could be another tool in the D armoury:
build the local code and upload a package to the Dub repository. 
-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEETwDs1X+Beyaiaer41L3V0s7Np7gFAlj1y5AACgkQ1L3V0s7N
p7glmg/9GVFMHW6KNMY4stUMhC34GhzUjhYfZBveuWAiwcSA6OxtU+zWufjGxRI9
scRJu3wsFLmJlo37F+8oqMmStcKKqQAv5NYxo67poiULy0pHi5wM5s2AjA+zHGib
lTybxFnmb61PWJf+4bbre3lyieeA4gDvj2yOfvS1eKDp7WeTUGsp9/O0Bblv/nrZ
UaW+SsEVTwU5hdIJqXMjKkKw3ECWdkE3ND2WLjO/EXJNkfTSruE8kBzX/aPc2Z1i
PwabflpYqIrMfkeX73Tb13hqutVkpyOk+fJvxfKP5CpshtCGtASzowNiQkY5H8+6
nKO9IoiAEXh269eeiCnTIQA89nAxUk9OVWdudbGPKtNm5kYI1D/rPSlPQJGT+/Y+
0My/8twBGERqOTDzlqw+T3tVVCaWeLlQnXB3Z04WaDY4e086GOok/evlasrkMF+u
BUOVbnK6m5cL4bOroXq7V/SzbCS0xFmUSyntlOsJxRht6RLlZ8qsE0/SGqUkgdXV
1S4w1vS6qKmQhjsc11NO6hcA91rDCGYLQYgsfOIRBEDMMui+wsd19K/EMedIzpP8
+3ulls1KpXVS9yk3UUN201e3SKLsztnXMBEiCnEqToEe/p72sNbggXE0GPsoOK9i
DhYaWHaLMD++V+6LdC7xiJ0pDhUD3/HsQ0ZG9VdXzQ8XDnp/3/g=
=zSeu
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.