Closed girardinsamuel closed 3 years ago
Fixes #192 Fixes https://github.com/MasoniteFramework/masonite/issues/456 This PR adds back:
captureOutput()
python craft test MyAppTest will create:
python craft test MyAppTest
from masonite.tests import TestCase class MyAppTest(TestCase): def setUp(self): super().setUp() def test_something(self): self.assertTrue(True)
in tests/unit/test_my_app.py
tests/unit/test_my_app.py
Directory can be changed with python craft test MyFeatureTest --directory tests/features
python craft test MyFeatureTest --directory tests/features
Fixes #192 Fixes https://github.com/MasoniteFramework/masonite/issues/456 This PR adds back:
captureOutput()
helper in testpython craft test MyAppTest
will create:in
tests/unit/test_my_app.py
Directory can be changed with
python craft test MyFeatureTest --directory tests/features