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
* @todo #449:30min Extract class for building settings in YAML format.
* Building of settings YAML for usage in tests occurs more the once.
* It is used to build setting in `ArtipieServer`
* and in `YamlSettingsTest` to create settings examples in unit tests.
* Some examples in `YamlSettingsTest` are just string constants.
* It would be nice to extract a class for building settings in YAML format
* for usage in all these places.
The puzzle was created by Oleg Mozzhechkov on 20-Aug-20.
Estimate: 30 minutes, role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.
The text was updated successfully, but these errors were encountered:
I do not think refactoring from this todo is actually required: as there are basically only two places in test code where artipie.yaml is created - `ArtipieServer` and test for settings `YamlSettingsTest`. `YamlSettingsTest` has a lot of different variants of artipie.yaml (to test that in all cases settings are read correctly) and for test it's ok (and even better in my opinion) to have all these variants as string stabs.
Close: #470
The puzzle
449-3e9e55ee
from #449 has to be resolved:artipie/src/test/java/com/artipie/ArtipieServer.java
Lines 83 to 89 in 5966489
The puzzle was created by Oleg Mozzhechkov on 20-Aug-20.
Estimate: 30 minutes, role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.
The text was updated successfully, but these errors were encountered: