This repository was archived by the owner on Mar 17, 2020. It is now read-only.
Google Summer of Code 2016 Browser Automated Tests for Users and Content features #69
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.tests/codeception/acceptance/administratorlogin.feature
tests/codeception/acceptance/category.feature
tests/codeception/acceptance/content.feature
tests/codeception/acceptance/users.feature
tests/codeception/acceptance/users_frontend.feature
For Example:
content.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.
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.