- 07 4月, 2015 1 次提交
-
-
由 Rudá Moura 提交于
We're going one step ahead to unittest compatibility. Now we obsolete action() method and use runTest(). Then what is runTest() will be run(). Update the selftests and tests regarding this modification. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
- 22 1月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Now that we don't enforce a silly correspondence test module name -> class name, we can call our test classes whatever we want as long as it inherits from avocado.test.Test. Let's then rename our tests to something more CamelCase. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 28 11月, 2014 1 次提交
-
-
由 Rudá Moura 提交于
Remove the license text from files inside docs, examples and selftest, to keep the license text only in relevant parts of the project. References: * https://fedoraproject.org/wiki/Packaging:LicensingGuidelines * https://www.gnu.org/licenses/gpl-howto.htmlSigned-off-by: NRudá Moura <rmoura@redhat.com>
-
- 12 9月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
We have tests/ and selftests/ in avocado (the test runner). The former includes examples of tests that make use of the avocado API, and are also used to test avocado via CI. This is confusing, as it doesn't make it clear to users that tests are not part of the avocado framework. Since we have a directory called examples with some other files (multiplexer, plugins), move the tests to there (and keep using them in the CI). Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 29 8月, 2014 1 次提交
-
-
由 Cleber Rosa 提交于
The check_progress() idea is too simplistic for what we aim for, so let's remove it to prevent test writers from depending on it. Also, rename communicate_state() to report_state(). Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 21 8月, 2014 2 次提交
-
-
由 Cleber Rosa 提交于
Which doesn't hold any logic, but serves as an example. To watch the intended behavior in action, I recommend running the "one_hundred_cycles" variant of this tests. The test runner will show that the test is running (yellow throbber spinning), and once each six seconds (+1% into the test run) a green throbber will be shown. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Including number of sleep cycles, sleep cycle length and finally the sleep method, either using the python time.sleep() or running the shell "sleep" command. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 29 7月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
We want avocado tests to not require specific directories, the user should be able to arrange them in the dir structure they see fit. Also, if a test requires data, we suppose their data dir is located in the same directory as the source file, with the name: [modulename].data Re arrange the test dir to reflect this new structure. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 07 7月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Sleep for 600 seconds, to see how avocado behaves under such circumstances. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 15 5月, 2014 4 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Instead of using self.params.set_default() manually for each default value, allow test writers to set a default_params attribute with default params, and set them at test class init time. This way we keep things even shorter, while allowing avocado tests to be used stand alone. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Tell the multiplex config file we're using floats as the sleep_length value. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Modify sleeptest to pick any params from self.params. Also, introduce a sample multiplex file, sleeptest.mplx, an example of how to write a multiplex file to fulfill matrix defining goals. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 25 4月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 23 4月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
I went through all python files in avocado code, and some changes were made: * Files entirely written by the current avocado dev team were changed to be GPL v2+ * Files with a significant portion of code derived from autotest remain GPL v2 strict, and original authorship was re-established Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 10 4月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 26 3月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Introduce the job.main() entry point in all avocado test modules. This way all of them can be executed. The functionality depends on having avocado installed system wide, though. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 12 3月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Separate loggers for the entry points and utilities/tests. Make the former log to the console, and the latter, to the log files. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 07 3月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-