Sha256: b7fc0ede9dc368fa080e8ee8776f44d9512af55ad0b629b5bf3e1329ea490f3d

Contents?: true

Size: 1.62 KB

Versions: 3

Compression:

Stored size: 1.62 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 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 & 1 rubygems

Version Path
dpickett-clinical-0.1.0 features/finding_clinical_trials.feature
dpickett-clinical-0.1.1 features/finding_clinical_trials.feature
dpickett-clinical-0.1.2 features/finding_clinical_trials.feature