summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/core/README38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/lib/oeqa/core/README b/meta/lib/oeqa/core/README
new file mode 100644
index 0000000000..0c859fd788
--- /dev/null
+++ b/meta/lib/oeqa/core/README
@@ -0,0 +1,38 @@
1= OEQA Framework =
2
3== Introduction ==
4
5This is the new OEQA framework the base clases of the framework
6are in this module oeqa/core the subsequent components needs to
7extend this classes.
8
9A new/unique runner was created called oe-test and is under scripts/
10oe-test, this new runner scans over oeqa module searching for test
11components that supports OETestContextExecutor implemented in context
12module (i.e. oeqa/core/context.py).
13
14For execute an example:
15
16$ source oe-init-build-env
17$ oe-test core
18
19For list supported components:
20
21$ oe-test -h
22
23== Create new Test component ==
24
25Usally for add a new Test component the developer needs to extend
26OETestContext/OETestContextExecutor in context.py and OETestCase in
27case.py.
28
29== How to run the testing of the OEQA framework ==
30
31Run all tests:
32
33$ PATH=$PATH:../../ python3 -m unittest discover -s tests
34
35Run some test:
36
37$ cd tests/
38$ ./test_data.py