projectatomic / adb-tests

placeholder for tests for the adb while its long term place to live is sorted out
GNU General Public License v2.0
7 stars 19 forks source link

openshift sanity test cases using oc (openshift cli) #39

Closed amitkrout closed 8 years ago

amitkrout commented 8 years ago

Registry used : python, ruby, perl and nodejs Template used : php and nodejs+mongodb

Steps evaluated :

  1. login to openshift server
  2. New project creation
  3. Application deployment
  4. Routing
  5. Pod status
  6. project delete
  7. logout from openshift server
amitkrout commented 8 years ago

yes, as we passing args from config.yaml, so it requirs a lot of yaml effort to make this changes.

optak commented 8 years ago

There is too much configuration needed for this test, could it be simplified? I think part of it could be hardcoded into test case, for example ose project name and example app url.

optak commented 8 years ago

I miss README.md content for openshift library. In case of methods for tests: test_*_project(), it would be better to read if you would create general function and call it with different arguments (like url with app - no need to configure this in config.yaml I think)

optak commented 8 years ago

General note to library: can these methods encaplsulate also output of commands and return something more simple to use, like boolean or string?

optak commented 8 years ago

Hi Amit, I have 2 issues with merge:

praveenkumar commented 8 years ago

@amitkrout Can you please rebase with master and resolve merge conflict?

amitkrout commented 8 years ago

@optak @praveenkumar Created a new PR https://github.com/projectatomic/adb-tests/pull/49 for the same. So i am closing it.