BBahmni 한국어 매뉴얼검색
한국어 번역 완료
한국어English

Bahmni Gauge

Introduction

Bahmni gauge is test automation suite for Bahmni based on ThoughtWorks Gauge project. The implementation projects can leverage the commons module and can extend this framework to suit their customization requirements. The testcases written in gauge will be simple and easy to maintain. Gauge comes with a decent set of features like Specs, scenarios, steps, tags, concepts, context and many more.

Guidelines

  1. Every spec file should intend to test one and only one business feature.  For example, new_user_registration, program_enrollment etc.  The description of the spec should be clearly mentioned.  This document should look like a feature documentation.
  2. A spec file can contain multiple scenarios.  Each scenario represents a test case.
  3. Each test step should convey an intent.  Do not write steps which are low level that do not convey the business intentOn the login page - Is the wrong way as you are not conveying a specific intent
  4. Login to the application with username "test" and password "1235" - Is the correct way
  1. LoginPage.login(username,password) - Is the correct way because login represents a valid business functionality
  2. LoginPage.enterUsername() - Is the wrong way.  This can be a private convenience method.
원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗