News for hackers. Stuff that matters.
Re:Dylan: the harsh realities of the market by Diederich on Tuesday August 26, 2014 @10:17AM (#8227147)
https://metacpan.org/recent

There are a couple of CPAN module installers, and every one of them, by default, will not install the target module if there are any test failures.

Honest question: are there any other languages that do that? I last looked a few years ago, and it didn't seem to be the case.

Re:Dylan: the harsh realities of the market by lmm on Tuesday August 26, 2014 @10:37AM (#8227285)
Maven will not, by default, allow you to perform a release if there are any test failures. That seems like a better model, at least for a VM language - if something works on the release machine and not on the user's machine, you have bigger problems.
Re:Dylan: the harsh realities of the market by Diederich on Tuesday August 26, 2014 @06:28PM (#8229932)
That's great to hear!

I'm not too strong on Java; does what you're saying imply that some/all/most of the freely available Java 'modules' or 'packages' that are built with Maven will end up running and passing associated test suites in most all of the organizations that end up using the code in question?

Re:Dylan: the harsh realities of the market by wtetzner on Tuesday August 26, 2014 @08:20PM (#8230309)
No, the tests are run as part of the deploy. So before deploying a library, if the tests don't pass, the deploy fails.

However, the artifact that actually gets deployed is a .jar file containing .class files. Users of libraries don't rebuild the libraries.

Re:Dylan: the harsh realities of the market by lmm on Wednesday August 27, 2014 @05:34AM (#8231378)
Just to clarify, "deploy" in this sense means "upload to your organization's maven repository (or maven central)".
Re:Dylan: the harsh realities of the market by Diederich on Wednesday August 27, 2014 @10:49AM (#8232399)
Ok cool, I understand.

So would you guess there'd be wide-spread 'deploy-time' test coverage across the Java ecosystem?

Thanks again!