summaryrefslogtreecommitdiff
path: root/features/lazar_single_prediction.feature
diff options
context:
space:
mode:
Diffstat (limited to 'features/lazar_single_prediction.feature')
-rw-r--r--features/lazar_single_prediction.feature17
1 files changed, 17 insertions, 0 deletions
diff --git a/features/lazar_single_prediction.feature b/features/lazar_single_prediction.feature
new file mode 100644
index 0000000..d72bea6
--- /dev/null
+++ b/features/lazar_single_prediction.feature
@@ -0,0 +1,17 @@
+@rest
+Feature: Create a model and predict an unknown compound
+ 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/rdf+xml
+ And I post <data> to the dataset webservice
+ When I create a lazar model for <feature>
+ Then I should receive a valid URI
+ And the model should predict <prediction> for <smiles>
+
+ Examples:
+ |feature |data |smiles |prediction|
+ |http://www.epa.gov/NCCT/dsstox/CentralFieldDef.html#ActivityOutcome_CPDBAS_Hamster|file: hamster_carcinogenicity.owl|c1ccccc1NN|true |
+