test_testing.py (removed)¶
Last source¶
(No source code)
Changes¶
tests: Remove pure testing tests¶
- Commit
- Hash
- 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
- 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
- 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