Skip to content

[Core] Merge cucumber-html into cucumber-core #1650

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

Merged
merged 3 commits into from
Jun 4, 2019
Merged

[Core] Merge cucumber-html into cucumber-core #1650

merged 3 commits into from
Jun 4, 2019

Conversation

grasshopper7
Copy link
Contributor

@grasshopper7 grasshopper7 commented Jun 4, 2019

Summary

Copied HtmlFormatter resources from cucumber-html to cucumber-core.

Fixes: #1647

Details

  1. Copied resources from cucumber/formatter in cucumber-html into io/cucumber/formatter/html in cucumber-core.
  2. Changed resource paths in HTMLFormater.
  3. Removed cucumber-html dependency from cucumber-core pom.xml.
  4. Added /some directory in gitignore to allow report.js to be tracked.

Motivation and Context

Refer issue

How Has This Been Tested?

Passes existing test in HTMLFormatterTest, no additional functionality added.

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).

Checklist:

  • I've added tests for my code.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 85.609% when pulling 7002b10 on grasshopper7:remove-cucumber-html into 73bbe3d on cucumber:master.

@@ -14,9 +14,10 @@ target/
tmp/
gen-external-apklibs/
out/
some/
Copy link
Contributor

Choose a reason for hiding this comment

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

We should really figure out who creates this directory.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

HTMLFormatterTest is the culprit.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'll make a seperate PR to fix that.

@mpkorstanje mpkorstanje changed the title Copied HtmlFormatter resources from cucumber-html [Core] Merge cucumber-html into cucumber-core Jun 4, 2019
.gitignore Outdated

# Build & test droppings
report.js
# report.js
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# report.js

@@ -14,9 +14,10 @@ target/
tmp/
gen-external-apklibs/
out/
some/
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
some/

@mpkorstanje
Copy link
Contributor

@grasshopper7 could you rebase your branch on master? I've made sure that the tests will write their files to the target folder now. So the changes to .gitignore aren't needed anymore.

@mpkorstanje
Copy link
Contributor

Owh cool I can do that online too.

@mpkorstanje mpkorstanje merged commit bfc84df into cucumber:master Jun 4, 2019
@mpkorstanje mpkorstanje modified the milestones: 5.0.0, 4.x.x Jul 31, 2019
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.

Merge cucumber-html into cucumber-core
4 participants