File tree Expand file tree Collapse file tree 7 files changed +43
-5
lines changed Expand file tree Collapse file tree 7 files changed +43
-5
lines changed File renamed without changes.
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ export PYTHONPATH=` pwd`
4
+
5
+ coverage run \
6
+ --branch \
7
+ --source ./contextshell \
8
+ -m unittest \
9
+ discover \
10
+ --pattern ' *Tests.py' \
11
+ --start-directory ./ \
12
+ ./tests/functional
13
+ TESTS_PASSED=$?
14
+
15
+ if [[ $TESTS_PASSED -eq 0 ]];
16
+ then
17
+ coverage report -m
18
+ fi
19
+
Original file line number Diff line number Diff line change 1
1
from contextshell .NodePath import NodePath
2
2
from contextshell .TreeRoot import TreeRoot
3
- from functional .TestExecutor import script_test
4
- from functional .ShellTestsBase import NodeTreeTestsBase
3
+ from tests . functional .TestExecutor import script_test
4
+ from tests . functional .ShellTestsBase import NodeTreeTestsBase
5
5
import unittest
6
6
7
7
Original file line number Diff line number Diff line change 1
1
from contextshell .NodeTreeRoot import NodeTreeRoot
2
2
from contextshell .NodePath import NodePath
3
- from functional .ShellTestsBase import NodeTreeTestsBase
3
+ from tests . functional .ShellTestsBase import NodeTreeTestsBase
4
4
from tests .functional .TestExecutor import script_test
5
5
import unittest
6
6
Original file line number Diff line number Diff line change 1
1
import unittest
2
2
from contextshell .NodeTreeRoot import NodeTreeRoot
3
3
from contextshell .NodePath import NodePath
4
- from functional .ShellTestsBase import NodeTreeTestsBase
4
+ from tests . functional .ShellTestsBase import NodeTreeTestsBase
5
5
from tests .functional .TestExecutor import script_test
6
6
7
7
Original file line number Diff line number Diff line change 1
1
import unittest
2
2
from contextshell .NodeTreeRoot import NodeTreeRoot
3
3
from contextshell .NodePath import NodePath
4
- from functional .ShellTestsBase import NodeTreeTestsBase
4
+ from tests . functional .ShellTestsBase import NodeTreeTestsBase
5
5
from tests .functional .TestExecutor import script_test
6
6
7
7
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ export PYTHONPATH=` pwd`
4
+
5
+ coverage run \
6
+ --branch \
7
+ --source ./contextshell \
8
+ -m unittest \
9
+ discover \
10
+ --pattern ' *Tests.py' \
11
+ --start-directory ./ \
12
+ ./tests/unit
13
+ TESTS_PASSED=$?
14
+
15
+ if [[ $TESTS_PASSED -eq 0 ]];
16
+ then
17
+ coverage report -m
18
+ fi
19
+
You can’t perform that action at this time.
0 commit comments