<div dir="ltr"><div><div>Hi all,<br><br></div>because next few days I probably won&#39;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.<br><br></div>My findings could be summed up as follows:<br><ul><li>asb team has at least one APB with travis based PR-tests</li><ul><li><span class="gmail-m_-3174221136121218505gmail-"> <a href="https://github.com/ansibleplaybookbundle/mediawiki-apb/blob/master/config.yaml" target="_blank">https://github.com/<wbr>ansibleplaybookbundle/<wbr>mediawiki-apb/</a></span></li><li><span class="gmail-m_-3174221136121218505gmail-"><span class="gmail-"><span class="gmail-m_-3174221136121218505gmail-"> <a href="https://github.com/ansibleplaybookbundle/mediawiki-apb/blob/master/config.yaml" target="_blank">https://github.com/<wbr>ansibleplaybookbundle/<wbr>mediawiki-apb/blob/master/<wbr>config.yaml</a></span></span></span></li><li><span class="gmail-m_-3174221136121218505gmail-"><span class="gmail-"><span class="gmail-m_-3174221136121218505gmail-">it uses this framework for running the tests</span></span></span><br><span class="gmail-m_-3174221136121218505gmail-"><span class="gmail-"><span class="gmail-m_-3174221136121218505gmail-"><span class="gmail-m_-3174221136121218505gmail-"> <a href="http://github.com/rthallisey/service-broker-ci/cmd/ci" target="_blank">github.com/rthallisey/service-<wbr>broker-ci/cmd/ci</a></span></span></span></span></li></ul><li><span class="gmail-m_-3174221136121218505gmail-"><span class="gmail-"><span class="gmail-m_-3174221136121218505gmail-"><span class="gmail-m_-3174221136121218505gmail-">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: </span></span></span></span><span class="gmail-m_-3174221136121218505gmail-"><span class="gmail-"><span class="gmail-m_-3174221136121218505gmail-"><span class="gmail-m_-3174221136121218505gmail-"><span class="gmail-m_-3174221136121218505gmail-"> <a href="https://github.com/AdamSaleh/hello-world-apb/tree/test_experiment" target="_blank">https://github.com/AdamSaleh/<wbr>hello-world-apb/tree/test_<wbr>experiment</a></span></span></span></span></span></li><li><span class="gmail-m_-3174221136121218505gmail-"><span class="gmail-"><span class="gmail-m_-3174221136121218505gmail-"><span class="gmail-m_-3174221136121218505gmail-"><span class="gmail-m_-3174221136121218505gmail-">the APB testing documentation, while there is some, can be sketchy and I had best success with askinf on #asbroker freenode channel directly, </span></span></span></span></span><br><span class="gmail-m_-3174221136121218505gmail-"><span class="gmail-"><span class="gmail-m_-3174221136121218505gmail-"><span class="gmail-m_-3174221136121218505gmail-"><span class="gmail-m_-3174221136121218505gmail-"><span class="gmail-m_-3174221136121218505gmail-">&lt;dymurray&gt;, &lt;shurley&gt; a &lt;rhallisey&gt; were really helpful</span></span></span></span></span></span></li></ul><p>I would really like to see some sort of pr-based APB testing setup to be replicated on our <a href="http://jenkins-wendy.ci.feedhenry.org">jenkins-wendy.ci.feedhenry.org</a>, 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.</p><p>Comments about your experiences with APB testing welcome :-)</p><p>Adam</p></div>