- 24 4月, 2014 8 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
plugins.xunit: Add class XmlResult.
-
由 Rudá Moura 提交于
Improvements for using xUnit with Jenkins (Junit). Now the actual XML result is handled in class XmlResult. Also minor fix (cosmetics) in tests.failtest. Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Experiment - make avocado base Test() class inherit from unittest.TestCase()
-
由 Lucas Meneghel Rodrigues 提交于
HTML documentation theme and README.rst improvements
-
由 Lucas Meneghel Rodrigues 提交于
Also, add instructions to build the docs for offline viewing. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 23 4月, 2014 11 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
It is useful to build avocado docs locally and have them look mostly identical to the reference documentation, hosted in read the docs. The theme can be installed using pip with: pip install sphinx_rtd_theme And if not present, the build should gracefully degrade to the sphinx default. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
In order to keep the behavior of dropin tests, reintroduce the param name to the Test() constructor, that'll allow us to have pretty names for them once again. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Make avocado.test.Test() to be compatible with unittest.TestCase(), by making it take the methodName param, that will be largely for the sake of compatibility. With this, we can run avocado tests with unittest.main() and nosetests just fine: $ nosetests tests/sleeptest/sleeptest.py . ---------------------------------------------------------------------- Ran 1 test in 1.096s OK $ nosetests tests/failtest/failtest.py E ====================================================================== ERROR: Run test method, for compatibility with unittest.TestCase. ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/lmr/Code/avocado/avocado/test.py", line 180, in runTest self.action() File "/home/lmr/Code/avocado/tests/failtest/failtest.py", line 33, in action raise exceptions.TestFail('This test is supposed to fail') TestFail: This test is supposed to fail ---------------------------------------------------------------------- Ran 1 test in 0.088s FAILED (errors=1) In order to do this, the code in runTest was split to an unhandled method, to be used by nosetests and the unittest runner, and another one, to be used inside avocado (run_avocado). Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Make sure avocado tests can be loaded as unittests. This patch accomplishes it by reducing the amount of optional parameters accepted by the class. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Compatibility among avocado and regular python unittests is one of the goals we want to accomplish with making test cases inherit from the base python unittest TestCase class. Also, we get the benefit of interoperating with other known python test frameworks, such as nose. In order to do that, we make the Test() class to inherit from the base TestCase class, then move the _run_test_instance method to the test class (as it makes a lot more sense there anyway), and turn it into the default runTest() method. With this, avocado tests gain automatically all features of the unittest.TestCase() class, namely, the assert methods. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
avocado: Fix mistakes in copyright headers
-
由 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>
-
由 Lucas Meneghel Rodrigues 提交于
docs: Use proper avocado version string upon build
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 22 4月, 2014 3 次提交
-
-
由 Rudá Moura 提交于
avocado.job: Make Job.run() to return a status code
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Make the run() method in the Job class to return a status int. Take the opportunity and create a core status library, that contains a mapping between status words to booleans, that contain a cut and dry answer to 'this operation passed or failed?' question. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 18 4月, 2014 4 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Api docs
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 17 4月, 2014 14 次提交
-
-
由 Rudá Moura 提交于
Test result refactory
-
由 Rudá Moura 提交于
Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Split example plugins
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
The lister plugin is useful, as it allows people to see present, active/inactive plugins. So split it from the examples area. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
avocado.plugins.manager: Make loading plugins robust.
-
由 Rudá Moura 提交于
Make loading plugins robust (ignore and log errors when loading). Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Travis2
-
由 Lucas Meneghel Rodrigues 提交于
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-