Skip to content

Commit a179547

Browse files
authored
Less opinionated wording (#917)
I shorted the text to be less opinionated. I disagreed to the previous text: the ORM is a tool like any other tool. If it helps you, then use it. The only reason not to use it, is that it might slow your tests down.
1 parent 11db342 commit a179547

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/database.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ Database creation/re-use
55
access. By default your tests will fail if they try to access the
66
database. Only if you explicitly request database access will this be
77
allowed. This encourages you to keep database-needing tests to a
8-
minimum which is a best practice since next-to-no business logic
9-
should be requiring the database. Moreover it makes it very clear
10-
what code uses the database and catches any mistakes.
8+
minimum which makes it very clear what code uses the database.
119

1210
Enabling database access in tests
1311
---------------------------------

0 commit comments

Comments
 (0)