mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Test added for PY-15869
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
__author__ = 'Ilya.Kazakevich'
|
||||
from unittest import TestCase
|
||||
|
||||
class UTests(TestCase):
|
||||
def testByPattern(self):
|
||||
pass
|
||||
|
||||
def testByPattern2(self):
|
||||
pass
|
||||
@@ -0,0 +1,9 @@
|
||||
__author__ = 'Ilya.Kazakevich'
|
||||
from unittest import TestCase
|
||||
|
||||
class UTests(TestCase):
|
||||
def testByPattern(self):
|
||||
self.assertTrue(False)
|
||||
|
||||
def testByPattern2(self):
|
||||
self.assertTrue(False)
|
||||
@@ -32,6 +32,21 @@ public class PythonUnitTestingTest extends PyEnvTestCase{
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensures pattern is supported
|
||||
*/
|
||||
public void testUTRunnerByPattern() {
|
||||
runPythonTest(new PyUnitTestTask("/testRunner/env/unit", "_args_separator_*pattern.py") {
|
||||
|
||||
@Override
|
||||
public void after() {
|
||||
assertEquals(4, allTestsCount());
|
||||
assertEquals(2, passedTestsCount());
|
||||
assertEquals(2, failedTestsCount());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void testClass() {
|
||||
runPythonTest(new PyUnitTestTask("/testRunner/env/unit", "test_file.py::GoodTest") {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user