Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Make DeclarationGeneratorTest junit4 parametirized test. #903

Merged
merged 1 commit into from
Aug 9, 2019

Conversation

nbeloglazov
Copy link
Contributor

It allows to easily rerun single test in IDE.

Copy link
Contributor

@rkirov rkirov left a comment

Choose a reason for hiding this comment

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

Looks good but can you add some text to "https://github.com/angular/clutz/blob/master/DEVELOPER.md"
about your claim that this allows to "easily rerun single test in IDE." I am not an expert in Java development, and we have a lot of JS/TS contributors that would benefit.

I think most people use intellij these days, so ok to only describe that (if that was your intent).

@nbeloglazov
Copy link
Contributor Author

Done. Updated DEVELOPER.md and also migrated TypeScriptGeneratorTest and TypeScriptGeneratorMultiTest to parameterized tests.

@nbeloglazov
Copy link
Contributor Author

@rkirov could you take a look?

Copy link
Contributor

@rkirov rkirov left a comment

Choose a reason for hiding this comment

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

Please add in the commit message that the .java files were simple renamed. Github UI shows them as delete + add, but I think you simply renamed them from Tests -> Test.

It allows to easily rerun single test in IDE.

TypeScriptGeneratorMultiTests.java renamed to TypeScriptGeneratorMultiTest.java
TypeScriptGeneratorTests.java renamed to TypeScriptGeneratorTest.java
for some reason git failed to detect it
@nbeloglazov
Copy link
Contributor Author

Done. Updated commit message.

@rkirov rkirov merged commit 826a23d into angular:master Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants