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

Add test plan for QUARKUS-190: Vertx - sql #8

Merged
merged 1 commit into from
Jan 26, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions QUARKUS-167.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Quarkus-190 - Testing and verifying Quarkus/Vertx SQL

The goal of this test plan is to cover the main points of conflicts between Quarkus/Vertx and SQL databases.

JIRA link: https://issues.redhat.com/browse/QUARKUS-190


## Scope of the testing
Following actions were taken to ensure test coverage and automation for vertx/sql applications:
- Setup databases and load initial data through Flyway
- Programmatic insert statements
- Select statements
- Transactional statements between several tables
- Tested databases: PostgreSQL, MariaDB, optionally MySQL and DB2

### Impact on testsuites and testing automation:
- Ensure this coverage works both in JVM and NATIVE mode
- Integration tests covered by beefy-scenarios testsuite
- OpenShift integration tests with PosgreSQL.

### Impact on resources:
pjgg marked this conversation as resolved.
Show resolved Hide resolved
- MySQL (183.6 MiB - 343.5 MiB)
- PostgreSQL (12.9 MiB)
- DB2 (115.7Mb)

The main impact on resources is in time. Deploy DB2 from scratch takes around 5 min.

## Getting familiar with the feature
Following actions were taken to ensure familiarity:
- Focus on exploratory testing of the features

## Automated test development

- [Quarkus/vertx - sql scenario](https://github.com/quarkus-qe/beefy-scenarios/pull/71): A flight search engine in order to test Quarkus Reactive SQL extensions.End user-facing website allows customers to compare flight prices of different airlines based on various business rules. The end phase is to book the flight in a transactional way.

## Advanced topics for test development
The following advanced topics are listed for future consideration.
- Improve coverage related to delete and update statements.
- Improve db connections pool management coverage.