[aerogear-dev] Notes and proposals about APB testing
Adam Saleh
asaleh at redhat.com
Wed Jan 3 04:43:56 EST 2018
Hi all,
because next few days I probably won't have time to drive this, I would
still like to summarize some things I learned by the end of last year, when
I was experimenting with apb-tests.
My findings could be summed up as follows:
- asb team has at least one APB with travis based PR-tests
- https://github.com/ansibleplaybookbundle/mediawiki-apb/
<https://github.com/ansibleplaybookbundle/mediawiki-apb/blob/master/config.yaml>
- https://github.com/ansibleplaybookbundle/mediawiki-apb/blob/master/
config.yaml
- it uses this framework for running the tests
github.com/rthallisey/service-broker-ci/cmd/ci
- APBs do have some limited infrastructure for testing, where you should
be able to run tests with `apb test` command. I think I managed to create a
minimal test for the hello-world apb here: https://github.com/AdamSaleh/
hello-world-apb/tree/test_experiment
<https://github.com/AdamSaleh/hello-world-apb/tree/test_experiment>
- the APB testing documentation, while there is some, can be sketchy and
I had best success with askinf on #asbroker freenode channel directly,
<dymurray>, <shurley> a <rhallisey> were really helpful
I would really like to see some sort of pr-based APB testing setup to be
replicated on our jenkins-wendy.ci.feedhenry.org, but even having at least
some tests would be a great start, as we probably will want to have quite a
number of playbook bundles in our Aerogear github/docker organisations.
Comments about your experiences with APB testing welcome :-)
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20180103/b8867fa6/attachment.html
More information about the aerogear-dev
mailing list