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

Define intermediate components to be covered by unit tests #14

Closed
Lassal opened this issue Jun 27, 2020 · 2 comments
Closed

Define intermediate components to be covered by unit tests #14

Lassal opened this issue Jun 27, 2020 · 2 comments
Assignees
Labels
Plan Planning tasks

Comments

@Lassal
Copy link
Owner

Lassal commented Jun 27, 2020

List all intermediate components that need to fully covered by Unit Tests.

Use Mockito to create the mocks.

Components to be covered:

  • DBModelSerializer and all its children
  • ParallelSerializer
  • DBVersionCommand
  • ParallelDBVersionCommand
  • JacksonYamlSerializer : ? test all model serialization ?
@Lassal Lassal added the Plan Planning tasks label Jun 27, 2020
@Lassal Lassal added this to the 2020.001 : Schema Versioning milestone Jun 27, 2020
@Lassal Lassal self-assigned this Jun 27, 2020
@Lassal Lassal modified the milestones: 2020.001 : Schema Versioning , Release 0.2 - Alpha 2 Jul 14, 2020
@Lassal
Copy link
Owner Author

Lassal commented Jul 14, 2020

Create unit tests for each object serializer: TableSerializer, ViewSerializer, IndexSerializer, TriggerSerizalizer, and RoutineSerializer.

Mock all dependencies for database using Mockito.

Lassal added a commit that referenced this issue Jul 26, 2020
…ow is tested using a mocked DBModelSerializer. It relates to issue #14
@Lassal
Copy link
Owner Author

Lassal commented Jul 27, 2020

We have covered the main component tests in the referenced tasks, the YAML serialization and deserialization were covered in the serializer tests and in the DBModelFS integration tests.

@Lassal Lassal closed this as completed Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Plan Planning tasks
Projects
None yet
Development

No branches or pull requests

1 participant