Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

API tests run in GitHub actions whenever a smoke or regression test is executed.

To run API tests against Bahmni LITE manually use command gauge run specs --tags "api" --env dev.lite

Why API Tests?

Our UI test suite for Bahmni is composed of end-to-end tests, which means it doesn't cover all the application flows. To ensure complete coverage without increasing test execution time, we introduced API tests. Currently, we have enabled the test framework to include API tests and have covered a few modules, such as login and registration. In the future, we plan to cover other modules as well and increase the API test coverage.

Scenarios covered under API tests

...