Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 48 lines (29 sloc) 1.695 kb
b03f83b Added README file
Iulian Dragos authored
1 Migration Manager for Scala
2 ==============
3
4 A tool for diagnosing and fixing migration problems for Scala libraries.
5
6 Build
7 -------
8
f24137b Updated README.md. Created new functional-tests. Updated sbt Build.sc…
Mirco authored
9 Using [the xsbt tool][xsbt].
b03f83b Added README file
Iulian Dragos authored
10
f24137b Updated README.md. Created new functional-tests. Updated sbt Build.sc…
Mirco authored
11 $ xsbt update compile
b03f83b Added README file
Iulian Dragos authored
12
13
f24137b Updated README.md. Created new functional-tests. Updated sbt Build.sc…
Mirco authored
14 Make sure to build the sources of branch 0.9, installation notes can be found in the README.md file of the [xsbt git repository][xsbt].
15
16 [xsbt]: https://github.com/harrah/xsbt/tree/0.9
17
18 Functional Tests
19 -------
20
21 The 'functional-tests' folder contains a good number of functional tests that exercise the Mima's error reporting functionality. All tests are executed by running the following command:
22
23 $ xsbt package
24
25 If you desire prefer to run a single test, then run the following command
26
27 $ xsbt <test-folder-name>/fun-tests
28
29 To create add a new functional test to the suite, create a new folder within 'functional-tests' directory with the following structure:
30
31 functional-tests
32 |
33 | --> <your-new-test> (folder for your new test)
34 |
35 |-----> problems.txt (the expected list of reported errors - 1 line per error)
36 |-----> v1 (folder containing sources @ version 1)
37 |-----> v2 (folder containing sources @ version 2)
38
39 After doing that, `reload` if you are in a `xsbt` console session (don't worry if that makes nosense to you, then you are fine and you can run the test as usual).
40
41 All tests in this folder should always pass. If you spot a bug/missing feature then you can create a test that demonstrates the problem and put it in the `functional-tests-exposing-bugs` directory, located in the project root.
42
43 Bugs and Feature requests
44 -------
45
46 Use the [Assembla project page][mima-assembla] for filing new tickets.
47
48 [mima-assembla]: https://www.assembla.com/spaces/mima/tickets
Something went wrong with that request. Please try again.