Project

Profile

Help

Task #6970

Divide test for unit and integration https://github.com/OSLL/mdbci/blob/integration/spec/unit/6821_show_box_config_node_spec.rb

Added by Mark Zaslavskiy about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
mdbci testing
Sprint/Milestone:
Start date:
14.04.2016
Due date:
% Done:

100%

Estimated time:
1:00 h
Target branch:
Test scenario:

# Generate some config:
./mdbci --template confs/docker_lite.json generate SOME_DIR

# Run unit tests (all tests must pass 4 examples, 0 failures):
pathToConfigNode=SOME_DIR/node0 pathToConfig=SOME_DIR rspec spec/unit/6821_show_box_config_node_spec.rb

# Run integration tests (all tests must pass 4 examples, 0 failures):
pathToConfigNode=SOME_DIR/node0 pathToConfig=SOME_DIR rspec spec/integration/6970_show_box_config_node_exit_code_spec.rb

History

#1 Updated by Mark Zaslavskiy almost 5 years ago

  • Sprint/Milestone changed from 0.83 to 0.9

#2 Updated by Mark Zaslavskiy almost 5 years ago

  • Assignee changed from Mark Zaslavskiy to Ilfat Kinyaev

#3 Updated by Ilfat Kinyaev almost 5 years ago

  • Estimated time set to 1:00 h

#4 Updated by Ilfat Kinyaev almost 5 years ago

  • Status changed from New to Active / In progress

#5 Updated by Ilfat Kinyaev almost 5 years ago

show box command uses for one node. This not work:
./mdbci show box SOME_DIR

But this works:
./mdbci show box SOME_DIR/node0

#6 Updated by Ilfat Kinyaev almost 5 years ago

  • Test scenario updated (diff)

#8 Updated by Ilfat Kinyaev almost 5 years ago

  • Status changed from Active / In progress to New

#9 Updated by Ilfat Kinyaev almost 5 years ago

  • Status changed from New to Review
  • Assignee changed from Ilfat Kinyaev to Mark Zaslavskiy

#10 Updated by Mark Zaslavskiy almost 5 years ago

  • Status changed from Review to Closed

Also available in: Atom PDF