1. 18 6月, 2015 1 次提交
  2. 09 6月, 2015 1 次提交
    • C
      API review: move avocado.test to avocado.core.test and expose avocado.Test · 08810698
      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>
      08810698
  3. 16 5月, 2015 1 次提交
    • L
      examples.tests: Adjust tests to use new params API · 8e2ddf58
      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>
      8e2ddf58
  4. 24 4月, 2015 2 次提交
  5. 08 4月, 2015 1 次提交
  6. 07 4月, 2015 1 次提交
  7. 23 2月, 2015 1 次提交
  8. 22 1月, 2015 1 次提交
  9. 28 11月, 2014 1 次提交
  10. 12 9月, 2014 1 次提交
    • L
      avocado: Move tests to example/tests · c04cbf42
      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>
      c04cbf42
  11. 29 7月, 2014 1 次提交
    • L
      tests: Flatten tests directory · 3cfe0a19
      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>
      3cfe0a19
  12. 14 7月, 2014 1 次提交
  13. 12 6月, 2014 1 次提交
  14. 31 5月, 2014 1 次提交
  15. 15 5月, 2014 2 次提交
  16. 25 4月, 2014 1 次提交
  17. 23 4月, 2014 1 次提交
  18. 10 4月, 2014 1 次提交
  19. 26 3月, 2014 1 次提交
  20. 21 3月, 2014 1 次提交
  21. 12 3月, 2014 2 次提交