Skip to content

Bahmni Automation Test Suite using Gauge Framework

License

Notifications You must be signed in to change notification settings

endtb/bahmni-gauge

 
 

Repository files navigation

Automation Test Suite using the Gauge Framework

Installation instructions

  • Download Gauge from here.

  • Install core plugins using the following commands

    • gauge --install java
    • gauge --install html-report

Running functional tests

  • Run the following commands with proper values to setup the required environment variables.

    • export BAHMNI_GAUGE_APP_URL=<bahmni application url>
    • export BAHMNI_GAUGE_APP_USER=<bahmni username>
    • export BAHMNI_GAUGE_APP_PASSWORD=<bahmni password>
    • export BAHMNI_GAUGE_APP_IMPL_NAME=<bahmni implementation name>
    • export BAHMNI_GAUGE_PIH_USER=<bahmni pih_username>
    • export BAHMNI_GAUGE_MSF_USER=<bahmni msf_username>
    • export BAHMNI_GAUGE_IRD_USER=<bahmni ird_username>
    • export BAHMNI_GAUGE_PIH_PASSWORD=<bahmni pih_password>
    • export BAHMNI_GAUGE_MSF_PASSWORD=<bahmni msf_password>
    • export BAHMNI_GAUGE_IRD_PASSWORD=<bahmni ird_password>
    • export BAHMNI_GAUGE_APP_LOCATION=<bahmni login location>
    • export BAHMNI_GAUGE_APP_ANOTHER_LOCATION=<bahmni another login location for multiple visits check>
  • Running functional tests

    • Run mvn clean install at the root project level.
    • To run functional tests for a specific project, for example the endtb project
      • cd bahmni-gauge-endtb
      • mvn gauge:execute

FAQ

  • Xvfb gets stopped on reboot of the machine
    • To make it running again, please run the below commands
      • Xvfb -ac :99 -screen 0 1280x1024x16 &
      • export DISPLAY=:99

About

Bahmni Automation Test Suite using Gauge Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • FreeMarker 55.4%
  • Java 43.7%
  • Other 0.9%