Support #4058

Create unittests for top-level kamaki.cli.* functions

Added by Stavros Sachtouris over 8 years ago. Updated almost 8 years ago.

Status:New Start date:06/25/2013
Priority:Medium Due date:08/31/2013
Assignee:Stavros Sachtouris % Done:

50%

Category:kamaki Spent time: 57.00 hours
Target version:v0.13 Estimated time:80.00 hours

Description

Unit-test everything under kamaki/cli/ .

Unit-testing the kamaki.cli.* functions may result in redefinitions, renamings and code simplifications.


Related issues

blocked by ./kamaki - Feature #4292: Parametrize commands output and make it flexible Closed 09/10/2013 09/25/2013

Associated revisions

Revision 2fde8651
Added by Stavros Sachtouris about 8 years ago

Setup unittest for CLI and apply to commant_tree

Refs: #4058

Only a init and name methods are tested for now

Revision 9a22e094
Added by Stavros Sachtouris about 8 years ago

Implement all unittests for command_tree.Command

Refs: #4058

Revision 0962adb7
Added by Stavros Sachtouris about 8 years ago

Setup test example commands for CommandTree

Refs: #4058

Revision d252a7a8
Added by Stavros Sachtouris about 8 years ago

Fully test CommandTree

Refs: #4058

Revision 5286e2c3
Added by Stavros Sachtouris about 8 years ago

Initialize unittests for argument.Argument

Refs: #4058

Also, make argument package a directory

Revision f17d6cb5
Added by Stavros Sachtouris about 8 years ago

Fully test argument.Argument

Refs: #4058

Revision a7aacf12
Added by Stavros Sachtouris about 8 years ago

Complete ConfigArgument testing

Refs: #4058

Revision c89d5f34
Added by Stavros Sachtouris about 8 years ago

Mock calls to kamaki.cli.config.Config methods

Refs: #4058

Revision 1bd4f765
Added by Stavros Sachtouris about 8 years ago

Initialize RuntimeConfigArgument unittests

Refs: #4058

Revision 34c480f2
Added by Stavros Sachtouris about 8 years ago

Fully test RuntimeConfigArgument

Refs: #4058

Revision 3a5b1ceb
Added by Stavros Sachtouris about 8 years ago

Test FlagArgument and ValueArgument

Refs: #4058

Revision 02987e9c
Added by Stavros Sachtouris about 8 years ago

Test IntArgument

Refs: #4058

Revision b7ff6e0c
Added by Stavros Sachtouris about 8 years ago

Test DateArgument

Refs: #4058

Revision 8d427cb9
Added by Stavros Sachtouris about 8 years ago

Test Version and KeyValue Arguments

Refs: #4058

Revision c0fbf04c
Added by Stavros Sachtouris about 8 years ago

Test ProgressBarArgument

Refs: #4058

Revision 631b7c35
Added by Stavros Sachtouris about 8 years ago

Test ArgumentParseManager upto update_parser

Refs: #4058

Revision f52b39db
Added by Stavros Sachtouris about 8 years ago

Allow non-None empty default values in Args

Refs: #4058

Revision b57eaeb0
Added by Stavros Sachtouris about 8 years ago

Test ArgumentParseManager.update_arguments

Refs: #4058

Missing test: ArgumentParseManager.parse

Revision 98093aac
Added by Stavros Sachtouris about 8 years ago

Complete unittests for kamaki.cli.history class

Refs: #4058

Revision d9dbae6d
Added by Stavros Sachtouris about 8 years ago

Update Changelog for kamaki.cli unittests

Refs: #4058

Revision 4769da6b
Added by Stavros Sachtouris about 8 years ago

Add unittests for kamaki.cli.logger

Refs: #4058

Revision d7a0a8f4
Added by Stavros Sachtouris about 8 years ago

Update Changelog for logger unittests

Refs: #4058

Revision cdeadadc
Added by Stavros Sachtouris about 8 years ago

Initialize tests for kamaki.cli.utils

Refs: #4058

Revision 0f383dcc
Added by Stavros Sachtouris about 8 years ago

Unittest print_dict + print_list

Refs: #4058

Revision 46d130c9
Added by Stavros Sachtouris about 8 years ago

Test kamaki.cli.utils up to print_items

Refs: #4058

Revision 23963422
Added by Stavros Sachtouris about 8 years ago

Complete cli.utils unittests

Refs: #4058

Revision 023cb1d3
Added by Stavros Sachtouris about 8 years ago

Update Changelog for utils unittests

Refs: #4058

Revision f10cef01
Added by Stavros Sachtouris about 8 years ago

Test All cli.errors error classes

Refs: #4058

Revision cfebddb5
Added by Stavros Sachtouris about 8 years ago

Add the raiseCLIError method under unit tests

Refs: #4058

Revision c95418af
Added by Stavros Sachtouris about 8 years ago

Update Changelog about cli.errors tests

Refs: #4058

Revision 9f5cbafe
Added by Stavros Sachtouris about 8 years ago

Initialize a config package (new dir) with tests

Refs: #4058

Revision f767b407
Added by Stavros Sachtouris about 8 years ago

Unittest kamaki.cli.Config.__init__

Refs: #4058

Revision c5997814
Added by Stavros Sachtouris about 8 years ago

Implement tests for _cloud_name, _rescue_old_file

Refs: #4058

Revision 3564be49
Added by Stavros Sachtouris about 8 years ago

Test get/set_cloud/global

Refs: #4058

Revision 2e616dbd
Added by Stavros Sachtouris about 8 years ago

Implement all methods up to reload

Refs: #4058

Revision 8556d269
Added by Stavros Sachtouris about 8 years ago

Complete unittests for kamaki.cli.config

Refs: #4058

Revision 12be2bd2
Added by Stavros Sachtouris about 8 years ago

Update Changelog for config unittests

Refs: #4058

History

#1 Updated by Stavros Sachtouris about 8 years ago

  • Estimated time changed from 20.00 to 80.00

#2 Updated by Stavros Sachtouris about 8 years ago

  • % Done changed from 0 to 10

#3 Updated by Stavros Sachtouris about 8 years ago

  • % Done changed from 10 to 20

#4 Updated by Stavros Sachtouris about 8 years ago

  • Due date changed from 07/17/2013 to 08/31/2013
  • % Done changed from 20 to 30

#5 Updated by Stavros Sachtouris about 8 years ago

  • % Done changed from 30 to 40

#6 Updated by Stavros Sachtouris about 8 years ago

  • Target version changed from v0.10 to v0.11

#7 Updated by Stavros Sachtouris about 8 years ago

  • % Done changed from 40 to 50

#8 Updated by Stavros Sachtouris almost 8 years ago

  • Target version changed from v0.11 to v0.12

#9 Updated by Stavros Sachtouris almost 8 years ago

  • Target version changed from v0.12 to v0.13

Also available in: Atom PDF