Skip to content

Conversation

@mandryllo
Copy link
Collaborator

This PR is the third one in order to resolve #70 and it will represent type tests and default db integration tests

@mandryllo mandryllo added the enhancement New feature or request label Dec 8, 2025
@mandryllo mandryllo added 🚧 Work in progress Don't merge Do not merge this PR and removed 🚧 Work in progress Don't merge Do not merge this PR labels Dec 16, 2025
Base automatically changed from feat/db-v2-builder to master December 16, 2025 17:03
@mandryllo mandryllo changed the title feat: DB v2 tests feat: DB v2 test default db Dec 16, 2025
);
assert.strictEqual(
instance.engineVersion,
'17.2',
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we could export defaults and assert those values directly here like we did for example in redis tests?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't like to use config for the thing I'm testing 🤔
@droguljic do you have an opinion on this?

Copy link
Contributor

Choose a reason for hiding this comment

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

I wouldn't do as suggested, as it is not considered a good practice, and it can give false negatives. Just keep it as is.

Comment on lines 35 to 38
after(() => automation.destroy(programArgs));

describe('Default database', () => testDefaultDb(ctx));
after(() => cleanupSnapshots(ctx));
Copy link
Member

Choose a reason for hiding this comment

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

Could we move both of these inside one after hook?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate Database to v2

4 participants