From cfef76734baf01b30b3f61bab0fcf686360a5190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Signe=20Kirk=20Br=C3=B8db=C3=A6k?= Date: Tue, 17 Dec 2024 12:35:29 +0100 Subject: [PATCH] fix: :hammer: update test snippet to given, when, then Since we have moved away from AAA. --- .vscode/python.code-snippets | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.vscode/python.code-snippets b/.vscode/python.code-snippets index 0b74d75..0a557e9 100644 --- a/.vscode/python.code-snippets +++ b/.vscode/python.code-snippets @@ -13,20 +13,19 @@ // "description": "Log output to console" // } "Insert a Python test": { - "prefix": "test-aaa", + "prefix": "test-gwt", "body": [ "def test_$1():", - " # Arrange", - " $2", - " ", - " # Act", - " $3", - " ", - " # Assert", - " $4", + " # Given", + " $2", + " ", + " # When", + " $3", + " ", + " # Then", + " $4", "", ], - "description": "Create AAA test" + "description": "Create Given-When-Then test" } - }