3. Use
Running specifications
To run specifications, you have to open the Repository View.
There is two differents ways to execute specifications :
I. Execute and Debug specification(s)
By right-clicking on desired specification or group of specifications to be executed
(For debugging, you can right click on a specification)
By clicking in the Repository View menu on "Execute Selected Document" button
II. Results
Running will show you the results :
You can also view the results by double-clicking on the executed specification ( in Repository View ).
Repository view
You can view all the specifications for your project using the repository view.
Show the repository view window
Choose GreenPepper RepositoryView
The Repository View
The Repository view is a JUnit like view.
You will be able to launch executions, view documents and results and work on both Implemented and Working copies of the documents.
Careful ! the Green bar might be addictive after a while ...
| |
project |
|
GreenPepperised |
| |
Repositories |
|
A JIRA Repository |
|
A Confluence Repository |
|
A XWiki Repository |
|
A Remote File Repository |
|
A Local directory |
| |
Documents |
|
Plain |
|
Executable |
|
Working differs from the Implemented copy |
|
Working copy |
|
| |
Actions |
|
Will tell Eclipse to work on the Working copy of the Document |
|
Will tell Eclipse to work on the Implemented copy of the Document |
|
Will Ask the Repository to MERGE the Working copy with the Implemented copy of the Document |
|
Executes The selected Document |
|
Reloads The selected Document from the repository |
|
Refreshes the Tree |
|
 | By default Visual Studio plugin will work on the Implemented copy of the document.
|
Fixture generation
You can generate a skeleton fixture for a specification
In the repository view window
Choose an executable specification, right click on it and select "Generate skeleton fixture"
The Generator View
The generator shows you all fixtures contained in the selected specification.
1. Select the fixture to generate
2. Select the folder where you want to create your fixture
3. Click on "Generate"
The Generated Fixture
 | Visual Studio plugin fixture generation works for VB.Net and C#.Net.
|
Keyboard shortcuts
| Shortcut |
Action |
| CTRL+G, C |
GreenPepperAddIn.Connect.CreateFixture |
| CTRL+G, D |
GreenPepperAddIn.Connect.DebugDocument |
| CTRL+G, E |
GreenPepperAddIn.Connect.ExecuteAllDocument |
| CTRL+G, X |
GreenPepperAddIn.Connect.ExecuteDocument |
| CTRL+G, P |
GreenPepperAddIn.Connect.GreenPepperOptions |
| CTRL+G, V |
GreenPepperAddIn.Connect.GreenPepperRepositoryView |
| CTRL+G, O |
GreenPepperAddIn.Connect.ReloadDocument |
| CTRL+G, L |
GreenPepperAddIn.Connect.ReloadRepositories |
| CTRL+G, I |
GreenPepperAddIn.Connect.SwitchToImplementedVersion |
| CTRL+G, W |
GreenPepperAddIn.Connect.SwitchToWorkingCopy |
| CTRL+G, F |
GreenPepperAddIn.Connect.TagAsImplemented |