summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.de>2010-03-16 19:46:45 +0100
committerChristoph Helma <helma@in-silico.de>2010-03-16 19:46:45 +0100
commit41b85e77826f0f124886cc399a32a55c2f64d4e7 (patch)
tree30b851403a1452e311980a357b8e44c9329f62d9
parent2d99e830285b13dfbdfdbea83df950183010d71b (diff)
some untracked files added
-rw-r--r--features/dataset_yaml.feature15
-rw-r--r--features/lazar_dataset_prediction.feature23
2 files changed, 38 insertions, 0 deletions
diff --git a/features/dataset_yaml.feature b/features/dataset_yaml.feature
new file mode 100644
index 0000000..4eac919
--- /dev/null
+++ b/features/dataset_yaml.feature
@@ -0,0 +1,15 @@
+@rest
+Feature: Dataset
+
+ Scenario Outline: Create a dataset
+ Given Content-Type is application/yaml
+ And Accept-Type is application/x-yaml
+ When I post <data> to the dataset webservice
+ #When the task is completed
+ Then I should receive a valid URI
+ And the URI response should be <data>
+
+ Examples:
+ |data|
+ |file: hamster_carcinogenicity.yaml|
+ |file: hamster_carcinogenicity_fminer_features.yaml|
diff --git a/features/lazar_dataset_prediction.feature b/features/lazar_dataset_prediction.feature
new file mode 100644
index 0000000..1ead546
--- /dev/null
+++ b/features/lazar_dataset_prediction.feature
@@ -0,0 +1,23 @@
+@rest
+Feature: Create a model and predict a dataset
+ As a toxicologist
+ I want to create a lazar model
+ In order to predict the toxicity of a compound
+
+ Scenario Outline:
+ Given Content-Type is application/x-yaml
+ And Accept-Type is application/x-yaml
+ And I post <training_data> to the dataset webservice
+ And I create a lazar model for <feature>
+ And the task is completed
+ And I post the test dataset <prediction_data>
+ And I predict the test dataset
+ When the task is completed
+ Then I should receive a valid URI
+
+ Examples:
+ |feature |training_data |prediction_data|
+ |http://localhost/toxmodel/feature#Hamster%20Carcinogenicity%20(DSSTOX/CPDB)|file: hamster_carcinogenicity.yaml|file: test.yaml|
+ #|http://www.epa.gov/NCCT/dsstox/CentralFieldDef.html#ActivityOutcome_CPDBAS_Hamster|file: hamster_carcinogenicity.yaml|c1ccccc1NN|true |
+ #|http://ambit.uni-plovdiv.bg:8080/ambit2/feature/12156|file: hamster_carcinogenicity_ambit.owl|c1ccccc1NN|true |
+