JanusGraph / JanusGraph/janusgraph

Split large tests into multiple smaller tests

Open
#1,015 0 comments 0 reactions 0 assignees View on GitHub
area/testing kind/cleanup
Dominant language
Java
Stars
5.8k
Forks
1.2k
Avg merge
13h 53m
Merged PRs (30d)
6

Description

If large tests fail, it can be complicated to find the origin of the issue.

For example `JanusGraphTest.testSchemaTypes`: This test contains tests for multiple different types: Float, String, Object, ... .
Further, this tests also contains:
* valid schema creation tests
* invalid schema creation tests
* valid insertion tests
* invalid insertion tests

Contributor guide

Open the contributing guide

Research direction

Locate JanusGraphTest and inspect testSchemaTypes, which currently covers multiple schema types and valid or invalid schema creation and insertion. Split the coverage into smaller independent tests, then run the relevant JanusGraph tests and confirm failures identify a specific type or operation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing-qa
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.