Support #4058
Create unittests for top-level kamaki.cli.* functions
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
Associated revisions
Setup unittest for CLI and apply to commant_tree
Refs: #4058
Only a init and name methods are tested for now
Implement all unittests for command_tree.Command
Refs: #4058
Setup test example commands for CommandTree
Refs: #4058
Fully test CommandTree
Refs: #4058
Fully test argument.Argument
Refs: #4058
Complete ConfigArgument testing
Refs: #4058
Mock calls to kamaki.cli.config.Config methods
Refs: #4058
Initialize RuntimeConfigArgument unittests
Refs: #4058
Fully test RuntimeConfigArgument
Refs: #4058
Test FlagArgument and ValueArgument
Refs: #4058
Test IntArgument
Refs: #4058
Test DateArgument
Refs: #4058
Test Version and KeyValue Arguments
Refs: #4058
Test ProgressBarArgument
Refs: #4058
Test ArgumentParseManager upto update_parser
Refs: #4058
Allow non-None empty default values in Args
Refs: #4058
Complete unittests for kamaki.cli.history class
Refs: #4058
Update Changelog for kamaki.cli unittests
Refs: #4058
Add unittests for kamaki.cli.logger
Refs: #4058
Update Changelog for logger unittests
Refs: #4058
Initialize tests for kamaki.cli.utils
Refs: #4058
Unittest print_dict + print_list
Refs: #4058
Test kamaki.cli.utils up to print_items
Refs: #4058
Complete cli.utils unittests
Refs: #4058
Update Changelog for utils unittests
Refs: #4058
Test All cli.errors error classes
Refs: #4058
Add the raiseCLIError method under unit tests
Refs: #4058
Update Changelog about cli.errors tests
Refs: #4058
Initialize a config package (new dir) with tests
Refs: #4058
Unittest kamaki.cli.Config.__init__
Refs: #4058
Implement tests for _cloud_name, _rescue_old_file
Refs: #4058
Test get/set_cloud/global
Refs: #4058
Implement all methods up to reload
Refs: #4058
Complete unittests for kamaki.cli.config
Refs: #4058
Update Changelog for config unittests
Refs: #4058
History
#1 Updated by Stavros Sachtouris almost 10 years ago
- Estimated time changed from 20.00 to 80.00
#2 Updated by Stavros Sachtouris almost 10 years ago
- % Done changed from 0 to 10
#3 Updated by Stavros Sachtouris almost 10 years ago
- % Done changed from 10 to 20
#4 Updated by Stavros Sachtouris almost 10 years ago
- Due date changed from 07/17/2013 to 08/31/2013
- % Done changed from 20 to 30
#5 Updated by Stavros Sachtouris almost 10 years ago
- % Done changed from 30 to 40
#6 Updated by Stavros Sachtouris almost 10 years ago
- Target version changed from v0.10 to v0.11
#7 Updated by Stavros Sachtouris over 9 years ago
- % Done changed from 40 to 50
#8 Updated by Stavros Sachtouris over 9 years ago
- Target version changed from v0.11 to v0.12
#9 Updated by Stavros Sachtouris over 9 years ago
- Target version changed from v0.12 to v0.13