Skip to content

Replace TestNG with JUnit + Rules#143

Merged
codefromthecrypt merged 1 commit intomasterfrom
adrian.log4j-n-rulz
Jan 25, 2015
Merged

Replace TestNG with JUnit + Rules#143
codefromthecrypt merged 1 commit intomasterfrom
adrian.log4j-n-rulz

Conversation

@codefromthecrypt
Copy link
Copy Markdown
Contributor

JUnit Rules, such as MockWebServerRule, reduce boilerplate setup present
in our tests. By migrating off TestNG, and onto rules, our tests become
more maintainable as JUnit is well understood.

Note:

Once this is in, I plan to eliminate a large amount of clutter by using assertj as opposed to assertX methods. I will also make a couple custom ones (like RequestTemplate, which is often the source of hard-to-read assertions). After this, I'll rebase my de-dagger pull request.

JUnit Rules, such as MockWebServerRule, reduce boilerplate setup present
in our tests. By migrating off TestNG, and onto rules, our tests become
more maintainable as JUnit is well understood.
@cloudbees-pull-request-builder
Copy link
Copy Markdown

NetflixOSS » feign » feign-pull-requests #11 SUCCESS
This pull request looks good

@codefromthecrypt
Copy link
Copy Markdown
Contributor Author

note. this didn't affect any main source files, so I plan to merge it after dinner. review-after-commit is welcome if anyone feels the urge.

codefromthecrypt pushed a commit that referenced this pull request Jan 25, 2015
Replace TestNG with JUnit + Rules
@codefromthecrypt codefromthecrypt merged commit a862fe6 into master Jan 25, 2015
@codefromthecrypt codefromthecrypt deleted the adrian.log4j-n-rulz branch January 25, 2015 04:29
@codefromthecrypt codefromthecrypt added this to the 7.1.0 milestone Jan 26, 2015
velo pushed a commit that referenced this pull request Oct 8, 2024
Replace TestNG with JUnit + Rules
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.

2 participants