Skip to content
This repository was archived by the owner on Mar 17, 2020. It is now read-only.

Conversation

pritalpatel
Copy link
Contributor

@pritalpatel pritalpatel commented Aug 20, 2016

This PR is as a part of preparation to send in Joomla CMS for proof reading of PR description and review readme files

Summary of Changes

The Joomla! User, Content and Category features doesn't have acceptance testing suits to test exactly like end user.

This Pull Request contains the Acceptance Testing suits of Behaviour Driven Development (BDD) using: Gherkin language, Codeception Testing Framework and Selenium tool for User Manager, Content Manager and Category Manager backend and frontend scenarios.

In this Pull Request you will find *.feature files which are main files contains scenarios written in Gherkin language for User, Content and Category views.

  • Login into Joomla! Administrator tests/codeception/acceptance/administratorlogin.feature
  • Category Manager tests/codeception/acceptance/category.feature
  • Content Manager tests/codeception/acceptance/content.feature
  • User Manager tests/codeception/acceptance/users.feature
  • Create User from Frontend and verify details in backend tests/codeception/acceptance/users_frontend.feature

For Example: content.feature

gsoc16-content-gherkin-feature

Below are screenshots of Travis Log contains Gherkin and Codeception acceptance suits log. I have shown only content feature here in screen dumps. More can be find in this Pull Request travis log or you may find it from my project's travis log here.

gsoc16-content-acceptance-log

Documentation

Documentation of how to create, test and execute Gherkin and Codeception scenarios can be found here in Joomla! Docs. Also brief documentation can be found in README.md from tests/codeception/ folder. This README.md file will be available at here once this PR get merged.

Testing Instructions

Not needed manually as Travis will automatically test this PR. If you want to test locally then you should follow documentation given above.

Documentation Changes Required

Added documentation for newly written Gherkin and Codeception in their own folder tests/codeception/README.md file.

Demostration

Here is a video presentation for tests which this PR contains.

gsoc16-gherkin-youtube-video

@javigomez javigomez mentioned this pull request Aug 26, 2016
@javigomez
Copy link
Contributor

@pritalpatel please update this pull with current staging that is already up to date with current Joomla-cms:staging.

Thanks

@pritalpatel
Copy link
Contributor Author

I have resolved conflict here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants