TRAS(Traceability Assistant) is a semi-automated tool that help analysts uncover traceability links between requirements documents described as use cases and architectural documents.
This project presents TRAS in a set of eclipse plugins. It uses Tycho to build and release the plugins.
More information: http://traceability-assistant.mybluemix.net/
This plugin has primarily been tested with Eclipse 4.3 and 4.4. The plugin is not compatible with versions of Eclipse preceding 4.3. The plugin runs under Java 1.6/6.0, or newer.
To install the TRAS plugin:
- In Eclipse, click on Help -> Software Update -> Find and Install...
- Choose the Search for new features to install option, and click Next.
- Click New Remote Site.
- Enter the following:
- Name: TRAS update site
- URL: https://traceability-assistant.mybluemix.net/eclipse and click OK.
- "TRAS update site" should appear under Sites to include in search.
Click the checkbox next to it to select it, and click Finish. - You should see TRAS under Select features to install.
Select the checkbox next to it and click next. - Select the I accept option to accept the license and click Next.
- The plugin is not digitally signed. Go ahead and install it anyway.
- Click Yes to make Eclipse restart itself.
In order to use the traceability discovery feature you need to install a library called SVD.
Once the library is installed, open a terminal and type svd
.
If you get command not found
, export the library folder to your PATH.
export PATH=$PATH:/path/to/svdlibc/directory
e.g: /Users/foo/svdlibc
that way the runtime can find the svd command.
Sometimes even if svd
is installed, eclipse doesn't find it. That's because eclipse is not using the same PATH as your terminal. While running in eclipse you can manually add svd
to your PATH variable in the run configuration.
svd as part of the Run Configuration
Steps to run the plugins in your development environment.
- You have eclipse installed. See https://eclipse.org/downloads/
- You have maven installed. See https://maven.apache.org/
- You have UIMA RUTA installed. Update site: http://www.apache.org/dist/uima/eclipse-update-site
-
Download the traceability-assistant code:
git clone [email protected]:germanattanasio/traceability-assistant.git
-
Download the plugins code:
git clone [email protected]:germanattanasio/traceability-assistant-eclipse-plugins.git
-
Generate the traceability-assistant jar file.
-
In the
traceability-assistant
folder run:mvn clean install
-
Copy
traceability-assistant/target/traceability-assistant-1.1.2-jar-with-dependencies.jar
intotras-plugins/edu.isistan.carcha.plugin
-
Create a Eclipse Application Run configuration. See image below.
-
Run it!
Note: You can find all the Run configurations in: tras-plugins/edu.isistan.carcha.master/runners
Full video.
Run Help > About Eclipse > Installation Details, select Traceability Assistant and click Uninstall. (On Macintosh it is Eclipse > About Eclipse > Installation Details.)
- Create a maven run configuration in the parent project
- Set
tycho-versions:set-version
as goal - Add
newVersion
as parameter andx.x.x
as version. - Click Run.
- Create another maven run configuration in the parent project
- Set
clean instal
as goal - Click Run.
- The update-site will be available at:
edu.isistan.carcha.p2updatesite/target/edu.isistan.carcha.p2updatesite-x.x.x.zip
The zip file contains all the information you need to install the plugin in your eclipse.
REAssistant is an Eclipse toolset that supports the identification of software concerns in textual requirements specifications, mainly use cases.
To achieve its work, REAssistant is based on three pillars:
- an annotation-based representation of textual use cases,
- a pipeline of Natural Language Processing (NLP) techniques and domain knowledge (about use cases),
- concern-specific rules that, when executed on the use case representation, can extract concern-related information.
In this way, REAssistant aims at exposing both candidate concerns and contextual information (typically, crosscutting relations) that might be overlooked by the analyst.
In order to install REAssistant you will have to contact alejandro.rago[at]gmail[dot]com.
-
Open a terminal and type
svd
. -
If you get
command not found
, export the library folder to your PATH.export PATH=$PATH:/path/to/svdlibc/directory
e.g:
/Users/foo/svdlibc
that way the runtime can find the svd command.If you are using eclipse you need to look at the environment. You may need to add the path variable in your run configuration and include the path to
svd
as showed above. You can also follow the instructions in this blog
This sample code is licensed under Apache 2.0. Full license text is available in LICENSE.