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

Refactoring existing unit tests into parametrized tests #7700

Merged
merged 14 commits into from
Jun 7, 2021
Merged

Refactoring existing unit tests into parametrized tests #7700

merged 14 commits into from
Jun 7, 2021

Conversation

nasdas-dev
Copy link
Contributor

This pull request contributes to issue #6207, which is to add more unit tests or improve existing ones.

Tests refactored:

DoiStripTest
DefaultTest (ParamLayoutFormatter)
ToUpperCaseTest
IfPluralTest
HTMLParagraphsTest
EntryTypeFormatterTest
AuthorOrgSciTest
AuthorNatBibTest
AuthorFirstLastCommasTest

  • Change in CHANGELOG.md described in a way that is understandable for the average user (if applicable)
  • Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • Screenshots added in PR description (for UI changes)
  • Checked documentation: Is the information available and up to date? If not created an issue at https://github.com/JabRef/user-documentation/issues or, even better, submitted a pull request to the documentation repository.

@koppor koppor added the status: changes required Pull requests that are not yet complete label May 6, 2021
@calixtus calixtus self-assigned this May 24, 2021
koppor and others added 3 commits June 7, 2021 22:32
Co-authored-by: Carl Christian Snethlage <50491877+calixtus@users.noreply.github.com>
Co-authored-by: Carl Christian Snethlage <50491877+calixtus@users.noreply.github.com>
@koppor koppor removed the status: changes required Pull requests that are not yet complete label Jun 7, 2021
@calixtus calixtus merged commit 2497ba4 into JabRef:main Jun 7, 2021
@calixtus
Copy link
Member

calixtus commented Jun 7, 2021

Thanks for your contribution, we took the liberty to finish it ourselves.

Siedlerchr added a commit that referenced this pull request Jun 8, 2021
* upstream/main:
  Refactoring existing unit tests into parametrized tests (#7700)
  Replace <p> in localization by \n (#7279)
  Bump byte-buddy-parent from 1.11.0 to 1.11.1 (#7800)
  Bump org.javamodularity.moduleplugin from 1.8.6 to 1.8.7 (#7799)
  Bump mockito-core from 3.10.0 to 3.11.0 (#7801)
  Bump classgraph from 4.8.106 to 4.8.108 (#7802)
  Update .markdownlint.yml
  Ignore slant.co links
  GitBook: [main] 3 pages and 17 assets modified
  GitBook: [main] one page modified
  GitBook: [main] one page modified
  GitBook: [main] 6 pages and 42 assets modified

# Conflicts:
#	build.gradle
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.

4 participants