You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/test-strategy/testing-strategy.md
+29-1Lines changed: 29 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,35 @@ These are marked as integration tests since neither of them execute on a singula
108
108
Every method should have a unit test, as it's a straight forward project to run TDD on. However as with most prototypes this is probably not the case, and thus it is necessary to determine which parts of the system are still exploratory.
109
109
Writing a lot of unit tests for existing methods, which are still being restructured is a waste of productivity.
110
110
111
-
Good examples of unit tests would be this method in []()
111
+
Good examples of unit tests would be this method in [plugin_test.go](https://github.com/Praqma/git-phlow/blob/master/plugins/plugin_test.go)
112
+
113
+
```
114
+
Describe("Branch name from issue", func() {
115
+
testsToRun := [7]testCase{
116
+
{issue: 12, branchName: "work on iss", expected: "12-work-on-iss", casedesc: "Test replaces whitespaces with dash '-'"},
0 commit comments