Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bump version from 0.6 to 0.7 (and update NEWS)
Browse files Browse the repository at this point in the history
  • Loading branch information
aiiie committed Feb 24, 2016
1 parent d4beef2 commit 3e0e28b
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 11 deletions.
38 changes: 38 additions & 0 deletions NEWS.rst
Expand Up @@ -2,6 +2,44 @@
News
======

Version 0.7 (Feb. 24, 2016)
---------------------------

* Added the ``-d``/``--debug`` flag that disables diffing of
expected/actual output and instead passes through script output to
``stdout``/``stderr``.

* Added the ``--shell-opts`` flag for specifying flags to invoke the
shell with. By setting ``--shell-opts='-x'`` and ``--debug``
together, this can be used to see shell commands as they're run and
their output in real time which can be useful for debugging slow or
hanging tests.

* Added xUnit XML output support (for better integration of test
results with Bamboo and other continuous integration tools).

* Added support for using (esc) on expected out lines that aren't
automatically escaped in actual output.

* Added the ``$TESTSHELL`` environment variable. This allows a test to
portably check what shell it was invoked with.

* Added an error message for when no tests are found in a directory.

* Changed ``Makefile`` to install into ``/usr/local`` by default.

* Simplified the ``Makefile``'s targets. The targets available now are
``all``, ``build``, ``check``/``test``, ``clean``, ``dist``,
``install``, and ``quicktest`` (for running the test suite without
checking test coverage).

* Fixed non-ASCII strings not being escaped with ``(esc)`` on Python 3.

* Fixed a crash on tests that don't have a trailing newline.

* Fixed a crash when using ``set -x`` with zsh.


Version 0.6 (Aug. 1, 2013)
--------------------------

Expand Down
10 changes: 5 additions & 5 deletions README.rst
Expand Up @@ -83,19 +83,19 @@ The format in a nutshell:
Download
--------

* cram-0.6.tar.gz_ (24 KB, requires Python 2.4-2.7 or Python 3.1 or newer)
* cram-0.7.tar.gz_ (32 KB, requires Python 2.4-2.7 or Python 3.1 or newer)

.. _cram-0.6.tar.gz: https://bitheap.org/cram/cram-0.6.tar.gz
.. _cram-0.7.tar.gz: https://bitheap.org/cram/cram-0.7.tar.gz


Installation
------------

Install Cram using make::

$ wget https://bitheap.org/cram/cram-0.6.tar.gz
$ tar zxvf cram-0.6.tar.gz
$ cd cram-0.6
$ wget https://bitheap.org/cram/cram-0.7.tar.gz
$ tar zxvf cram-0.7.tar.gz
$ cd cram-0.7
$ make install


Expand Down
4 changes: 2 additions & 2 deletions cram/_main.py
Expand Up @@ -123,9 +123,9 @@ def main(args):
"""
opts, paths, getusage = _parseopts(args)
if opts.version:
sys.stdout.write("""Cram CLI testing framework (version 0.6)
sys.stdout.write("""Cram CLI testing framework (version 0.7)
Copyright (C) 2010-2015 Brodie Rao <brodie@bitheap.org> and others
Copyright (C) 2010-2016 Brodie Rao <brodie@bitheap.org> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
""")
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -36,13 +36,13 @@ def long_description():
],
cmdclass=COMMANDS,
description='A simple testing framework for command line applications',
download_url='https://bitheap.org/cram/cram-0.6.tar.gz',
download_url='https://bitheap.org/cram/cram-0.7.tar.gz',
keywords='automatic functional test framework',
license='GNU GPL',
long_description=long_description(),
name='cram',
packages=['cram'],
scripts=['scripts/cram'],
url='https://bitheap.org/cram/',
version='0.6',
version='0.7',
)
4 changes: 2 additions & 2 deletions tests/usage.t
Expand Up @@ -23,9 +23,9 @@ Usage:
--indent=NUM number of spaces to use for indentation (default: 2)
--xunit-file=PATH path to write xUnit XML output
$ cram -V
Cram CLI testing framework (version 0.6)
Cram CLI testing framework (version 0.7)
Copyright (C) 2010-2015 Brodie Rao <brodie@bitheap.org> and others
Copyright (C) 2010-2016 Brodie Rao <brodie@bitheap.org> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ cram
Expand Down

0 comments on commit 3e0e28b

Please sign in to comment.