- 18 6月, 2015 1 次提交
-
-
由 Lukáš Doktor 提交于
The runTest method has been obsoleted and everyone should be using "test*" method(s) instead. This patch removes the support and replaces the default and example entry points to "test". Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 09 6月, 2015 1 次提交
-
-
由 Cleber Rosa 提交于
Only avocado.Test is of general interest to test writers. For that reason the entire test module has been moved to the avocado.core namespace. The recommended way to go about writing instrumented tests is something like: from avocado import Test class MyTest(Test): def test_foo(self): do_stuff() Changes from v2: * Fixed references in docstrings * Fixed refrences of avocado.test in Writing Test Guide docs Changes from v1: * Fixed comment typo on commit message * Fixed old reference of avocado.test (then test.Test) instead of avocado then Test in GDB docs. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 16 5月, 2015 1 次提交
-
-
由 Lukáš Doktor 提交于
This patch modifies all example tests to use the new API. It uses the default path, which is `*`, which matches the mux-entry paths ONLY. In order to get the values it's necessarily to inject the YAML files into the mux-entry path, by default `/test`, eg: avocado run sleeptest -m /test:examples/tests/sleeptest.py.data/ sleeptest.yaml It might seen as a bit more complicated to execute, but it's definitely easier for maintaining and combining existing YAML files. To execute matrix of tests you simply inject them into 2 different `/test` children, eg: `-m /test/by_length:lengths.yaml /test/by_method:methods.yaml`. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 24 4月, 2015 2 次提交
-
-
由 Rudá Moura 提交于
Export avocado.core.job.main as avocado.main, so that make it look like an API for test developers to use. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Move avocado.job to avocado.core.job, in conformance to our purpose of keeping things not related to test developers, inside avocado.core, isolated from users. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
- 08 4月, 2015 1 次提交
-
-
由 Lukáš Doktor 提交于
We decided to use params.get(key, default) rather than flat dictionary in test header. This way should be easier to read to code without the need to look up and also use different defaults for different namespaces (or even code branches). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 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>
-
- 23 2月, 2015 1 次提交
-
-
由 Cleber Rosa 提交于
This simply updates fiotest to use the latest release of fio. Signed-off-by: NCleber Rosa <crosa@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 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>
-
- 14 7月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Make the names used consistent between attributes and methods inside the Test class. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 12 6月, 2014 1 次提交
-
-
由 Rudá Moura 提交于
Preserve file permissions when extracting data from tarballs, so in some tests we have we don't need to set permissions too. Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
- 31 5月, 2014 1 次提交
-
-
由 Rudá Moura 提交于
Add new test "fiotest" based on Autotest fio test. Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
- 15 5月, 2014 2 次提交
-
-
由 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>
-
- 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>
-
- 21 3月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 12 3月, 2014 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
synctest is a simple test wrapper for the synctest test suite. It's an example of suite compilation and execution. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-