test_testing.py (removed)

Info

Parent directory

/

Last update

Deleted — 2019-06-03 15:50:46 +0200

Last source

(No source code)

Changes

tests: Remove pure testing tests

Commit
Hash

3fcf835fa084ce949b1daad4290365f7b74c70e3

Date

2019-06-03 15:50:46 +0200

Type

Deleted

Stats

+0 -24

@@ -1,24 +0,0 @@
-"""Test file to check testing tools"""
-
-from pytest_bdd import given, parsers, scenario, then
-
-
-def test_passing():
-    """A test that must pass"""
-
-    assert 1 == 1
-
-
-@scenario("test_testing.feature", "A bdd test must pass")
-def test_bdd():
-    pass
-
-
-@given("a bdd test")
-def a_bdd_test():
-    return "a bdd test"
-
-
-@then("it must pass")
-def it_must_pass(a_bdd_test):
-    assert a_bdd_test == "a bdd test"

tests(bdd): Enbrace behavior driven development

Commit
Hash

c3d850c1fe495dd31e2277f670cc90e823e0b593

Date

2019-06-03 13:55:01 +0200

Type

Modified

Stats

+17 -0

@@ -1,7 +1,24 @@
 """Test file to check testing tools"""

+from pytest_bdd import given, parsers, scenario, then
+

 def test_passing():
     """A test that must pass"""

     assert 1 == 1
+
+
+@scenario("test_testing.feature", "A bdd test must pass")
+def test_bdd():
+    pass
+
+
+@given("a bdd test")
+def a_bdd_test():
+    return "a bdd test"
+
+
+@then("it must pass")
+def it_must_pass(a_bdd_test):
+    assert a_bdd_test == "a bdd test"

tests: Setup testing tools with pytest

Commit
Hash

2342faaf808c9d6c1baf00f4558e9bde62bfee3c

Date

2019-05-27 17:14:11 +0200

Type

Added

Stats

+7 -0

@@ -0,0 +1,7 @@
+"""Test file to check testing tools"""
+
+
+def test_passing():
+    """A test that must pass"""
+
+    assert 1 == 1