Open jstrachan opened 7 years ago
James - can you assign this issue to me? Thx!
done! I can give you a hand on how to migrate that test over to the new forge API & wizards if you like
fwiw I've started putting a little REST / Java client for testing forge/obsidian/generator commands here: https://github.com/fabric8io/forge-service-client
Hoping to have a project wizard test case soon...
ideally we'd have 2 kinds of system test:
Which then creates a project using each of the quickstarts/wizard options and then asserts that
Upstream on the fabric8 project we used a slightly different distro of forge + forge addons and have these system tests here: https://github.com/fabric8io/fabric8-forge/tree/master/fabric8-forge-rest-client
we just need to migrate them to
The code to do asserts on builds completing and whatnot should be similar; though we could just use the OpenShift APIs for all that now via the
OpenShiftClient
checking the project is created - via theBuildConfig
and that theBuild
starts and completes OK and tails the log etc.