Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Break up factories #5073

Merged
merged 13 commits into from
Jun 9, 2018
Merged

Break up factories #5073

merged 13 commits into from
Jun 9, 2018

Conversation

brianrodri
Copy link
Contributor

The subclass factories in ExplorationPropertiesService were all grouped together since they shared so much code. However, this made finding them more difficult to find, and would result in enormous test files in our pursuit for higher coverage. Splitting them up will give us more flexibility and cleaner tests.

@codecov-io
Copy link

codecov-io commented Jun 9, 2018

Codecov Report

Merging #5073 into develop will not change coverage.
The diff coverage is 39.27%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #5073   +/-   ##
========================================
  Coverage    45.17%   45.17%           
========================================
  Files          397      408   +11     
  Lines        23794    23794           
  Branches      3848     3848           
========================================
  Hits         10748    10748           
  Misses       13046    13046
Impacted Files Coverage Δ
...s/exploration_editor/ExplorationPropertyService.js 66.66% <ø> (+23.76%) ⬆️
.../exploration_editor/ExplorationObjectiveService.js 10% <10%> (ø)
...ploration_editor/ExplorationParamChangesService.js 100% <100%> (ø)
...ages/exploration_editor/ExplorationTitleService.js 100% <100%> (ø)
...loration_editor/ExplorationInitStateNameService.js 100% <100%> (ø)
...s/exploration_editor/ExplorationCategoryService.js 12.5% <12.5%> (ø)
...exploration_editor/ExplorationParamSpecsService.js 20% <20%> (ø)
...ges/exploration_editor/ExplorationStatesService.js 46.11% <46.11%> (ø)
...ploration_editor/ExplorationLanguageCodeService.js 6.66% <6.66%> (ø)
...pages/exploration_editor/ExplorationTagsService.js 6.66% <6.66%> (ø)
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b7519a3...91d5795. Read the comment docs.

Copy link
Member

@seanlip seanlip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@seanlip seanlip merged commit 09499e1 into oppia:develop Jun 9, 2018
hoangviet1993 pushed a commit to hoangviet1993/oppia that referenced this pull request Jun 20, 2018
* Move ExplorationStatesService into its own file.

* Split ExplorationCorrectnessFeedbackService into its own file.

* Move ExplorationAutomaticTextToSpeechService into its own file.

* Move ExplorationParamChangesServiceinto its own file.

* Move ExplorationParamSpecsService into its own file.

* Move ExplorationTagsService into its own file.

* Move ExplorationInitStateNameService into its own file.

* Move ExplorationLanguageCodeService into its own file.

* Move ExplorationObjectiveService into its own file.

* Move ExplorationCategoryService into its own file.

* Remove ExplorationCategoryService from ExplorationPropertyService.

* Move ExplorationTitleService into its own file.

* Add references to new services
@brianrodri brianrodri deleted the break-up-factories branch December 10, 2020 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants