| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fixed transcript testing issues | Todd Leonhardt | 2017-04-26 | 1 | -0/+1 |
| | | | | | | | Transcript testing no longer creates an unnecessary 2nd instance of the class derived from cmd2.Cmd. This dramatically simplifies transcript testing for derived classes which have required parameters during construction. As a side effect the, feedback_to_output attribute now defaults to false. This had some minor ripple effects on various unit tests. | ||||
| * | Added example of using a regular expression in a transcript test. | Todd Leonhardt | 2017-03-16 | 1 | -0/+26 |
| | | | | | Also added a unit test for this feature. | ||||
| * | Mostly fix a bunch of spelling mistakes. | Todd Leonhardt | 2017-03-13 | 1 | -0/+1 |
| | | | | | A few other miscellaneous minor tweaks for whitespace and such. | ||||
| * | Fixed a typo and added a unit test. | Todd Leonhardt | 2017-02-10 | 1 | -0/+7 |
| | | |||||
| * | Experiment with different modes of parsing command-line arguments for option ↵ | Todd Leonhardt | 2017-02-06 | 1 | -1/+1 |
| | | | | | | | | | commands. This is an experiment with usin non-POSIX parsing of the command line with shlex before passing it to the optparse OptionParser. The posix vs non-posix setitng primarily effects how quotes and escape characters are dealt with. I'm experimenting with various options to see what may feel the most natural for the majority of end users. | ||||
| * | Documented undocumented commands and removed command aliases. | Todd Leonhardt | 2017-02-05 | 1 | -7/+2 |
| | | | | | | | | | The out-of-the-box help menu now looks a lot cleaner: - All redundant command aliases have been removed (NOTE: They can still be used if self.abbrev is True, which is the default) - All previously undocumented commands have been documented - Unit tests and README.rst documentation has been updated to reflect new behavior | ||||
| * | Use older form of invoking super class ctor for Py2/3 compatibility. | Todd Leonhardt | 2017-02-05 | 1 | -1/+2 |
| | | |||||
| * | Fixed flaw in unit tests so they can be reliably parallelized. | Todd Leonhardt | 2017-02-05 | 1 | -9/+6 |
| | | | | | | | | | Fixed a bug which made parallelizing the unit tests with pytest-xdist unreliable. The unit tests can now be run in parallel using pytest-xdist for a dramatic speedup on multicore machines. To do this use: py.test -n4 (where 4 is the number of cores you wish to parallelize across) | ||||
| * | Added a couple more unit tests. | Todd Leonhardt | 2017-02-05 | 1 | -0/+26 |
| | | | | | | One for transcript testing with multi-line commands and commments at the beginning. Another for cmdloop testing with use_rawinput = False | ||||
| * | Added unit test for doing transcript testing within the cmdloop. | Todd Leonhardt | 2017-02-05 | 1 | -2/+31 |
| | | |||||
| * | Added unit test for the interactive form of do_py(). | Todd Leonhardt | 2017-02-05 | 1 | -1/+1 |
| | | |||||
| * | Fixed how the six.moves.input function is imported and used. | Todd Leonhardt | 2017-02-05 | 1 | -2/+31 |
| | | | | | Also added a unit test for the cmd2.Cmd.select() method. | ||||
| * | Added unit test for passing command line arguments at invocation | Todd Leonhardt | 2017-02-04 | 1 | -0/+12 |
| | | |||||
| * | Added more and better unit tests for load and save commands | Todd Leonhardt | 2017-02-04 | 1 | -10/+11 |
| | | |||||
| * | Added another unit test and a test fixture associated with it. | Todd Leonhardt | 2017-02-03 | 1 | -2/+25 |
| | | | | | This was specifically for testing parsing of options with quotes provided to support embedded spaces | ||||
| * | Fixed optparse parsing of arguments so it works correctly both with embedded ↵ | Todd Leonhardt | 2017-02-03 | 1 | -1/+7 |
| | | | | | quotes and mid-line options. | ||||
| * | Fixed a couple unit tests which were failing on Python 2.7 | Todd Leonhardt | 2017-01-30 | 1 | -2/+3 |
| | | |||||
| * | Added unit test of comment-stripping functionality | Todd Leonhardt | 2017-01-29 | 1 | -3/+12 |
| | | |||||
| * | Added a couple simple unit tests for optparser functionality | Todd Leonhardt | 2017-01-29 | 1 | -0/+33 |
| | | |||||
| * | Added a 2nd way of unit testing transcript tests which covers some ↵ | Todd Leonhardt | 2017-01-29 | 1 | -6/+12 |
| | | | | | additional code. | ||||
| * | Fix the unit test for testing a transcript | Todd Leonhardt | 2017-01-23 | 1 | -34/+2 |
| | | |||||
| * | Whitespace change to be mostly PEP8 compliant | Todd Leonhardt | 2016-12-09 | 1 | -2/+2 |
| | | |||||
| * | First stage of refactoring to support full simultaneous Python 2 and 3 ↵ | Todd Leonhardt | 2016-12-09 | 1 | -0/+1 |
| | | | | | compatibility via use of the six module. | ||||
| * | Add unit tests | Federico Ceratto | 2016-02-23 | 1 | -0/+167 |
