Skip to content

Conversation

@nfelt
Copy link
Contributor

@nfelt nfelt commented Apr 16, 2021

This re-enables the test cases that were previously under CorePluginTestBase, which wasn't actually being executed - it used to be a common base class in between two subclasses that actually were tf.test.TestCase instances, but these subclasses were removed in #3539 without converting the parent class into a TestCase in its own right.

In addition, I've refactored the test cases to consolidate most of them into a single CorePluginTest class for simplicity, since they have a lot of common functionality and IMO they were just making it harder to understand where to add a new test method. See individual commits for each consolidation step that was made.

@nfelt nfelt requested a review from stephanwlee April 16, 2021 00:20
@google-cla google-cla bot added the cla: yes label Apr 16, 2021
@nfelt nfelt merged commit bf22c49 into tensorflow:master Apr 16, 2021
@nfelt nfelt deleted the nfelt-core-plugin-test branch April 16, 2021 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants