Project

Profile

Help

Task #7111

Tests for def self.showKeyFile(name)

Added by Ilfat Kinyaev over 4 years ago. Updated about 4 years ago.

Status:
Duplicated
Priority:
Normal
Category:
mdbci testing
Sprint/Milestone:
Start date:
23.06.2016
Due date:
% Done:

0%

Estimated time:
1:00 h
Target branch:
https://github.com/OSLL/mdbci/tree/7107_refactor_def_self.showKeyFile
Test scenario:

https://dev.osll.ru/issues/7111#note-3


Description

Tests to def self.showKeyFile(name) if core/network.rb
1) Generate mdbci confs
2) Test with (NOTE: first param = directory to confs, second = node name):
- nil second parametr and empty mdbci nodes
- nil second parametr
- wrong second parametr
3) Generate some not mdbci confs (test cmd)
4) Test with:
- nil\wrong first arg
- nil\wrong second arg


Related issues

Related to [mdbci] Maria DB Continuous integration tool - Task #7107: Refactor def self.showKeyFile(name)Closed23.06.2016

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Ilfat Kinyaev over 4 years ago

  • Related to Task #7107: Refactor def self.showKeyFile(name) added

#2 Updated by Mark Zaslavskiy over 4 years ago

  • Assignee changed from Alexander Kaluzhny to Ilfat Kinyaev

#3 Updated by Ilfat Kinyaev about 4 years ago

  • Status changed from New to Review
  • Assignee changed from Ilfat Kinyaev to Mark Zaslavskiy
  • Estimated time set to 1:00 h

Do this task or it not revelant?
Same test presented in https://github.com/OSLL/mdbci/blob/integration/spec/unit/7107_show_keyfile_spec.rb .
Or these test must generate confs by himself?
If it revelant: modify spec/unit/7107_show_keyfile_spec.rb or create new test?

#4 Updated by Ilfat Kinyaev about 4 years ago

  • Test scenario updated (diff)

#5 Updated by Mark Zaslavskiy about 4 years ago

  • Status changed from Review to Duplicated

Also available in: Atom PDF