Skip to content

Backport simplified testing from master.#168

Merged
dtognazzini merged 4 commits into1-stablefrom
backPortSimplifiedTesting
May 13, 2016
Merged

Backport simplified testing from master.#168
dtognazzini merged 4 commits into1-stablefrom
backPortSimplifiedTesting

Conversation

@dtognazzini
Copy link
Copy Markdown
Contributor

From #167

Donnie Tognazzini added 4 commits May 12, 2016 17:18
This commit changes the testing combinations to the following:

Unit tests - run against various versions of Capybara and Ruby

Integration tests - run against various versions of Capybara and Rails using
the most recent version of Ruby supported by the version of Rails used.

The many versions of Rails are used to verify the ApplicationRouter logic.
This could be simplified by extracting an ae_page_objects-rails gem (#83), reducing
the integration test suite to use a single Rails version.

(cherry picked from commit f4b9fe9)
(cherry picked from commit f129fe3)
(cherry picked from commit cb06647)
With these changes:

Unit tests run against every version of Capybara _at most once_ and against
both the minimum and maximum Ruby version _at least once_.

Integration tests run against every version of Rails at least once and every
version of Capybara at least once. The version of Ruby used in integration
tests depends on the version of Rails used. In the current state, this means
that the most recent Rails application (4.2) has all of the Capybara version
permutations since the Ruby version supported by the Rails application (2.2.5)
is supported by all the Capybara versions.

(cherry picked from commit d7dbfa8)
@dtognazzini dtognazzini merged commit 4742909 into 1-stable May 13, 2016
@dtognazzini dtognazzini deleted the backPortSimplifiedTesting branch May 13, 2016 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant