Commit Graph

7 Commits

Author SHA1 Message Date
Rui Yuan Dou 7fb866af4e Remove testr.conf as it's been replaced by stestr
Change-Id: Ia596789a916b9271933c5b10f00399d83f18d44a
2018-12-20 13:55:51 +08:00
Steve Martinelli 39839def2e move unit tests to new "unit" test module
this will better isolate the unit tests from the functional tests.
unfortunately, the "integration" tests had to be lumped into the
"unit" tests since we need the separation in testr.conf

Change-Id: Ifd12198c1f90e4e3c951c73bfa1884ab300d8ded
2016-09-08 15:19:50 -07:00
TerryHowe 29f29e44d3 Use format options for functional tests
Use the format options for functional tests so we can have more
assertEquals and less assertIn.

Change-Id: I34e6c76b42964f7b596ea35e6b0354a242611cb4
2015-05-17 12:33:39 +00:00
TerryHowe aa7e58cefb Functional tests run in many environments
Have the functional tests running with less customization and
less shell.  This change will allow the functional tests to be
run against any cloud set up in the environment.

Change-Id: I24f621fbace62273e5a0be24e7af9078c0fc8550
2015-04-25 08:42:06 -06:00
Dean Troyer 493339d4da Add Identity v2 project tests
* establish the the form of cliff command classes
* implement some common fake objects
* implement Identity command tests for v2 project
* fix stdout/stderr capture

Also re-work the project create and set commands for exclusive options
(--enable|--disable) to actually behave properly.  Yay tests!

Change-Id: Icbb313db544c1f8dd3c9af7709971838b5a4d115
2013-08-16 14:35:46 -05:00
Monty Taylor 196daf859b Move tests into project package.
There are several reasons for this. One is that the majority of
OpenStack packages behave this way. The second is that it makes writing
software that extends something easier to test (which is a clear usecase
for openstackclient) And third, tests/__init__.py implies a global
package named "tests" - which I'm pretty sure we're not providing.

Change-Id: Ic708ffd92aea78c2ffc1a8579af0587af4fca4ff
2013-06-30 23:30:54 -04:00
Josh Kearney 63c8bb5306 Migrate from nose to testr.
Run tests with testr for parallel execution.

Part of blueprint grizzly-testtools.

Change-Id: I560592186f2f440049a451a32e58067262ab62d0
2013-01-22 12:16:09 -06:00