mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
rename unit tests for clarity
This commit is contained in:
parent
8340c3e18b
commit
3df4aa6eac
@ -194,13 +194,13 @@ public class TestNBCLIOptions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void scenarioYaml() {
|
public void defaultScenario() {
|
||||||
NBCLIOptions opts = new NBCLIOptions(new String[]{ "scenario-test" });
|
NBCLIOptions opts = new NBCLIOptions(new String[]{ "scenario-test" });
|
||||||
List<NBCLIOptions.Cmd> cmds = opts.getCommands();
|
List<NBCLIOptions.Cmd> cmds = opts.getCommands();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void scenarioYamlCliArgs() {
|
public void defaultScenarioWithParams() {
|
||||||
NBCLIOptions opts = new NBCLIOptions(new String[]{ "scenario-test", "cycles=100"});
|
NBCLIOptions opts = new NBCLIOptions(new String[]{ "scenario-test", "cycles=100"});
|
||||||
List<NBCLIOptions.Cmd> cmds = opts.getCommands();
|
List<NBCLIOptions.Cmd> cmds = opts.getCommands();
|
||||||
assertThat(cmds.get(0).getCmdSpec()).containsOnlyOnce("cycles=100");
|
assertThat(cmds.get(0).getCmdSpec()).containsOnlyOnce("cycles=100");
|
||||||
@ -208,13 +208,13 @@ public class TestNBCLIOptions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void scenarioYamlFilter() {
|
public void namedScenario() {
|
||||||
NBCLIOptions opts = new NBCLIOptions(new String[]{ "scenario-test", "schema-only"});
|
NBCLIOptions opts = new NBCLIOptions(new String[]{ "scenario-test", "schema-only"});
|
||||||
List<NBCLIOptions.Cmd> cmds = opts.getCommands();
|
List<NBCLIOptions.Cmd> cmds = opts.getCommands();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void scenarioYamlFilterCliArgs() {
|
public void namedScenarioWithParams() {
|
||||||
NBCLIOptions opts = new NBCLIOptions(new String[]{ "scenario-test", "schema-only", "cycles=100"});
|
NBCLIOptions opts = new NBCLIOptions(new String[]{ "scenario-test", "schema-only", "cycles=100"});
|
||||||
List<NBCLIOptions.Cmd> cmds = opts.getCommands();
|
List<NBCLIOptions.Cmd> cmds = opts.getCommands();
|
||||||
assertThat(cmds.get(0).getCmdSpec()).containsOnlyOnce("cycles=100");
|
assertThat(cmds.get(0).getCmdSpec()).containsOnlyOnce("cycles=100");
|
||||||
|
Loading…
Reference in New Issue
Block a user