Sha256: d222d106737bb882f6772f27894db6a45d1026f7244ca890a9e627c2b73e405f

Contents?: true

Size: 1.98 KB

Versions: 3

Compression:

Stored size: 1.98 KB

Contents

Feature: As a potential participant for a clinical study
  I want to search for clinical trials
  So that I can find out more information about them

  Scenario: Find open studies
    Given I am searching for trials where "recruiting" is "true"
    When I perform the search
    Then I should get trials that are "open"

  Scenario: Find closed studies
    Given I am searching for trials where "recruiting" is "false"
    When I perform the search
    Then I should get trials that are not "open"

  Scenario: Find a specific condition
    Given I am searching for trials where "condition" is "hemophelia"
    When I perform the extended search
    Then I should get trials where the "conditions" contains "hemophelia"

  Scenario: Find a specific intervention
    Given I am searching for trials where "intervention" is "drug"
    When I perform the extended search
    Then I should get trials where the "interventions" contains "drug"

  Scenario: Find a specific outcome
    Given I am searching for trials where "outcome" is "toxic"
    When I perform the extended search
    Then I should get trials where the "outcomes" contains "toxic"

  Scenario: Find a specific sponsor
    Given I am searching for trials where "sponsor" is "Eli Lilly"
    When I perform the extended search
    Then I should get trials where the "sponsors" contains "Eli Lilly"

  Scenario: Find a specific trial
    When I attempt to retrieve trial "NCT00001372"
    Then I should get a trial
    And the trial should have an "id" of "NCT00001372"

  Scenario: Find a specific trial with extended attributes
    When I attempt to retrieve trial "NCT00454363"
    Then I should get a trial
    And the trial should have a "phase" of "2"
    And the trial should have "conditions" like "Lung Cancer"
    And the trial should have a "minimum_age" of "21 Years"
    And the trial should have "sponsors" like "M.D. Anderson"

  Scenario: Find a non-existant trial
    When I attempt to retrieve trial "4325785"
    Then I should not get a trial
    

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
dpickett-clinical-0.2.0 features/finding_clinical_trials.feature
dpickett-clinical-0.2.1 features/finding_clinical_trials.feature
clinical-0.2.2 features/finding_clinical_trials.feature