-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #163 from tom-and-the-toothfairies/iteration-6
Iteration 6
- Loading branch information
Showing
43 changed files
with
1,046 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
source 'https://rubygems.org' | ||
ruby '2.4.0' | ||
ruby '~> 2.4.0' | ||
|
||
group :test do | ||
gem 'capybara' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
process foo { | ||
action clash1 { | ||
} | ||
action clash2 { | ||
} | ||
action clash2 { | ||
} | ||
action clash1 { | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
process foo { | ||
task { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# Features | ||
|
||
Each deliverable feature for Release 2 is outlined in this file. Each feature | ||
is given a short description. For completed features, instructions on how to | ||
verify the feature are provided. | ||
|
||
Continuous integration testing has been set up for the project and can be | ||
tracked [here](https://circleci.com/gh/tom-and-the-toothfairies/pathways). | ||
|
||
## End to End Automated Testing | ||
|
||
We have developed a suite of end to end tests that verify the whole system's | ||
functionality by automating interactions with a web browser. These can be run | ||
with the following command | ||
|
||
```bash | ||
$ sudo docker-compose -f docker-compose.e2e.yml -p integration run athloi; sudo docker-compose -f docker-compose.e2e.yml -p integration down | ||
``` | ||
|
||
Our to end to end tests are written using the Cucumber | ||
behaviour-driven-development test framework which allows tests to be written | ||
according to user stories in plain English in the friendly "Given When Then" | ||
format. These `feature` files can be found [here](../athloi/features). | ||
|
||
## Manually Verifying Features | ||
|
||
To manually verify features, run the project as outlined in the [README]. | ||
The homepage is available at [localhost:4000](http://localhost:4000). | ||
|
||
## Report Unnamed PML Construct - Complete | ||
|
||
### Description | ||
|
||
The system must identify PML constructs that are not named. The system must | ||
display useful error messages about such constructs to the user. | ||
|
||
### Testing | ||
|
||
Visit the [homepage] and select the file | ||
`panacea/test/fixtures/analysis/unnamed.pml`. Press `Submit`. A warning should | ||
now be visible outlining the `Unnamed PML Constructs` in the file. | ||
|
||
Specifically, it should highlight an unnamed `task` on line `2`. | ||
|
||
## Report PML Construct Name Clashes - Complete | ||
|
||
### Description | ||
|
||
The system must identify PML constructs that have the same name. The system | ||
must display useful error messages about such constructs to the user. | ||
|
||
### Testing | ||
|
||
Visit the [homepage] and select the file | ||
`panacea/test/fixtures/analysis/clashes.pml`. Press `Submit`. A warning should | ||
now be visible outlining the `PML Construct Name Clashes` in the file. | ||
|
||
Specifically, it should highlight name clashes for constructs named `clash1` | ||
and `clash2`. | ||
|
||
## PML-TX Save PML to File - Complete | ||
|
||
### Description | ||
The system must be able to allow saving of transformed PML files. | ||
|
||
### Testing | ||
Visit the [homepage] and select a valid PML file; for example | ||
`panacea/text/fixtures/ddis.pml`. Press the `Submit` button. You should now see | ||
a `Download PML TX File` button. Clicking the button, depending on your | ||
browser, will either download the file automatically or prompt you to provide a | ||
filename and location and download the file. | ||
|
||
[README]: ../README.md | ||
[homepage]: http://localhost:4000 | ||
[fixtures directory]: ../panacea/test/fixtures |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
version: '2' | ||
|
||
services: | ||
asclepius: | ||
image: tomtoothfairies/asclepius:latest | ||
depends_on: | ||
- chiron | ||
|
||
panacea: | ||
depends_on: | ||
- asclepius | ||
image: tomtoothfairies/panacea:latest | ||
|
||
chiron: | ||
image: tomtoothfairies/chiron:latest | ||
|
||
selenium: | ||
image: selenium/standalone-firefox:latest | ||
|
||
athloi: | ||
depends_on: | ||
- selenium | ||
- panacea | ||
image: tomtoothfairies/athloi:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.