Skip to content

IsantePlus/isanteplus-qaframework

Repository files navigation

Isanteplus Automated Testing Framework.

This is the Isanteplus Automated testing Framework thats integrates both BDD with Cucumber and Fuctional Testing with Selenium using the Page Object Model design for high Maintainability ,Readability and Re-usability

Publish

Installing dependencies

mvn clean install -DskipTests=true

Configuration

Running tests

  1. All Test Features

     mvn test
    
  2. To run individual Test Features/categories ,You need to filter them by the feature filter tag.

     mvn test -Dcucumber.filter.tags='<@tag>'   
    

    ie , to run Login Feature tests

      mvn test -Dcucumber.filter.tags='@login'   
    

See All test features bellow with their coresponding filter tags

Test Feature Filter Tag
Login @login
Adding a Patient @register
search for a patient @findPatient
Changing Password @password
delete patient @deletepatient
user management @userManagement
Patient summary @patientSummary
consultation @consultation
Patient Coversheet @patientCoverSheet
Reports @reports
Check Forms @checkForms
Patient Merge @patientMerge
Forms @form

Docker Approach

see https://github.com/SeleniumHQ/docker-selenium#quick-start

docker-compose up -d chrome firefox
docker-compose up qa