On 5 Nov 2015 02:35, "jh" <hwh...@gmail.com> wrote:
>
> I'm sure others are struggling with this, and I can't find much discussion for strategies.
>
> Basically we're looking to build up a meta cucumber suite:
> Top level meta cucumber instance for delegating to other cucumber instances
> Cucumber instances will be on different servers and can be any language (ruby, java, scala, etc)
Can't say I've heard anything like this before, but it looks like a solution rather than a problem statement, and I can't understand what is the issue you are trying to solve. Can you be more specific?
> Teams build up their cucumber suite independently
Yep
> Possibly provide top level features for top level meta tests ?
> Meta tests can/will cut across instances to test lots of services
What are "top level features" and "top level meta tests"?
Do you mean that you have the same feature implemented by multiple products? The Cucumber TCK is an example of this.
> Test results are aggregated at the top level (it is a simple cucumber run)
> I'm sure we could write gherkin that evaluates to http calls at other nodes, and possibly some kind of rest wrapper around a cucumber instance for running features and collecting results.
It looks like an over-engineered solution and it will prevent developers from running their test suite in local as part of the build...
> Why not just build up a massive, single instance, in a single language cucumber suite? exactly.
...that brings up the question: what is wrong with CI servers that run those tests?
Paolo
- teams have developed cucumber tests for their domain (service) and they run in jenkins
- teams each have chosen diff language implementation for cucumber like ruby, java, and scala
- goal is to build cross-service tests but to leverage some of each team's existing gherkins
The problem is how to build CI/CD smoke tests that touch all the services (each service is complex with difficult test setup/scaffolds and each team can iterate/change at their own rate) and can utilize the knowledge/existing tests of the teams in aggregate. There's some pushing to require java-uber-alles for cucumber as the solution but that's lame for today.
There's also an element of release management / qa team(s) wanting to develop special tests in order to release with their own level of confidence.
Granted I've only just noticed the cucumber wire protocol stuff and it looks promising but not so much supported.
Each team can provide simple gherkin statements but they need to run on their own test implementations that are not the same language/env, ideally their own step definitions with all the configuration scaffold et al ..