On Tue, 23 Jul 2013 17:56:00 -0700
Adriaan Moors <adriaa...@typesafe.com> wrote:
> Hi,
>
> I'm almost done moving partest out, so that we can move scala-xml to its
> own repository.
>
> https://github.com/adriaanm/scala-partest-test-interface/commits
> https://github.com/adriaanm/scala-partest/commits
> https://github.com/adriaanm/scala-xml/commits
> https://github.com/adriaanm/scala/tree/modularize-partest
>
> I could use some help with the remaining TODOs:
>
> - in scala-partest-test-interface: get dependencyClasspath in Test from
> SBT and use that to start partest
If the class loader that the Runner gets isn't enough, you can pass the classpath in an argument. If that doesn't sound quite right, can you explain the requirements? (If it is about right, I can provide details tomorrow.)
> - rework the test/partest script to resolve the current release of
> partest and launch it
If I understand correctly, this is partly about how to determine what the current release's version is. If so, you probably want the version to be explicit in the build so that the build is reproducible. (Sorry if that was obvious!) For resolving, I assume you mean via a Maven repository, in which case Josh probably knows how to better integrate that into the Ant build.
Ah right, the class path for the loader passed to the framework is the dependency classpath configured for test in SBT?That's perfect.
I'm almost done moving partest out, so that we can move scala-xml to its own repository.
I'm almost done moving partest out, so that we can move scala-xml to its own repository.
What's the benefit of it? I see only a slight drawback of making things a bit more annoying to test and build.
--
The benefit of moving partest out? The benefit of moving anything out?
The first repo will be scala-xml, which needs partest for testing.
I'm a bit worried about the friction of separate repos.
Keep in mind that that project will have its own PR queue, issue tracker, releases,...
I'm a bit worried about the friction of separate repos.
That was my concern as well.
--
scala-xml's tests need partestI just published scala-partest 1.0-RC1, and as soon as scala-partest-interface is out, scala-xml can be tested with `sbt test`friction requires surfaces to meet -- I find that technical solutions often follow the organizational structureif we want our code to be modular, we should arrange our "work environment" correspondinglyyes, we should avoid fragmentation, but I think the advantage is that we, Scala compiler developers,experience living in a modular world and the problems that go with it (e.g., enforcing binary compatibility),so that we can solve them better for everyone
Personally, I find that argument very appealing.