Skip to content

Conversation

@wadcom
Copy link

@wadcom wadcom commented Feb 11, 2014

No description provided.

Factored out the first check from all_test_/0. That tests that startup
parameters passed to mcd_cluster:start_link/2 are honored. Therefore:

 • Made the test explicit; it is now a separate tests.

 • Nonessential details (such as result of the start/stop calls) are not
 checked, since if they fail the test will fail anyways.

 • Factored out mcd_node/1 to hide nonessential details (how the node is
 specified). All we test is that the node id is visible after startup,
 so it's left there.
Factored out the first check from all_test_/0. It tests that startup
parameters passed to mcd_cluster:start_link/2 are honored. Therefore:

 • Made the check explicit; it is now a separate tests.

 • Nonessential details (such as result of the start/stop calls) are not
 checked, since if they fail the test will fail anyways.

 • Factored out mcd_node/1 to hide nonessential details (how the node is
 specified). All we test is that the node id is visible after startup,
 so it's left there.
check_using_startup_args_test -> using_startup_args_test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants