Commit Graph

2690 Commits

Author SHA1 Message Date
Mark Harrah 3e7bedd11b Properly filter test results and decode test names in printed output.
Initial report by @viktorklang, based on his patch.
2013-07-03 17:16:00 -04:00
Mark Harrah f4305023a7 Docs: more compatibility notes 2013-07-03 17:15:26 -04:00
Marko Elezovic ebb6b2cf70 Whitespace OCD 2013-07-02 08:21:32 -04:00
Mark Harrah 91e646f436 Docs: note JLine/Ansi changes 2013-07-02 08:21:23 -04:00
Mark Harrah 8c7a1a4f8a clean up CONTRIBUTING and README 2013-06-28 19:06:56 -04:00
Mark Harrah fc34039894 switch to org.scala-sbt;test-interface;1.0 2013-06-28 19:03:30 -04:00
Mark Harrah 7992997ac1 refined auto project ID to prepend 'root-' if initial character is numeric 2013-06-28 14:31:45 -04:00
Mark Harrah b8ff4ca3d5 conscript launchconfigs for 0.13.0-SNAPSHOT 2013-06-28 12:12:58 -04:00
Mark Harrah a1a00526ff properly wrap unknown test data structures in serializable ones 2013-06-28 12:12:58 -04:00
Mark Harrah 3e74b92bf8 TestFingerprintWrapper no longer necessary 2013-06-28 11:18:17 -04:00
Mark Harrah 851451a90a shouldn't need to deserialize user classes when forking tests, only sbt+test-interface 2013-06-28 11:02:49 -04:00
Mark Harrah 53191cb787 Only print extra test status counts if nonzero 2013-06-28 09:48:27 -04:00
Mark Harrah 301c11f9e0 Drop ForkTestDefinition in favor of TaskDef 2013-06-28 09:24:47 -04:00
Mark Harrah ba28e5b505 not necessary to rewrap TaskDef in FrameworkWrapper.createTask 2013-06-28 09:24:33 -04:00
Mark Harrah 019920c138 duration() is specified to return -1 when none exists 2013-06-28 09:09:46 -04:00
Mark Harrah ab0d61c3fe define test-interface dependency in build in one place 2013-06-28 09:08:29 -04:00
cheeseng 6d4e51386f Added Specs2 new implementation class name. 2013-06-28 18:04:08 +08:00
cheeseng 86f47bd67d Added explicitlySpecified and selectors field to ForkTestDefinition, and change ForkMain to use explicitlySpecified and selectors value sent from ForkTests. 2013-06-28 17:45:13 +08:00
cheeseng 0c66d1a5d3 Added support of Ignore, Canceled and Pending added in the latest framework API. 2013-06-28 17:19:27 +08:00
cheeseng 5bb46359b5 Change to use test-interface-1.0-SNAP7, and use ScalaTest 2.0.M6-SNAP26 which implemented test-interface-1.0-SNAP7. 2013-06-28 17:18:38 +08:00
Mark Harrah 220886be80 fix plugin depth and project ID auto detection for external dependencies 2013-06-28 00:01:19 -04:00
Mark Harrah 644a2c9d13 scripted support for disabled tests 2013-06-28 00:01:19 -04:00
Mark Harrah ca9f32c7d1 Include projects without defined settings in KeyIndex. 2013-06-28 00:01:19 -04:00
Mark Harrah 9f75ab31cc fix task execution test compilation 2013-06-28 00:01:19 -04:00
Mark Harrah 989c1d3dc6 auto-generate conscript launchconfigs from launcher boot.properties 2013-06-28 00:01:19 -04:00
Mark Harrah 1377840cdf Make GitHub contributors and members pages primary means of credit to avoid staleness 2013-06-28 00:01:19 -04:00
Mark Harrah 77d8c0b022 Docs: plugins repository not needed since it is added by default now 2013-06-28 00:01:19 -04:00
Mark Harrah 48a6d117cd Docs: fixes and reworked Setup page 2013-06-28 00:01:19 -04:00
Mark Harrah 0e009b1480 Exclude class directories from plugin classpath used for updateSbtClassifiers: classified jars not available
Fixes #798.
2013-06-27 14:12:47 -04:00
Mark Harrah 5c1ca5d1ec use 0.12.4 final for building 2013-06-27 14:12:47 -04:00
Mark Harrah 913236fc8e Docs: fix typo 2013-06-27 14:12:43 -04:00
Mark Harrah bccc4d10fb Merge remote-tracking branch 'inc-documentation' into 0.13 2013-06-27 09:40:17 -04:00
Grzegorz Kossakowski 65c1b122df Add documentation for api debugging feature.
Include a new section in `Understanding-incremental-compilation`
document which explains in detail how to turn on and use the
new api debugging feature.
2013-06-26 16:50:05 -07:00
Grzegorz Kossakowski 64b7590463 Document changes to dependency trackin in incremental compiler.
Mention distinction between dependencies through inheritance and member
reference. Add an example which demonstrates the difference a little
bit more concretely by using some simple Scala source code.
2013-06-26 11:13:16 -07:00
Mark Harrah 1048976844 jline/jansi fixes for windows. Fixes #763, fixes #562.
The startup script should set sbt.cygwin=true if running from cygwin.
This will set the terminal type properly for JLine if not already set.
If sbt.cygwin=false or unset and os.name includes "windows", JAnsi is
downloaded by the launcher and installed on standard out/err.

The value for jline.terminal is transformed from explicit jline.X to
the basic types "windows", "unix", or "none".  Now that sbt uses JLine
2.0, these types are understood by both sbt's JLine and Scala's.
Older Scala versions shaded the classes but not the terminal property
so both couldn't be configured with a class name at the same time.
2013-06-26 13:40:33 -04:00
Grzegorz Kossakowski 248a5ccb15 Add `sbt.extraClasspath` to command line reference. 2013-06-26 10:17:49 -07:00
Grzegorz Kossakowski 59343313f1 Convert table in cmd line reference to a real rST table.
Previous table was mix of reStructuredText and html produced by
automatic conversion tool. The result was rather unreadable and very
hard to edit.

I converted the table to native reStructuredText's table.
2013-06-25 23:46:15 -07:00
Grzegorz Kossakowski 59cea58892 Mention api debugging improvements in change summary for 0.13
Mention both #677 and #793 which introduced all functionality needed
for api debugging.
2013-06-25 17:08:09 -07:00
Eugene Yokota b880c5bc16 Supply default terminal width to fix #795 2013-06-25 10:37:56 -04:00
Mark Harrah 931c297f52 make APIDiff private[inc] 2013-06-25 08:13:06 -04:00
Mark Harrah 0e426223ec Merge api-diff into 0.13 2013-06-25 07:24:08 -04:00
Grzegorz Kossakowski 0d2dc75115 Make api diff context size valuable configurable.
Add `apiDiffContextSize` option to `IncOptions` which allows one
to control the size (in lines) of a context used when printing
diffs for textual API representation.

The default value for `apiDiffContextSize` is 5 which seems to be
enough for most situations. This is verified by many debugging
sessions I performed when using api diffing functionality.
2013-06-25 00:04:45 -07:00
Grzegorz Kossakowski 025eae9103 Log API diffs using ShowAPI and java-diff-utils library.
Implement displaying API changes by using textual representation
of an API (ShowAPI) and good, old textual diff algorithm. We are
using java-diff-utils library that is distributed under Apache 2.0
license.

Notice that we have only soft dependency on java-diff-utils. It means
that we'll try to lookup java-diff-utils class through reflection
and fail gracefully if none is found on the classpath. This way
sbt is not getting any new dependency. If user needs to debug
api diffs then it's matter of starting sbt with
`-Dsbt.extraClasspath=path/to/diffutils.jar` option passed
to sbt launcher.
2013-06-25 00:04:39 -07:00
Mark Harrah aeab5bfdaa fix duplicate launcher upload 2013-06-24 20:06:38 -04:00
Mark Harrah 4c515d3aa0 Docs: note about Scala version override being dropped 2013-06-24 18:42:15 -04:00
Grzegorz Kossakowski ad718587bb Configure additional classpath through `sbt.extraClasspath`
Modify the default launcher configuration for sbt so extra classpath
entries for sbt can be configured through `sbt.extraClasspath` system
property.
2013-06-24 15:04:57 -07:00
Grzegorz Kossakowski f426f8ba7f Allow an empty string as a default in variable substitution.
Lanucher configuration parser would previously require a default
value in variable substitution pattern to be non-empty string.
This is an unnecessary restriction as empty value is sometimes
useful as in this example:

  resources: ${sbt.extraClasspath-}

This commit lifts this restriction so empty default values are
allowed. The change has been discussed with @harrah.
2013-06-24 15:04:57 -07:00
Mark Harrah f7ac74ab05 deprecate xml process constructors, which are replaced by proper string interpolation in Scala 2.10 2013-06-24 17:48:44 -04:00
Mark Harrah 311e3dca5c Docs: not necessary to run 'proguard' explicitly anymore 2013-06-24 14:49:16 -04:00
Mark Harrah aef6df3e20 handle undefined target directory in unique target check 2013-06-23 19:57:31 -04:00