-
Notifications
You must be signed in to change notification settings - Fork 450
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is probably not where we ultimately want to be. Too much boilerplate is escaping from the bold system. Maybe, before introducing a dependency injection framework, I should just introduce something manual that would instatiate all the instances that the challenge manager, watcher, assertion manager, etc. need and then wires them together in the "default" way using the constructors from each package.
- Loading branch information
Showing
5 changed files
with
82 additions
and
14 deletions.
There are no files selected for viewing
Submodule bold
updated
16 files
+6 −6 | assertions/confirmation.go | |
+120 −98 | assertions/manager.go | |
+136 −149 | assertions/manager_test.go | |
+5 −5 | assertions/poster.go | |
+15 −22 | assertions/poster_test.go | |
+5 −21 | assertions/sync.go | |
+3 −3 | assertions/sync_test.go | |
+3 −1 | challenge-manager/BUILD.bazel | |
+51 −4 | challenge-manager/challenges.go | |
+59 −51 | challenge-manager/manager.go | |
+65 −2 | challenge-manager/manager_test.go | |
+11 −18 | challenge-manager/types/interfaces.go | |
+2 −1 | challenge-manager/types/mode.go | |
+1 −0 | testing/endtoend/BUILD.bazel | |
+37 −7 | testing/endtoend/e2e_test.go | |
+21 −9 | testing/endtoend/helpers_test.go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters